summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa-gl_20.3.2.bb
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2021-01-13 16:26:36 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-15 13:39:21 +0000
commit5ab325c18640dd6d17ac4592f3ba3e484a5bdb37 (patch)
tree8f37596cb1a06e584a626762534309b120c97518 /meta/recipes-graphics/mesa/mesa-gl_20.3.2.bb
parent410dbfd1f82b4862ced6fca88789edf0fd9d65df (diff)
downloadopenembedded-core-contrib-5ab325c18640dd6d17ac4592f3ba3e484a5bdb37.tar.gz
mesa,mesa-gl: upgrade to 20.3.2
Upgrade mesa and mesa-gl recipes to version 20.3.2. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-gl_20.3.2.bb')
-rw-r--r--meta/recipes-graphics/mesa/mesa-gl_20.3.2.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-gl_20.3.2.bb b/meta/recipes-graphics/mesa/mesa-gl_20.3.2.bb
new file mode 100644
index 0000000000..e50782be1c
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-gl_20.3.2.bb
@@ -0,0 +1,15 @@
+require mesa.inc
+
+SUMMARY += " (OpenGL only, no EGL/GLES)"
+
+PROVIDES = "virtual/libgl virtual/mesa"
+
+S = "${WORKDIR}/mesa-${PV}"
+
+# At least one DRI rendering engine is required to build mesa.
+# When no X11 is available, use osmesa for the rendering engine.
+PACKAGECONFIG ??= "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}"
+PACKAGECONFIG_class-target = "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}"
+
+# When NOT using X11, we need to make sure we have swrast available.
+DRIDRIVERS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', ',swrast', d)}"