kauth: fix cross
This commit is contained in:
parent
d324a95eeb
commit
adba328e8b
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'kauth'
|
# Template file for 'kauth'
|
||||||
pkgname=kauth
|
pkgname=kauth
|
||||||
version=5.29.0
|
version=5.29.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="extra-cmake-modules pkg-config"
|
hostmakedepends="extra-cmake-modules pkg-config"
|
||||||
makedepends="kcoreaddons-devel polkit-qt5-devel"
|
makedepends="kcoreaddons-devel polkit-qt5-devel"
|
||||||
@ -12,6 +12,10 @@ homepage="https://projects.kde.org/projects/frameworks/kauth"
|
|||||||
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=f2c51dfb42196fe5d604883c9f28bda7fd3f40d308144f521f4090a941c2091d
|
checksum=f2c51dfb42196fe5d604883c9f28bda7fd3f40d308144f521f4090a941c2091d
|
||||||
|
|
||||||
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools-devel polkit-qt5-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
kauth-devel_package() {
|
kauth-devel_package() {
|
||||||
short_desc+=" - development"
|
short_desc+=" - development"
|
||||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user