|
@@ -5,8 +5,8 @@
|
|
################################################################################
|
|
################################################################################
|
|
|
|
|
|
# When updating the version, please also update mesa3d-headers
|
|
# When updating the version, please also update mesa3d-headers
|
|
-MESA3D_VERSION = 10.4.6
|
|
|
|
-MESA3D_SOURCE = MesaLib-$(MESA3D_VERSION).tar.bz2
|
|
|
|
|
|
+MESA3D_VERSION = 10.5.1
|
|
|
|
+MESA3D_SOURCE = mesa-$(MESA3D_VERSION).tar.xz
|
|
MESA3D_SITE = ftp://ftp.freedesktop.org/pub/mesa/$(MESA3D_VERSION)
|
|
MESA3D_SITE = ftp://ftp.freedesktop.org/pub/mesa/$(MESA3D_VERSION)
|
|
MESA3D_LICENSE = MIT, SGI, Khronos
|
|
MESA3D_LICENSE = MIT, SGI, Khronos
|
|
MESA3D_LICENSE_FILES = docs/license.html
|
|
MESA3D_LICENSE_FILES = docs/license.html
|
|
@@ -18,11 +18,8 @@ MESA3D_PROVIDES =
|
|
|
|
|
|
MESA3D_DEPENDENCIES = \
|
|
MESA3D_DEPENDENCIES = \
|
|
expat \
|
|
expat \
|
|
- host-bison \
|
|
|
|
- host-flex \
|
|
|
|
host-gettext \
|
|
host-gettext \
|
|
- host-python \
|
|
|
|
- host-xutil_makedepend \
|
|
|
|
|
|
+ host-python-mako \
|
|
libdrm
|
|
libdrm
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
|
@@ -35,7 +32,7 @@ MESA3D_DEPENDENCIES += \
|
|
xlib_libXdamage \
|
|
xlib_libXdamage \
|
|
xlib_libXfixes \
|
|
xlib_libXfixes \
|
|
libxcb
|
|
libxcb
|
|
-MESA3D_CONF_OPTS += --enable-glx
|
|
|
|
|
|
+MESA3D_CONF_OPTS += --enable-glx --disable-mangling
|
|
# quote from mesa3d configure "Building xa requires at least one non swrast gallium driver."
|
|
# quote from mesa3d configure "Building xa requires at least one non swrast gallium driver."
|
|
ifeq ($(BR2_PACKAGE_MESA3D_NEEDS_XA),y)
|
|
ifeq ($(BR2_PACKAGE_MESA3D_NEEDS_XA),y)
|
|
MESA3D_CONF_OPTS += --enable-xa
|
|
MESA3D_CONF_OPTS += --enable-xa
|
|
@@ -92,6 +89,7 @@ MESA3D_PROVIDES += libgl
|
|
MESA3D_CONF_OPTS += \
|
|
MESA3D_CONF_OPTS += \
|
|
--enable-dri \
|
|
--enable-dri \
|
|
--enable-shared-glapi \
|
|
--enable-shared-glapi \
|
|
|
|
+ --enable-driglx-direct \
|
|
--with-dri-drivers=$(subst $(space),$(comma),$(MESA3D_DRI_DRIVERS-y))
|
|
--with-dri-drivers=$(subst $(space),$(comma),$(MESA3D_DRI_DRIVERS-y))
|
|
endif
|
|
endif
|
|
|
|
|