plasma-pa: fix cross

This commit is contained in:
John 2018-08-26 22:31:44 +02:00 committed by maxice8
parent f72c6b0efd
commit 39974346fe

View file

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