[oe] [meta-gnome][PATCH 20/23] libgnomeui: only include when x11 in DISTRO_FEATURES

Armin Kuster akuster808 at gmail.com
Wed Mar 7 19:01:12 UTC 2018


Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-gnome/recipes-gnome/libgnome/libgnomeui_2.24.5.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/libgnome/libgnomeui_2.24.5.bb b/meta-gnome/recipes-gnome/libgnome/libgnomeui_2.24.5.bb
index b78ffc5..ff8a680 100644
--- a/meta-gnome/recipes-gnome/libgnome/libgnomeui_2.24.5.bb
+++ b/meta-gnome/recipes-gnome/libgnome/libgnomeui_2.24.5.bb
@@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605"
 SECTION = "x11/gnome/libs"
 DEPENDS = "libgnome libgnomecanvas libbonoboui libgnome-keyring intltool-native gnome-common-native"
 
-inherit gnome
+inherit distro_features_check gnome
+
+REQUIRED_DISTRO_FEATURES = "x11"
 
 FILES_${PN} += "${libdir}/gtk-2.0/*/filesystems/lib*.so \
                 ${libdir}/libglade/*/lib*.so \
-- 
2.7.4




More information about the Openembedded-devel mailing list