Commit 4450e207 authored by Bart Ribbers's avatar Bart Ribbers

community/powerdevil: fix dbus usage

This fixes the entire application
parent 395bdaaa
......@@ -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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment