plasma-vault: fix cross

This commit is contained in:
John 2018-08-26 16:26:59 +02:00 committed by Helmut Pozimski
parent ee9c902798
commit d78e5d8b43

View file

@ -11,8 +11,9 @@ license="GPL-2.0-or-later, LGPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://github.com/KDE/plasma-vault"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=9254c5b549b8199b4c287e028a06b267c1487d06ae77dbc1508598b513b197a9
nocross="couldn't generate metainfo for org.kde.plasma.vault:"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kconfig-devel kcoreaddons-devel plasma-framework"
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi