# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kglobalaccel pkgver=9999_git1688827295 pkgrel=0 pkgdesc="Add support for global workspace shortcuts" arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later" depends_dev=" kconfig-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kwindowsystem-dev qt5-qtdeclarative-dev qt5-qtx11extras-dev " makedepends="$depends_dev doxygen extra-cmake-modules qt5-qttools-dev samurai xcb-util-keysyms-dev " checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kglobalaccel-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc " build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" cmake --install build # We don't ship systemd rm -r "$pkgdir"/usr/lib/systemd } sha512sums=" eab7e7bef0ae864754a2535825a0822152867762ae1cb3eca90a5054f4555f452e1b597933d8452a2bce99830ba935bab65efbb9ccf89ec34c57f921209108ad kglobalaccel-5.108.0.tar.xz " options="$options !strip"