aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2019-01-15 23:27:28 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-15 22:38:43 +0000
commitf82b8f40789a928cbf45ba81a218377f54ae169c (patch)
tree0fdd0c6852e6a4db6995ce871eedab7790f500fd /meta/recipes-gnome
parent35679293c42ef1ed717d455a9cfec82bf528bed2 (diff)
downloadopenembedded-core-contrib-f82b8f40789a928cbf45ba81a218377f54ae169c.tar.gz
openembedded-core-contrib-f82b8f40789a928cbf45ba81a218377f54ae169c.tar.bz2
openembedded-core-contrib-f82b8f40789a928cbf45ba81a218377f54ae169c.zip
gconf: enable polkit if polkit distro feature is set
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>
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r--meta/recipes-gnome/gnome/gconf_3.2.6.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-gnome/gnome/gconf_3.2.6.bb b/meta/recipes-gnome/gnome/gconf_3.2.6.bb
index 1e8ca2e5d2..e6742f37d8 100644
--- a/meta/recipes-gnome/gnome/gconf_3.2.6.bb
+++ b/meta/recipes-gnome/gnome/gconf_3.2.6.bb
@@ -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 = ""