[oe] [meta-gnome][PATCH 08/27] libwnck: add x11 to REQUIRED_DISTRO_FEATURES

jackie.huang at windriver.com jackie.huang at windriver.com
Tue Nov 22 07:30:53 UTC 2016


From: Jackie Huang <jackie.huang at windriver.com>

libwnck depends on gtk+ which requires x11 distro feature.

Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
---
 meta-gnome/recipes-gnome/libwnck/libwnck_2.31.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/libwnck/libwnck_2.31.0.bb b/meta-gnome/recipes-gnome/libwnck/libwnck_2.31.0.bb
index d273e6c..83e8468 100644
--- a/meta-gnome/recipes-gnome/libwnck/libwnck_2.31.0.bb
+++ b/meta-gnome/recipes-gnome/libwnck/libwnck_2.31.0.bb
@@ -8,7 +8,9 @@ DEPENDS = "intltool-native gtk+ gdk-pixbuf-native libxres"
 PACKAGECONFIG ??= "startup-notification"
 PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification"
 
-inherit gnomebase gobject-introspection
+inherit gnomebase gobject-introspection distro_features_check
+REQUIRED_DISTRO_FEATURES = "x11"
+
 GNOME_COMPRESS_TYPE = "xz"
 SRC_URI[archive.md5sum] = "f03e1139296e2a3a92e3b65a3080cd32"
 SRC_URI[archive.sha256sum] = "83f732d20781fc88b22cdc6aaf2d4f388db6d3d4ff28d1a8fd45be9fb7743a9e"
-- 
2.8.3




More information about the Openembedded-devel mailing list