From 36ec9b8d901d621a5ca1ff8f3e1c508a06d1e1bb Mon Sep 17 00:00:00 2001 From: John Date: Mon, 27 Aug 2018 18:47:46 +0200 Subject: [PATCH] plasma-workspace: fix cross --- srcpkgs/plasma-workspace/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/plasma-workspace/template b/srcpkgs/plasma-workspace/template index 278238cc74..35903ea4f3 100644 --- a/srcpkgs/plasma-workspace/template +++ b/srcpkgs/plasma-workspace/template @@ -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}"