From ef967c70182eeccb59c7511d838a7ecb0b2315c1 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. Signed-off-by: Richard Purdie --- meta/recipes-sato/gtk-engines/gtk-sato-engine.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-sato/gtk-engines') diff --git a/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc b/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc index 4e37ff2047..fa6b2b2e75 100644 --- a/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc +++ b/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc @@ -8,6 +8,9 @@ SECTION = "x11/base" DEPENDS = "gtk+" RDEPENDS_gtk-theme-sato = "gtk-sato-engine" +inherit distro_features_check +ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" + PACKAGES += "gtk-theme-sato" FILES_${PN} = "${libdir}/gtk-2.0/*/engines/*.so " FILES_${PN}-dev = "${libdir}/gtk-2.0/*/engines/*.la" -- cgit v1.2.3