From 5bfcd13c074a69cfb1cf9108cbccee472bad4409 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 28 Sep 2015 11:53:35 +0100 Subject: classes/meta: Add DISTRO_FEATURES check for gtk+/gtk3+ If you currently do a DISTRO_FEATURES_remove = "x11" with OE-Core, you see failures due to dependency problems. The work in resolving this was partially completed a while back. This adds in the markup mainly for gtk/gtk3+ recipes and means "bitbake world" will work successfully. Rather than code the gtk/gtk+ specific distro features into each recipe, a shared variable is used. (From OE-Core rev: ef967c70182eeccb59c7511d838a7ecb0b2315c1) Signed-off-by: Richard Purdie --- meta/recipes-gnome/libglade/libglade_2.6.4.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/recipes-gnome/libglade') diff --git a/meta/recipes-gnome/libglade/libglade_2.6.4.bb b/meta/recipes-gnome/libglade/libglade_2.6.4.bb index 15267cad87..553e19c601 100644 --- a/meta/recipes-gnome/libglade/libglade_2.6.4.bb +++ b/meta/recipes-gnome/libglade/libglade_2.6.4.bb @@ -11,7 +11,8 @@ SECTION = "libs" PR = "r5" DEPENDS = "zlib gdk-pixbuf gtk+" -inherit autotools pkgconfig gnomebase gtk-doc +inherit autotools pkgconfig gnomebase gtk-doc distro_features_check +ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" GNOME_COMPRESS_TYPE="bz2" SRC_URI += "file://glade-cruft.patch file://no-xml2.patch file://python_environment.patch" -- cgit v1.2.3-54-g00ecf