diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-05-31 15:48:31 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-06-01 17:41:58 +0000 |
commit | 23c681a6d5e4f0a98799b6244bd1c84157bbb53c (patch) | |
tree | 7be5a754e8091b7b5d24ff671c08d299b4ffa2a3 /testing/kglobalaccel | |
parent | 5bd593bdd5295dd529b99323ece93cadc689aed3 (diff) | |
download | aports-23c681a6d5e4f0a98799b6244bd1c84157bbb53c.tar.bz2 aports-23c681a6d5e4f0a98799b6244bd1c84157bbb53c.tar.xz |
testing/kglobalaccel: new aport
Closes GH-8328
Diffstat (limited to 'testing/kglobalaccel')
-rw-r--r-- | testing/kglobalaccel/APKBUILD | 32 |
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" |