aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-02-18 11:33:44 +0100
committerBart Ribbers <bribbers@disroot.org>2021-03-29 11:08:28 +0200
commitce0215883bbd4e61ea8583b002d012785c239e93 (patch)
tree4e34b3ee3e69389dc231a30b6fe76101164b5120
parent0d77cc3d8fc50684054671b997457471ce349edd (diff)
downloadaports-ce0215883bbd4e61ea8583b002d012785c239e93.tar.gz
aports-ce0215883bbd4e61ea8583b002d012785c239e93.tar.bz2
aports-ce0215883bbd4e61ea8583b002d012785c239e93.tar.xz
community/powerdevil: fix dbus usage
This fixes the entire application (cherry picked from commit 4450e207e42770b9fbec34f9e8661aa37b2cc34f)
-rw-r--r--community/powerdevil/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/community/powerdevil/APKBUILD b/community/powerdevil/APKBUILD
index 44d4c452f4..b2bc4df8de 100644
--- a/community/powerdevil/APKBUILD
+++ b/community/powerdevil/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=powerdevil
pkgver=5.20.5
-pkgrel=1
+pkgrel=2
pkgdesc="Manages the power consumption settings of a Plasma Shell"
# armhf blocked by extra-cmake-modules
# s390x blocked by libksysguard
@@ -30,6 +30,10 @@ check() {
package() {
DESTDIR="$pkgdir" cmake --build build --target install
+
+ # org_kde_powerdevil has CAP_WAKE_ALARM set and this breaks dbus
+ # Remove CAP_WAKE_ALARM from org_kde_powerdevil to make it work again
+ setcap -r "$pkgdir"/usr/lib/libexec/org_kde_powerdevil
}
sha512sums="c862314d5ad446fb48c08f3e6cbcc72bad0f1825756954ae0d2bd1ceac55e3324124698d3d0803103ff35561bf4fcddaa00831b7b4cb93763d17876a348a3c6f powerdevil-5.20.5.tar.xz"