Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 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 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}" |
| 12 | PACKAGECONFIG:class-target = "opengl ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}" |
| 13 | |