void-packages/srcpkgs/khotkeys/template

25 lines
804 B
Bash

# Template file for 'khotkeys'
pkgname=khotkeys
version=5.18.1
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 <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=b800399d9de8024608d3918af4484f2d36ae08a89bd0ae5ea539e508215ebd6c
case "$XBPS_TARGET_MACHINE" in
armv[56]*) broken="xorg-server-xwayland is not available"
;;
esac
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi