[OE-core] [PATCH][jethro][master] gcr: Require x11 DISTRO_FEATURE

Jussi Kukkonen jussi.kukkonen at intel.com
Fri Oct 30 08:53:49 UTC 2015


This enables a world build without x11. GTK3DISTROFEATURES is not used
because gtk+-x11.pc is still required.

[YOCTO #8611]

Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
---

The bug is currently targeted for 2.0.1


 meta/recipes-gnome/gcr/gcr_3.16.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gcr/gcr_3.16.0.bb b/meta/recipes-gnome/gcr/gcr_3.16.0.bb
index 4c9fe2e..f3bbaee 100644
--- a/meta/recipes-gnome/gcr/gcr_3.16.0.bb
+++ b/meta/recipes-gnome/gcr/gcr_3.16.0.bb
@@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
 
 DEPENDS = "gtk+3 p11-kit glib-2.0 libgcrypt vala"
 
-inherit autotools gnomebase gtk-icon-cache gtk-doc
+inherit autotools gnomebase gtk-icon-cache gtk-doc distro_features_check
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI[archive.md5sum] = "d5835680be0b6a838e02a528d5378d9c"
 SRC_URI[archive.sha256sum] = "ecfe8df41cc88158364bb15addc670b11e539fe844742983629ba2323888d075"
-- 
2.1.4




More information about the Openembedded-core mailing list