diff --git a/srcpkgs/plasma-desktop/template b/srcpkgs/plasma-desktop/template index d9795a488c1..7044bef277d 100644 --- a/srcpkgs/plasma-desktop/template +++ b/srcpkgs/plasma-desktop/template @@ -4,7 +4,8 @@ version=5.13.4 revision=1 build_style=cmake configure_args="-DBUILD_TESTING=OFF" -hostmakedepends="extra-cmake-modules pkg-config" +hostmakedepends="extra-cmake-modules pkg-config kcoreaddons kdoctools + qt5-qmake qt5-host-tools" makedepends="ibus-devel kactivities5-stats-devel kpeople-devel libcanberra-devel plasma-workspace-devel pulseaudio-devel xf86-input-evdev-devel xf86-input-synaptics-devel" @@ -15,3 +16,9 @@ license="GPL-2.0-or-later, LGPL-2.0-or-later, LGPL-2.1-or-later, GFDL-1.2" homepage="https://projects.kde.org/projects/plasma/plasma-desktop" distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz" checksum=bd394a063481a153edc71ff72972b5f480c3913ce17ec3e49b494db986aebef2 + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" kconfig-devel kcoreaddons-devel kded + kcmutils plasma-framework" + configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake" +fi