diff --git a/srcpkgs/qtikz/patches/arm-typeConversion.patch b/srcpkgs/qtikz/patches/arm-typeConversion.patch new file mode 100644 index 00000000000..33331acdd50 --- /dev/null +++ b/srcpkgs/qtikz/patches/arm-typeConversion.patch @@ -0,0 +1,11 @@ +--- app/tikzeditor.cpp ++++ app/tikzeditor.cpp +@@ -319,7 +319,7 @@ + + QPen backupPen(painter.pen()); + QPen tabulatorsPen(m_tabulatorsColor); +- tabulatorsPen.setWidthF(qMax(qreal(0.5), spaceWidth * .1)); ++ tabulatorsPen.setWidthF(qMax(qreal(0.5), qreal(spaceWidth * .1))); + tabulatorsPen.setCapStyle(Qt::RoundCap); + tabulatorsPen.setJoinStyle(Qt::RoundJoin); + QPen whiteSpacesPen(m_whiteSpacesColor); diff --git a/srcpkgs/qtikz/template b/srcpkgs/qtikz/template new file mode 100644 index 00000000000..64bd675a3e7 --- /dev/null +++ b/srcpkgs/qtikz/template @@ -0,0 +1,15 @@ +# Template file for 'qtikz' +pkgname=qtikz +version=0.0.20161122 +revision=1 +_githash="be66c8b1ff7e6b791b65af65e83c4926f307cf5a" +wrksrc=ktikz-${_githash} +build_style=qmake +hostmakedepends="qt-qmake pkg-config qt-plugin-sqlite qt-devel" +makedepends="poppler-qt4-devel qt-devel" +short_desc="Editor for graphics set in TikZ" +maintainer="Piraty " +license="GPL-2" +homepage="http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language/" +distfiles="https://github.com/fhackenberger/ktikz/archive/${_githash}.tar.gz" +checksum=48715746c91e7010bb4eaf23e1fd668a7b7916155d66028da9d13a9d63468bcf