On Wed, Feb 8, 2017 at 3:31 PM, <andreas.kl...@gmail.com> wrote: > From: Andy Kling <andreas.kl...@peiker-cee.de> > > dconf requires gtk+3 only for dconf-editor and is useful > even on systems without gui. > > add PACKAGECONFIG for editor, enable it by default if x11 > is present in DISTRO_FEATURES > > add gtk+3 to DEPENDS only if editor is present in PACKAGECONFIG > > add x11 to REQUIRED_DISTRO_FEATURES only if editor is enabled > > Note: editor will be dropped from dconf in version 0.23.1 > --- > meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb | 11 ++++++++--- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb > b/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb > index f7666cc0f..8c66958a6 100644 > --- a/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb > +++ b/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb > @@ -9,15 +9,20 @@ SRC_URI[archive.md5sum] = "69a12ed68893f2e1e81ac4e531bc1515" > SRC_URI[archive.sha256sum] = > "109b1bc6078690af1ed88cb144ef5c5aee7304769d8bdc82ed48c3696f10c955" > GNOME_COMPRESS_TYPE = "xz" > > -DEPENDS = "dbus glib-2.0 gtk+3 libxml2 intltool-native" > +DEPENDS = "dbus glib-2.0 libxml2 intltool-native > ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gtk+3", "", d)}" > > inherit vala gtk-doc distro_features_check > > -REQUIRED_DISTRO_FEATURES = "x11" > +PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "editor", > "", d)}" > + > +#note: editor will be removed in version 0.23.1 > +PACKAGECONFIG[editor] = "--enable-editor,--disable-editor,gtk+3" You add gtk+3 twice: in DEPENDS above and here. Just keep it in PACKAGECONFIG
Andreas -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel