jreen-qt5: fix build

This commit is contained in:
Michael Gehring 2016-04-04 23:32:49 +02:00
parent c75bf6ae86
commit 125e6678b4

View file

@ -1,7 +1,7 @@
# Template file for 'jreen'
pkgname=jreen-qt5
version=1.2.1
revision=1
revision=2
wrksrc=${pkgname%-*}-${version}
build_style=cmake
hostmakedepends="cmake pkg-config"
@ -13,6 +13,10 @@ homepage="http://qutim.org/jreen"
distfiles="http://github.com/euroelessar/${pkgname%-*}/archive/v${version}.tar.gz"
checksum=be5de04b6f54e47bdec92707600441a39e46add958181ad2b5b2d1bf92693fbd
post_extract() {
sed -i 's|^#include <QMetaTypeId|#include <QMetaType|' src/stanzaextension.h
}
jreen-qt5-devel_package() {
depends="jreen-qt5>=${version}_${revision}"
short_desc+=" - development files"