diff --git a/srcpkgs/kinfocenter/template b/srcpkgs/kinfocenter/template index 4ae3dabaef4..934d77b2de0 100644 --- a/srcpkgs/kinfocenter/template +++ b/srcpkgs/kinfocenter/template @@ -13,4 +13,8 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later, GFDL-1.2" homepage="https://projects.kde.org/projects/plasma/kinfocenter" distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz" checksum=29cacdce61a80bae42fa60be365648d126366c65321b1eaecdfadec02281ccee -nocross=yes + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" kconfig-devel kcoreaddons-devel kdoctools-devel" + configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake" +fi