summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2015-10-21 04:23:55 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-16 11:39:27 +0000
commitd3da00648ccd4b281871efdd1be7790fe77e5d1e (patch)
treeb29a775270802af68a1bcd80b1256f93027911ee /meta/recipes-graphics/mesa
parent63690f0914786c941af760735f60135a717d9e5d (diff)
downloadpoky-d3da00648ccd4b281871efdd1be7790fe77e5d1e.tar.gz
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 <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r--meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb b/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb
index 0094f556f9..557b8c65db 100644
--- a/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb
+++ b/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb
@@ -24,7 +24,9 @@ SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/demos/${PV}/${BPN}-${PV}.tar.bz2 \
24SRC_URI[md5sum] = "72613a2c8c013716db02e3ff59d29061" 24SRC_URI[md5sum] = "72613a2c8c013716db02e3ff59d29061"
25SRC_URI[sha256sum] = "e4bfecb5816ddd4b7b37c1bc876b63f1f7f06fda5879221a9774d0952f90ba92" 25SRC_URI[sha256sum] = "e4bfecb5816ddd4b7b37c1bc876b63f1f7f06fda5879221a9774d0952f90ba92"
26 26
27inherit autotools pkgconfig 27inherit autotools pkgconfig distro_features_check
28# depends on virtual/egl, virtual/libgl ...
29REQUIRED_DISTRO_FEATURES = "opengl"
28 30
29PACKAGECONFIG ?= "drm osmesa freetype2 gbm egl gles1 gles2 \ 31PACKAGECONFIG ?= "drm osmesa freetype2 gbm egl gles1 gles2 \
30 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 glew glu', '', d)}" 32 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 glew glu', '', d)}"