aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-01 21:04:33 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-19 21:18:38 -0300
commit3f73f6a70ed7a52d627598d66cf4d897c63f4044 (patch)
treeb2b3a369719a6ac3ac17bde4abc0030a1b17c4d8 /testing
parentd6883f9b555fa81f8d2ccb023f5e5f66cc8a832f (diff)
downloadaports-3f73f6a70ed7a52d627598d66cf4d897c63f4044.tar.gz
aports-3f73f6a70ed7a52d627598d66cf4d897c63f4044.tar.bz2
aports-3f73f6a70ed7a52d627598d66cf4d897c63f4044.tar.xz
testing/libksysguard: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/libksysguard/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/libksysguard/APKBUILD b/testing/libksysguard/APKBUILD
new file mode 100644
index 0000000000..ed3c47042a
--- /dev/null
+++ b/testing/libksysguard/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=libksysguard
+pkgver=5.16.1
+pkgrel=0
+pkgdesc="KDE system monitor library"
+arch="all"
+url="https://www.kde.org/workspaces/plasmadesktop/"
+license="LGPL-2.1-or-later AND (GPL-2.0-only OR GPL-3.0-only)"
+depends_dev="qt5-qtwebengine-dev kcoreaddons-dev kconfig-dev ki18n-dev kwindowsystem-dev kcompletion-dev kauth-dev kwidgetsaddons-dev kiconthemes-dev kconfigwidgets-dev kservice-dev kglobalaccel-dev kio-dev plasma-framework-dev zlib-dev"
+makedepends="$depends_dev extra-cmake-modules"
+checkdepends="xvfb-run"
+source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-lang"
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ # processtest requires working OpenGL
+ CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "processtest"
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="72e03801a3d14e83511369777f3ec9bb9bb1c0ef4e1a9d9a7e9ada3eed1d3a7686bd1106a9903aa54b627953d7a02791b7e0552f460dc14f377bf113e665e399 libksysguard-5.16.1.tar.xz"