aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-02-18 11:33:44 +0100
committerBart Ribbers <bribbers@disroot.org>2021-02-18 11:33:46 +0100
commit4450e207e42770b9fbec34f9e8661aa37b2cc34f (patch)
treeab6e2014ef2c26892566626480b226c1fb4fed68
parent395bdaaa36aeee8632809a022d21564d1f10142a (diff)
downloadaports-4450e207e42770b9fbec34f9e8661aa37b2cc34f.tar.gz
aports-4450e207e42770b9fbec34f9e8661aa37b2cc34f.tar.bz2
aports-4450e207e42770b9fbec34f9e8661aa37b2cc34f.tar.xz
community/powerdevil: fix dbus usage
This fixes the entire application
-rw-r--r--community/powerdevil/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/community/powerdevil/APKBUILD b/community/powerdevil/APKBUILD
index 3b6589c63a..e49228750b 100644
--- a/community/powerdevil/APKBUILD
+++ b/community/powerdevil/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=powerdevil
pkgver=5.21.0
-pkgrel=0
+pkgrel=1
pkgdesc="Manages the power consumption settings of a Plasma Shell"
# armhf blocked by extra-cmake-modules
# s390x blocked by libksysguard
@@ -59,6 +59,10 @@ check() {
package() {
DESTDIR="$pkgdir" cmake --install build
+
+ # 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="35a3a3b898e848718d1b187cd289fc8b7072d9a08686315e18227a0f8bc2312377c7212a8d6981164f12ff5a36b7184ffda801aa817681dfdf9d9fc3d9f48f23 powerdevil-5.21.0.tar.xz"