diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 8 |
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" | |||
14 | INC_PR = "r9" | 14 | INC_PR = "r9" |
15 | PE = "2" | 15 | PE = "2" |
16 | 16 | ||
17 | DEPENDS = "expat makedepend-native flex-native bison-native libdrm expat udev" | 17 | DEPENDS = "expat makedepend-native flex-native bison-native" |
18 | 18 | ||
19 | PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl" | 19 | PROVIDES = "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl" |
20 | 20 | ||
@@ -22,21 +22,21 @@ inherit autotools pkgconfig pythonnative | |||
22 | 22 | ||
23 | EXTRA_OECONF = "--enable-shared-glapi" | 23 | EXTRA_OECONF = "--enable-shared-glapi" |
24 | 24 | ||
25 | PACKAGECONFIG ??= "egl gles \ | 25 | PACKAGECONFIG ??= "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 | ||
30 | X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes dri2proto" | 30 | X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes" |
31 | PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}" | 31 | PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}" |
32 | PACKAGECONFIG[wayland] = ",,wayland" | 32 | PACKAGECONFIG[wayland] = ",,wayland" |
33 | 33 | ||
34 | DRIDRIVERS = "swrast" | 34 | DRIDRIVERS = "swrast" |
35 | DRIDRIVERS_append_x86 = ",radeon,r200,nouveau,i965,i915" | 35 | DRIDRIVERS_append_x86 = ",radeon,r200,nouveau,i965,i915" |
36 | DRIDRIVERS_append_x86-64 = ",radeon,r200,nouveau,i965,i915" | 36 | DRIDRIVERS_append_x86-64 = ",radeon,r200,nouveau,i965,i915" |
37 | PACKAGECONFIG[dri] = "--enable-dri --with-dri-drivers=${DRIDRIVERS}, --disable-dri, dri2proto libdrm udev" | ||
37 | 38 | ||
38 | EXTRA_OECONF += "--disable-gallium --without-gallium-drivers" | 39 | EXTRA_OECONF += "--disable-gallium --without-gallium-drivers" |
39 | EXTRA_OECONF += "--enable-dri --with-dri-drivers=${DRIDRIVERS}" | ||
40 | EXTRA_OECONF += "--enable-gbm" | 40 | EXTRA_OECONF += "--enable-gbm" |
41 | 41 | ||
42 | PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2" | 42 | PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2" |