void-packages/srcpkgs/khotkeys/template

25 lines
791 B
Bash

# Template file for 'khotkeys'
pkgname=khotkeys
version=5.17.3
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=77dc49b9d7025276804a8064b526e70943e3c88babbbd0645d6916d4d985f7d6
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