summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa-gl_21.2.1.bb
blob: 142bb743b138e9ad36c2b90509199a2bbf5d204b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 gallium', d)}"
PACKAGECONFIG:class-target = "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}"

# 21.0.0 version fails to build when any driver is enabled in DRIDRIVERS
# ./mesa-21.0.0/meson.build:519:4: ERROR: Problem encountered: building dri drivers require at least one windowing system
DRIDRIVERS ?= ""