khotkeys: fix cross

This commit is contained in:
John 2018-08-27 20:10:26 +02:00 committed by Helmut Pozimski
parent 9e49751acb
commit 05d1a0a55c

View file

@ -4,11 +4,16 @@ version=5.13.4
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules"
hostmakedepends="extra-cmake-modules kdoctools kcoreaddons qt5-qmake
qt5-host-tools"
makedepends="kdesignerplugin-devel kdoctools plasma-workspace-devel"
short_desc="KDE Hotkeys"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="GPL-2"
license="GPL-2.0-only, LGPL-2.0-or-later"
homepage="https://projects.kde.org/projects/plasma/khotkeys"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=7d9c0d54804c8275ae69d1fee159b4c5e7a5c90aabd801df40637803965302db
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi