From 4acc0c98e4dfaad388c1346684fc9ecb9972533f Mon Sep 17 00:00:00 2001 From: John Date: Sun, 26 Aug 2018 22:24:51 +0200 Subject: [PATCH] kinfocenter: fix cross --- srcpkgs/kinfocenter/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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