]> code.ossystems Code Review - openembedded-core.git/commitdiff
gconf: enable polkit if polkit distro feature is set
authorStefan Agner <stefan.agner@toradex.com>
Tue, 15 Jan 2019 22:27:28 +0000 (23:27 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Jan 2019 22:38:43 +0000 (22:38 +0000)
Enable polkit depending on whether polkit distro feature is set.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-gnome/gnome/gconf_3.2.6.bb

index 1e8ca2e5d2569fcea2931d88c61566be15201a1c..e6742f37d8cca2861bc44d20055dd978af262cf6 100644 (file)
@@ -22,8 +22,7 @@ S = "${WORKDIR}/GConf-${PV}"
 EXTRA_OECONF = "--enable-shared --disable-static \
                 --disable-orbit --with-openldap=no --disable-gtk"
 
-# Disable Polkit by default
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}"
 # We really don't want Polkit for native
 PACKAGECONFIG_class-native = ""