aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kglobalaccel/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kglobalaccel/APKBUILD')
-rw-r--r--testing/kglobalaccel/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/kglobalaccel/APKBUILD b/testing/kglobalaccel/APKBUILD
new file mode 100644
index 0000000000..86e730ea8b
--- /dev/null
+++ b/testing/kglobalaccel/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kglobalaccel
+pkgver=5.58.0
+pkgrel=0
+pkgdesc="Add support for global workspace shortcuts"
+arch="all"
+url="https://community.kde.org/Frameworks"
+license="LGPL-2.1-or-later"
+depends_dev="qt5-qtx11extras-dev kconfig-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kwindowsystem-dev"
+makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev xcb-util-keysyms-dev"
+source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+options="!check" # Fails due to requiring running X11
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_QCH=ON
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="4dfed2f280aefecaf9f8eecda5b3663c831fd85781ec8b64c2cd208d3e7af170b52603f8746193f48a92dbf86f6e9fd3fde90fb592557867cd78473dbe810990 kglobalaccel-5.58.0.tar.xz"