qxkb: fix cross compilation

This commit is contained in:
newbluemoon 2017-11-21 08:28:56 +01:00 committed by Enno Boland
parent 0569525c8c
commit 986f5b2c8f

View file

@ -1,7 +1,7 @@
# Template file for 'qxkb'
pkgname=qxkb
version=0.4.6
revision=1
revision=2
wrksrc=$pkgname-$pkgname-${version}
build_style=cmake
makedepends="qt-devel libxkbfile-devel"
@ -11,4 +11,7 @@ license="GPL-2"
homepage="https://github.com/disels/qxkb"
distfiles="https://github.com/disels/qxkb/archive/qxkb-${version}.tar.gz"
checksum=1ca093b568c5461a08e3fff8e17e1d9add1c22a65efdf4afa5ff1a098a482110
nocross=yes
if [ -n "${CROSS_BUILD}" ]; then
hostmakedepends+=" qt-devel"
fi