summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa-gl_21.0.1.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-04-02 22:46:23 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-05 15:27:24 +0100
commite72dc396f0e147b078160fae0ac43861eb60e76f (patch)
tree745f962010a4d96201d91046dbb727b6915eb1bf /meta/recipes-graphics/mesa/mesa-gl_21.0.1.bb
parent2d0239c446be3e7f04c00e24f6c8ac1707440c8a (diff)
downloadopenembedded-core-e72dc396f0e147b078160fae0ac43861eb60e76f.tar.gz
mesa: update 21.0.0 -> 21.0.1
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-gl_21.0.1.bb')
-rw-r--r--meta/recipes-graphics/mesa/mesa-gl_21.0.1.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-gl_21.0.1.bb b/meta/recipes-graphics/mesa/mesa-gl_21.0.1.bb
new file mode 100644
index 0000000000..dff79f0be0
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-gl_21.0.1.bb
@@ -0,0 +1,16 @@
+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 gallium', d)}"
+PACKAGECONFIG_class-target = "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}"
+
+# 21.0.0 version fails to build when any driver is enabled in DRIDRIVERS
+# ./mesa-21.0.0/meson.build:519:4: ERROR: Problem encountered: building dri drivers require at least one windowing system
+DRIDRIVERS ?= ""