void-packages/srcpkgs/khotkeys/template

25 lines
791 B
Bash

# Template file for 'khotkeys'
pkgname=khotkeys
version=5.17.4
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules kdoctools kcoreaddons qt5-qmake
qt5-host-tools"
makedepends="kdesignerplugin-devel kdoctools plasma-workspace-devel"
short_desc="KDE Hotkeys"
maintainer="John <johnz@posteo.net>"
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=2333a6a12cc0e30fd7f449daf1f74ffe22125a5c7cc62f92bcff59b6817a2baf
case "$XBPS_TARGET_MACHINE" in
arm*) broken="xorg-server-xwayland is not available"
;;
esac
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi