From 05d1a0a55c6438f2418c0eeb35a818e82459c81d Mon Sep 17 00:00:00 2001 From: John Date: Mon, 27 Aug 2018 20:10:26 +0200 Subject: [PATCH] khotkeys: fix cross --- srcpkgs/khotkeys/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/khotkeys/template b/srcpkgs/khotkeys/template index e02a1c9ec69..75d2c7118eb 100644 --- a/srcpkgs/khotkeys/template +++ b/srcpkgs/khotkeys/template @@ -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 " -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