summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa-gl_22.1.2.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-06-21 22:16:22 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-22 22:40:25 +0100
commitd5b2e40be6d6e4c52078ab5a087eefaa7330c320 (patch)
treef3d8dea60796a9fe894fdd75f0827b5d58790189 /meta/recipes-graphics/mesa/mesa-gl_22.1.2.bb
parent69c35a48c5100b884f1b633142b07222b9390e92 (diff)
downloadopenembedded-core-contrib-d5b2e40be6d6e4c52078ab5a087eefaa7330c320.tar.gz
mesa: update 22.0.3 -> 22.1.2
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-gl_22.1.2.bb')
-rw-r--r--meta/recipes-graphics/mesa/mesa-gl_22.1.2.bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-gl_22.1.2.bb b/meta/recipes-graphics/mesa/mesa-gl_22.1.2.bb
new file mode 100644
index 0000000000..f2bc8f6b5b
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-gl_22.1.2.bb
@@ -0,0 +1,13 @@
+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 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}"
+PACKAGECONFIG:class-target = "opengl ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}"
+