summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2019-11-14 19:40:07 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-21 23:08:19 +0000
commit9702544b3e75d761d86cae7e8b36f3f2625b68ce (patch)
treeb8db1573283245d3f7d7c8d9fc32b9bd67c76f14 /meta/recipes-graphics/mesa
parenta616ffebdc6f761635f351432461010de1890b7d (diff)
downloadpoky-9702544b3e75d761d86cae7e8b36f3f2625b68ce.tar.gz
distro_features_check: expand with MACHINE_FEATURES and COMBINED_FEATURES, rename
Besides checking DISTRO_FEATURES for required or conflicting features, being able to check MACHINE_FEATURES and/or COMBINED_FEATURES may also be useful at times. Temporarily support the old class name with a warning about future deprecation. (From OE-Core rev: 5f4875b950ce199e91f99c8e945a0c709166dc14) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r--meta/recipes-graphics/mesa/libglu_9.0.1.bb2
-rw-r--r--meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb2
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc2
3 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-graphics/mesa/libglu_9.0.1.bb b/meta/recipes-graphics/mesa/libglu_9.0.1.bb
index 068fb19e26..703f131f79 100644
--- a/meta/recipes-graphics/mesa/libglu_9.0.1.bb
+++ b/meta/recipes-graphics/mesa/libglu_9.0.1.bb
@@ -21,7 +21,7 @@ S = "${WORKDIR}/glu-${PV}"
21 21
22DEPENDS = "virtual/libgl" 22DEPENDS = "virtual/libgl"
23 23
24inherit autotools pkgconfig distro_features_check 24inherit autotools pkgconfig features_check
25 25
26# Requires libGL.so which is provided by mesa when x11 in DISTRO_FEATURES 26# Requires libGL.so which is provided by mesa when x11 in DISTRO_FEATURES
27REQUIRED_DISTRO_FEATURES = "x11 opengl" 27REQUIRED_DISTRO_FEATURES = "x11 opengl"
diff --git a/meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb b/meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb
index 129a47df48..38bdbded29 100644
--- a/meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb
+++ b/meta/recipes-graphics/mesa/mesa-demos_8.4.0.bb
@@ -22,7 +22,7 @@ SRC_URI = "https://mesa.freedesktop.org/archive/demos/${BPN}-${PV}.tar.bz2 \
22SRC_URI[md5sum] = "6b65a02622765522176d00f553086fa3" 22SRC_URI[md5sum] = "6b65a02622765522176d00f553086fa3"
23SRC_URI[sha256sum] = "01e99c94a0184e63e796728af89bfac559795fb2a0d6f506fa900455ca5fff7d" 23SRC_URI[sha256sum] = "01e99c94a0184e63e796728af89bfac559795fb2a0d6f506fa900455ca5fff7d"
24 24
25inherit autotools pkgconfig distro_features_check 25inherit autotools pkgconfig features_check
26# depends on virtual/egl, virtual/libgl ... 26# depends on virtual/egl, virtual/libgl ...
27REQUIRED_DISTRO_FEATURES = "opengl x11" 27REQUIRED_DISTRO_FEATURES = "opengl x11"
28 28
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 9e5808ee27..bf1492b422 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -24,7 +24,7 @@ PROVIDES = " \
24 virtual/mesa \ 24 virtual/mesa \
25 " 25 "
26 26
27inherit meson pkgconfig python3native gettext distro_features_check 27inherit meson pkgconfig python3native gettext features_check
28 28
29# Unset these to stop python trying to report the target Python setup 29# Unset these to stop python trying to report the target Python setup
30_PYTHON_SYSCONFIGDATA_NAME[unexport] = "1" 30_PYTHON_SYSCONFIGDATA_NAME[unexport] = "1"