summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa-gl_24.0.3.bb
blob: ca160f1bfce80232df684a25ac3ab01135f44008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require mesa.inc

SUMMARY += " (OpenGL only, no EGL/GLES)"

PROVIDES = "virtual/libgl virtual/mesa"

S = "${WORKDIR}/mesa-${PV}"

TARGET_CFLAGS = "-I${STAGING_INCDIR}/drm"

# At least one DRI rendering engine is required to build mesa.
# When no X11 is available, use osmesa for the rendering engine.
PACKAGECONFIG ??= "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}"
PACKAGECONFIG:class-target = "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}"