From d3da00648ccd4b281871efdd1be7790fe77e5d1e Mon Sep 17 00:00:00 2001 From: Wenzong Fan Date: Wed, 21 Oct 2015 04:23:55 -0400 Subject: recipes: add distro_features_check for some packages * The packages that depends on gtk+3 require any of distro features from ${GTK3DISTROFEATURES} * The packages that depends on virtual/egl, virtual/libgl ... require distro feature 'opengl' (From OE-Core rev: 3edf08b38b0af93cef0933b061349264dc86d54c) Signed-off-by: Wenzong Fan Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-gnome/gcr/gcr_3.16.0.bb | 4 +++- meta/recipes-gnome/libnotify/libnotify_0.7.6.bb | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'meta/recipes-gnome') diff --git a/meta/recipes-gnome/gcr/gcr_3.16.0.bb b/meta/recipes-gnome/gcr/gcr_3.16.0.bb index 4c9fe2ec89..057c815654 100644 --- a/meta/recipes-gnome/gcr/gcr_3.16.0.bb +++ b/meta/recipes-gnome/gcr/gcr_3.16.0.bb @@ -7,7 +7,9 @@ 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 +# depends on gtk+3 +ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" SRC_URI[archive.md5sum] = "d5835680be0b6a838e02a528d5378d9c" SRC_URI[archive.sha256sum] = "ecfe8df41cc88158364bb15addc670b11e539fe844742983629ba2323888d075" diff --git a/meta/recipes-gnome/libnotify/libnotify_0.7.6.bb b/meta/recipes-gnome/libnotify/libnotify_0.7.6.bb index 41d188cadd..1a24c1073e 100644 --- a/meta/recipes-gnome/libnotify/libnotify_0.7.6.bb +++ b/meta/recipes-gnome/libnotify/libnotify_0.7.6.bb @@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" DEPENDS = "dbus gtk+3 dbus-glib" -inherit gnomebase gtk-doc +inherit gnomebase gtk-doc distro_features_check +# depends on gtk+3 +ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" SRC_URI[archive.md5sum] = "a4997019d08f46f3bf57b78e6f795a59" SRC_URI[archive.sha256sum] = "0ef61ca400d30e28217979bfa0e73a7406b19c32dd76150654ec5b2bdf47d837" -- cgit v1.2.3-54-g00ecf