From e04da0b16166baa71c6e77691e9ccefea7e616a4 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Fri, 23 Jul 2021 20:24:22 -0400 Subject: [libksysguard]: upgrade to v5.22.3 --- libre/libksysguard/PKGBUILD | 37 ++++++++++++++++++++------------- libre/libksysguard/libksysguard.install | 9 ++++++++ 2 files changed, 32 insertions(+), 14 deletions(-) create mode 100644 libre/libksysguard/libksysguard.install (limited to 'libre/libksysguard') 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 -# Maintainer (Arch): Antonio Rojas -# Contributor (Arch): Andrea Scarpino +# Maintainer (arch): Felix Yan +# Maintainer (arch): Antonio Rojas +# Contributor: Andrea Scarpino +# Contributor: Andreas Grapentin # Contributor: grizzlyuser +# Contributor: Iván Ávalos +# Contributor: bill-auger + + +# 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 '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah 'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin - 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 +} + -- cgit v1.2.3