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