summaryrefslogtreecommitdiff
path: root/user/plasma-systemmonitor
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-06-12 18:40:04 -0500
committerZach van Rijn <me@zv.io>2022-06-12 23:51:57 +0000
commit209dd03ead85e531e8d5d1a2b404f829504dc75f (patch)
tree68afb39d50766c82fb66ed8a14689bbda3eb90a0 /user/plasma-systemmonitor
parent8b27515b338a79485724e6c439d24db56627f905 (diff)
downloadpackages-209dd03ead85e531e8d5d1a2b404f829504dc75f.tar.gz
packages-209dd03ead85e531e8d5d1a2b404f829504dc75f.tar.bz2
packages-209dd03ead85e531e8d5d1a2b404f829504dc75f.tar.xz
packages-209dd03ead85e531e8d5d1a2b404f829504dc75f.zip
user/plasma-systemmonitor: New package
Diffstat (limited to 'user/plasma-systemmonitor')
-rw-r--r--user/plasma-systemmonitor/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/user/plasma-systemmonitor/APKBUILD b/user/plasma-systemmonitor/APKBUILD
new file mode 100644
index 000000000..9670ff432
--- /dev/null
+++ b/user/plasma-systemmonitor/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: A. Wilcox <awilfox-kde@adelielinux.org>
+pkgname=plasma-systemmonitor
+pkgver=5.24.5
+pkgrel=0
+pkgdesc="System monitor tool for KDE Plasma"
+url="https://www.kde.org/plasma-desktop/"
+arch="all"
+license="LGPL-2.0+"
+depends="kirigami2 ksystemstats qt5-qtquickcontrols2"
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev
+ kconfig-dev kdbusaddons-dev kdeclarative-dev kglobalaccel-dev ki18n-dev
+ kio-dev kitemmodels-dev knewstuff-dev kservice-dev kirigami2-dev
+ libksysguard-dev qt5-qtquickcontrols2-dev"
+subpackages="$pkgname-lang"
+source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
+
+build() {
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS} \
+ .
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="b8c4a959eb587b25d8d503b3b2d05e6c8ced3b0cb146e08f0351f424962d059b70c8dd323d55b31ef903157b71bad6f20f969840a860ed25ebdafeb3db18489d plasma-systemmonitor-5.24.5.tar.xz"