diff --git a/srcpkgs/latte-dock/template b/srcpkgs/latte-dock/template index ea572b5c04b..2ec6634253e 100644 --- a/srcpkgs/latte-dock/template +++ b/srcpkgs/latte-dock/template @@ -3,8 +3,8 @@ pkgname=latte-dock version=0.8.0 revision=1 build_style=cmake -configure_args="-DBUILD_TESTING=OFF -DKDE_L10N_AUTO_TRANSLATIONS=OFF -DENABLE_MAKE_UNIQUE=OFF" -hostmakedepends="extra-cmake-modules pkg-config" +configure_args="-DBUILD_TESTING=OFF -DENABLE_MAKE_UNIQUE=OFF" +hostmakedepends="extra-cmake-modules kcoreaddons pkg-config qt5-qmake qt5-host-tools" makedepends="knewstuff-devel libSM-devel plasma-framework-devel" short_desc="Dock based on plasma frameworks" maintainer="Giuseppe Fierro " @@ -13,4 +13,8 @@ homepage="https://phabricator.kde.org/source/latte-dock/" changelog="https://phabricator.kde.org/source/latte-dock/browse/master/CHANGELOG.md" distfiles="${KDE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" checksum=7ab5f532a87141a5c22dcf24ef7c993a21d56a30fefd5ce466db982c4cc8e9fd -nocross=yes + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" kconfig-devel kcoreaddons-devel" + configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake" +fi