diff options
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-gl_21.3.1.bb')
| -rw-r--r-- | meta/recipes-graphics/mesa/mesa-gl_21.3.1.bb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-gl_21.3.1.bb b/meta/recipes-graphics/mesa/mesa-gl_21.3.1.bb new file mode 100644 index 0000000000..142bb743b1 --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa-gl_21.3.1.bb | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | require mesa.inc | ||
| 2 | |||
| 3 | SUMMARY += " (OpenGL only, no EGL/GLES)" | ||
| 4 | |||
| 5 | PROVIDES = "virtual/libgl virtual/mesa" | ||
| 6 | |||
| 7 | S = "${WORKDIR}/mesa-${PV}" | ||
| 8 | |||
| 9 | # At least one DRI rendering engine is required to build mesa. | ||
| 10 | # When no X11 is available, use osmesa for the rendering engine. | ||
| 11 | PACKAGECONFIG ??= "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}" | ||
| 12 | PACKAGECONFIG:class-target = "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}" | ||
| 13 | |||
| 14 | # 21.0.0 version fails to build when any driver is enabled in DRIDRIVERS | ||
| 15 | # ./mesa-21.0.0/meson.build:519:4: ERROR: Problem encountered: building dri drivers require at least one windowing system | ||
| 16 | DRIDRIVERS ?= "" | ||
