# Template file for 'khotkeys'
pkgname=khotkeys
version=5.24.4
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules kdoctools kcoreaddons qt5-qmake
 gettext qt5-host-tools"
makedepends="kdesignerplugin-devel kdoctools plasma-workspace-devel"
short_desc="KDE Hotkeys"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-only, LGPL-2.0-or-later"
homepage="https://invent.kde.org/plasma/khotkeys"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=5aac75b05f0b5a63ea924b02645bbfacfe18fef3d5c23182b482ebc5d17f6d0c

if [ "$CROSS_BUILD" ]; then
	configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi
