From 1c62040f894d159af750c9cb47a0b2d94c95c505 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 1 Dec 2011 13:02:07 +0100 Subject: gconf: add polkit to DEPENDS only for target recipe and disable default-service for native * gnome-common-native is needed because gnomebase.bbclass does only DEPENDS += "gnome-common" (From OE-Core rev: 91b94f93edbff234b70723419bf4caf13a71777b) Signed-off-by: Martin Jansa Signed-off-by: Richard Purdie --- meta/recipes-gnome/gnome/gconf_3.2.3.bb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'meta/recipes-gnome') diff --git a/meta/recipes-gnome/gnome/gconf_3.2.3.bb b/meta/recipes-gnome/gnome/gconf_3.2.3.bb index aa9da780f9..cdc7a3502d 100644 --- a/meta/recipes-gnome/gnome/gconf_3.2.3.bb +++ b/meta/recipes-gnome/gnome/gconf_3.2.3.bb @@ -3,9 +3,10 @@ SECTION = "x11/gnome" LICENSE = "LGPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" -DEPENDS = "glib-2.0 dbus dbus-glib libxml2 intltool-native" +DEPENDS = "glib-2.0 dbus dbus-glib libxml2 intltool-native polkit" +DEPENDS_virtclass-native = "glib-2.0-native dbus-native dbus-glib-native libxml2-native intltool-native gnome-common-native" -PR = "r1" +PR = "r2" inherit gnomebase @@ -18,7 +19,10 @@ SRC_URI[archive.sha256sum] = "52008a82a847527877d9e1e549a351c86cc53cada4733b8a70 S = "${WORKDIR}/GConf-${PV}" -EXTRA_OECONF = "--disable-gtk-doc --disable-gtk --enable-shared --disable-static --enable-debug=yes --disable-introspection --disable-orbit --with-openldap=no" +POLKIT_OECONF = "--enable-defaults-service" +POLKIT_OECONF_virtclass-native = "--disable-defaults-service" +EXTRA_OECONF = "--disable-gtk-doc --disable-gtk --enable-shared --disable-static --enable-debug=yes \ + --disable-introspection --disable-orbit --with-openldap=no ${POLKIT_OECONF}" do_configure_prepend () { touch gtk-doc.make -- cgit v1.2.3-54-g00ecf