qxkb: fix cross compilation
This commit is contained in:
parent
0569525c8c
commit
986f5b2c8f
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'qxkb'
|
# Template file for 'qxkb'
|
||||||
pkgname=qxkb
|
pkgname=qxkb
|
||||||
version=0.4.6
|
version=0.4.6
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc=$pkgname-$pkgname-${version}
|
wrksrc=$pkgname-$pkgname-${version}
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
makedepends="qt-devel libxkbfile-devel"
|
makedepends="qt-devel libxkbfile-devel"
|
||||||
|
@ -11,4 +11,7 @@ license="GPL-2"
|
||||||
homepage="https://github.com/disels/qxkb"
|
homepage="https://github.com/disels/qxkb"
|
||||||
distfiles="https://github.com/disels/qxkb/archive/qxkb-${version}.tar.gz"
|
distfiles="https://github.com/disels/qxkb/archive/qxkb-${version}.tar.gz"
|
||||||
checksum=1ca093b568c5461a08e3fff8e17e1d9add1c22a65efdf4afa5ff1a098a482110
|
checksum=1ca093b568c5461a08e3fff8e17e1d9add1c22a65efdf4afa5ff1a098a482110
|
||||||
nocross=yes
|
|
||||||
|
if [ -n "${CROSS_BUILD}" ]; then
|
||||||
|
hostmakedepends+=" qt-devel"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue