void-packages/srcpkgs/kglobalacceld/template

38 lines
1.1 KiB
Bash

# Template file for 'kglobalacceld'
pkgname=kglobalacceld
version=6.1.3
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools"
makedepends="kf6-kglobalaccel-devel kf6-kconfig-devel kf6-kcrash-devel
kf6-kdbusaddons-devel kf6-kwindowsystem-devel kf6-kservice-devel
kf6-kio-devel qt6-base-private-devel"
short_desc="Daemon providing Global Keyboard Shortcut functionality"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://invent.kde.org/plasma/kglobalacceld"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=359155f3454948f2717ae6785ed1e6dc2dc8c281e6526cb06852cf4aa1a2a062
do_check() {
cd build
ctest -E "shortcutstest|migrateconfigtest"
}
kglobalacceld-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
#vmove "usr/lib/*.so"
}
}
khotkeys_package() {
build_style=meta
depends="kglobalacceld"
short_desc+=" - transition"
}