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-graphics/libepoxy/libepoxy_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta/recipes-graphics/libepoxy') diff --git a/meta/recipes-graphics/libepoxy/libepoxy_git.bb b/meta/recipes-graphics/libepoxy/libepoxy_git.bb index ad1729383e..6c247ccafe 100644 --- a/meta/recipes-graphics/libepoxy/libepoxy_git.bb +++ b/meta/recipes-graphics/libepoxy/libepoxy_git.bb @@ -17,7 +17,9 @@ PV = "1.3.1" S = "${WORKDIR}/git" -inherit autotools pkgconfig +inherit autotools pkgconfig distro_features_check +# depends on virtual/egl +REQUIRED_DISTRO_FEATURES = "opengl" DEPENDS = "util-macros virtual/egl" -- cgit v1.2.3-54-g00ecf