kinfocenter: fix cross

This commit is contained in:
John 2018-08-26 22:24:51 +02:00 committed by maxice8
parent 39974346fe
commit 4acc0c98e4

View file

@ -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