kwin: fix cross

This commit is contained in:
Helmut Pozimski 2018-08-26 17:43:07 +02:00
parent e8b4f8b109
commit 109d1e1dec
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,11 @@ homepage="https://projects.kde.org/projects/plasma/kwin"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=86b5129a06636c31cdb3bbed2d9fc33d5866acc6929400ec0edb02043b10d0c6
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-qmake qt5-host-tools kcoreaddons kconfig"
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi
kwin-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"