New package: qtikz

Closes: #7107 [via git-merge-pr]
This commit is contained in:
Piraty 2017-04-04 23:56:16 +02:00 committed by Duncaen
parent f97f26b2f4
commit 0762650de8
2 changed files with 26 additions and 0 deletions

View File

@ -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);

15
srcpkgs/qtikz/template Normal file
View File

@ -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 <piraty1@inbox.ru>"
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