diff --git a/srcpkgs/plasma-pa/template b/srcpkgs/plasma-pa/template index a1c789fae64..49c6809e8c5 100644 --- a/srcpkgs/plasma-pa/template +++ b/srcpkgs/plasma-pa/template @@ -14,8 +14,8 @@ license="LGPL-2.1-or-later" homepage="https://projects.kde.org/projects/plasma/plasma-pa" distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz" checksum=f3a4de3e184762c111423c86f16983570df025c892246daffaeebdd952b815f7 -nocross=yes -if [ "${CROSS_BUILD}" ]; then - configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson" +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" kconfig-devel kcoreaddons-devel" + configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake" fi