void-packages/srcpkgs/qtikz/template

21 lines
680 B
Bash

# Template file for 'qtikz'
pkgname=qtikz
version=0.12
revision=2
wrksrc=ktikz-${version}
build_style=qmake
hostmakedepends="qt5-qmake pkg-config qt5-plugin-sqlite qt5-host-tools
qt5-tools"
makedepends="poppler-qt5-devel qt5-devel"
short_desc="Editor for graphics set in TikZ"
maintainer="Piraty <piraty1@inbox.ru>"
license="GPL-2.0-or-later"
homepage="http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language/"
distfiles="https://github.com/fhackenberger/ktikz/archive/${version}.tar.gz"
checksum=ef15fe70f4e057eab74ed738886f8e4a53d5b1bcdf1ee329930bf06e22f56e9d
post_patch() {
vsed -e '/include.*QPainter/a #include <QtGui/QPainterPath>' \
-i app/tikzeditor.cpp
}