plasma-workspace: fix cross

This commit is contained in:
John 2018-08-27 18:47:46 +02:00 committed by Helmut Pozimski
parent 9d4feee64d
commit 36ec9b8d90

View File

@ -4,7 +4,7 @@ version=5.13.4
revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules iso-codes pkg-config"
hostmakedepends="extra-cmake-modules iso-codes pkg-config kdoctools kcoreaddons"
makedepends="qt5-devel qt5-declarative-devel qt5-script-devel plasma-framework-devel
krunner-devel kjsembed-devel knotifyconfig-devel kdesu-devel knewstuff-devel
kcmutils-devel kidletime-devel kdelibs4support-devel libksysguard-devel
@ -18,6 +18,11 @@ homepage="https://projects.kde.org/projects/plasma/plasma-workspace"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=d0e2f16e07275cd706d48d30d4a3f5f49db9360602604ad1a6f4700cd73574cf
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kconfig-devel kcoreaddons-devel plasma-framework"
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi
plasma-workspace-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"