aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xfce
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2019-01-17 17:26:27 +0100
committerKhem Raj <raj.khem@gmail.com>2019-01-20 10:15:44 -0800
commit4d3a76884eb77bc726896d94cbd233f0284ef122 (patch)
tree36c702b504d7d27242dd807548484d079b5e3f3f /meta-xfce
parente6836ceaef005cb870bea43635833cc92aa3a68d (diff)
downloadmeta-openembedded-contrib-4d3a76884eb77bc726896d94cbd233f0284ef122.tar.gz
xfce4-power-manager: enable polkit depending on distro feature
systemd and polkit are not directly related. It is just fine to build with systemd but without polkit. Rename the systemd package config to polkit and enable it depending on whether polkit is enabled in DISTRO_FEATURES. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-xfce')
-rw-r--r--meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.6.1.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.6.1.bb b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.6.1.bb
index ed117b0a6e..1cdcb4160a 100644
--- a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.6.1.bb
+++ b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.6.1.bb
@@ -20,8 +20,8 @@ EXTRA_OECONF = " \
--enable-panel-plugins \
"
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
-PACKAGECONFIG[systemd] = "--enable-polkit, --disable-polkit, polkit"
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}"
+PACKAGECONFIG[polkit] = "--enable-polkit, --disable-polkit, polkit"
PACKAGES += "xfce4-powermanager-plugin"