diff --git a/srcpkgs/qxkb/template b/srcpkgs/qxkb/template index d7ac0a67ce..9d342dba73 100644 --- a/srcpkgs/qxkb/template +++ b/srcpkgs/qxkb/template @@ -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