summaryrefslogtreecommitdiff
path: root/libre/libksysguard
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-07-23 20:24:22 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2021-07-23 21:39:54 -0400
commite04da0b16166baa71c6e77691e9ccefea7e616a4 (patch)
treefbe5b670d1f0afc38a083ae8014e5b4936cd1d67 /libre/libksysguard
parent759051c0e8fbd14dcbe80e604ed744bb03eb29ca (diff)
downloadabslibre-e04da0b16166baa71c6e77691e9ccefea7e616a4.tar.gz
abslibre-e04da0b16166baa71c6e77691e9ccefea7e616a4.tar.bz2
abslibre-e04da0b16166baa71c6e77691e9ccefea7e616a4.zip
[libksysguard]: upgrade to v5.22.3
Diffstat (limited to 'libre/libksysguard')
-rw-r--r--libre/libksysguard/PKGBUILD37
-rw-r--r--libre/libksysguard/libksysguard.install9
2 files changed, 32 insertions, 14 deletions
diff --git a/libre/libksysguard/PKGBUILD b/libre/libksysguard/PKGBUILD
index d01eab9dc..4d6146bab 100644
--- a/libre/libksysguard/PKGBUILD
+++ b/libre/libksysguard/PKGBUILD
@@ -1,34 +1,43 @@
-# Maintainer (Arch): Felix Yan <felixonmars@archlinux.org>
-# Maintainer (Arch): Antonio Rojas <arojas@archlinux.org>
-# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
+# Maintainer (arch): Felix Yan <felixonmars@archlinux.org>
+# Maintainer (arch): Antonio Rojas <arojas@archlinux.org>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Andreas Grapentin <oaken-source@parabola.nu>
# Contributor: grizzlyuser <grizzlyuser@protonmail.com>
+# Contributor: Iván Ávalos <avalos@disroot.org>
+# Contributor: bill-auger <bill-auger@programmer.net>
+
+
+# parabola changes and rationale:
+# - remove qt5-webengine support
+
pkgname=libksysguard
-pkgver=5.22.0
-pkgrel=2
+pkgver=5.22.3
+pkgrel=1
pkgrel+=.parabola1
pkgdesc='Library to retrieve information on the current status of computer hardware'
pkgdesc+=' (without nonfree qt5-webengine)'
arch=(x86_64)
arch+=(i686 armv7h)
-url='https://www.kde.org/workspaces/plasmadesktop/'
+url='https://kde.org/plasma-desktop/'
license=(LGPL)
-depends=(libxres kio kdeclarative knewstuff qt5-webchannel)
-makedepends=(extra-cmake-modules kdoctools plasma-framework qt5-tools)
+depends=(libxres kdeclarative knewstuff)
+depends+=(qt5-webchannel)
+makedepends=(extra-cmake-modules kdoctools qt5-tools)
+conflicts=('ksysguard<5.21.90')
groups=(plasma)
-source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig}
- libksysguard-dbus-name.patch::"https://invent.kde.org/plasma/libksysguard/-/commit/27da06df.patch")
-sha256sums=('a2d3973aaf7d5c4a1cb6dd463ec8183dd4e9a6c6b851df4b8824f8dd562607a9'
- 'SKIP'
- '69a0d392d51004729efacde63063de39b7b91657c3bf95694fe16e8230e698a0')
+source=(https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
+install=libksysguard.install
+sha256sums=('50b6f881483f3c66843a8506f66cd5bec190b7b980cf9d2ed84c774edea8596a'
+ 'SKIP')
validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell <jr@jriddell.org>
'0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah <bshah@kde.org>
'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson <davidedmundson@kde.org>
'1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
-
build() {
cmake -B build -S $pkgname-$pkgver \
+ -DCMAKE_INSTALL_LIBEXECDIR=lib \
-DBUILD_TESTING=OFF
cmake --build build
}
diff --git a/libre/libksysguard/libksysguard.install b/libre/libksysguard/libksysguard.install
new file mode 100644
index 000000000..891b1d423
--- /dev/null
+++ b/libre/libksysguard/libksysguard.install
@@ -0,0 +1,9 @@
+post_install() {
+# this is executed by make install, but doesn't work since setcap can only be run as root
+ setcap CAP_NET_RAW=+ep /usr/lib/ksysguard/ksgrd_network_helper
+}
+
+post_upgrade() {
+ post_install
+}
+