From patchwork Tue Nov 29 22:23:20 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: gconf: add polkit to DEPENDS only for target recipe and disable default-service for native Date: Tue, 29 Nov 2011 22:23:20 -0000 From: Martin Jansa X-Patchwork-Id: 15651 Message-Id: <1322605400-30257-1-git-send-email-Martin.Jansa@gmail.com> To: openembedded-core@lists.openembedded.org * gnome-common-native is needed because gnomebase.bbclass does only DEPENDS += "gnome-common" Signed-off-by: Martin Jansa --- meta/recipes-gnome/gnome/gconf_3.2.3.bb | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/meta/recipes-gnome/gnome/gconf_3.2.3.bb b/meta/recipes-gnome/gnome/gconf_3.2.3.bb index aa9da78..cdc7a35 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