summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 3f00237f71..ec30301840 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -14,7 +14,7 @@ LICENSE = "MIT"
14INC_PR = "r9" 14INC_PR = "r9"
15PE = "2" 15PE = "2"
16 16
17DEPENDS = "expat makedepend-native flex-native bison-native libdrm expat udev" 17DEPENDS = "expat makedepend-native flex-native bison-native"
18 18
19PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl" 19PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl"
20 20
@@ -22,21 +22,21 @@ inherit autotools pkgconfig pythonnative
22 22
23EXTRA_OECONF = "--enable-shared-glapi" 23EXTRA_OECONF = "--enable-shared-glapi"
24 24
25PACKAGECONFIG ??= "egl gles \ 25PACKAGECONFIG ??= "egl gles dri \
26 ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}\ 26 ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}\
27 ${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}\ 27 ${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}\
28 " 28 "
29 29
30X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes dri2proto" 30X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes"
31PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}" 31PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}"
32PACKAGECONFIG[wayland] = ",,wayland" 32PACKAGECONFIG[wayland] = ",,wayland"
33 33
34DRIDRIVERS = "swrast" 34DRIDRIVERS = "swrast"
35DRIDRIVERS_append_x86 = ",radeon,r200,nouveau,i965,i915" 35DRIDRIVERS_append_x86 = ",radeon,r200,nouveau,i965,i915"
36DRIDRIVERS_append_x86-64 = ",radeon,r200,nouveau,i965,i915" 36DRIDRIVERS_append_x86-64 = ",radeon,r200,nouveau,i965,i915"
37PACKAGECONFIG[dri] = "--enable-dri --with-dri-drivers=${DRIDRIVERS}, --disable-dri, dri2proto libdrm udev"
37 38
38EXTRA_OECONF += "--disable-gallium --without-gallium-drivers" 39EXTRA_OECONF += "--disable-gallium --without-gallium-drivers"
39EXTRA_OECONF += "--enable-dri --with-dri-drivers=${DRIDRIVERS}"
40EXTRA_OECONF += "--enable-gbm" 40EXTRA_OECONF += "--enable-gbm"
41 41
42PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2" 42PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2"