summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa-gl_20.2.4.bb
diff options
context:
space:
mode:
authorFabio Berton <fabio.berton@ossystems.com.br>2020-12-07 17:56:46 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-09 12:15:30 +0000
commit9c39a1360d81264e867242f238f6d14fdb395e96 (patch)
treef3b4e6f6ac1ba7c47bb0c346c3f580da737c3fed /meta/recipes-graphics/mesa/mesa-gl_20.2.4.bb
parent59f2120de3b6d53bbfb9db858ffb8b7b20c8d1ce (diff)
downloadopenembedded-core-contrib-9c39a1360d81264e867242f238f6d14fdb395e96.tar.gz
mesa: Update 20.2.1 -> 20.2.4
This commit adds the changes of 20.2.2, 20.2.3 and 20.2.4 bug fix releases. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-gl_20.2.4.bb')
-rw-r--r--meta/recipes-graphics/mesa/mesa-gl_20.2.4.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-gl_20.2.4.bb b/meta/recipes-graphics/mesa/mesa-gl_20.2.4.bb
new file mode 100644
index 0000000000..e50782be1c
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-gl_20.2.4.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)}"