[Lunar-commits] <moonbase> mesa-lib: updated to 7.10.2 * cleaned up non existing dri drivers and added missing nouveau * enabled gallium support and OpenGL ES 1 and 2 and OpenVG * hardware accelerated on Gallium drivers
Zbigniew Luszpinski
zbiggy at lunar-linux.org
Sun May 8 03:16:25 CEST 2011
commit 5b5df680222f05e83036322da897b382e3d32acf
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date: Sun May 8 03:16:25 2011 +0200
mesa-lib: updated to 7.10.2
* cleaned up non existing dri drivers and added missing nouveau
* enabled gallium support and OpenGL ES 1 and 2 and OpenVG
* hardware accelerated on Gallium drivers
---
xorg7/mesa-lib/BUILD | 26 ++++++++++++++++++++++++--
xorg7/mesa-lib/CONFIGURE | 2 +-
xorg7/mesa-lib/DETAILS | 8 ++++----
3 files changed, 29 insertions(+), 7 deletions(-)
diff --git a/xorg7/mesa-lib/BUILD b/xorg7/mesa-lib/BUILD
index 4dae056..5a434fa 100644
--- a/xorg7/mesa-lib/BUILD
+++ b/xorg7/mesa-lib/BUILD
@@ -3,16 +3,38 @@
if [[ -n $MESADRIVER ]] ; then
# Build selected drivers only, rather than the default of all of them
# Ensure that swrast is included, as a fall-back
- OPTS+=" --with-dri-drivers=swrast," &&
+ OPTS+=" --with-dri-drivers=swrast,"
OPTS+=$(echo $MESADRIVER | sed s/\ /,/g)
+ OPTS+=" --enable-gallium-swrast --enable-gallium-llvm "
+ if [[ $MESADRIVER == *i915* ]]; then
+ OPTS+="--enable-gallium-i915 "
+ fi
+ if [[ $MESADRIVER == *i965* ]]; then
+ OPTS+="--enable-gallium-i965 "
+ fi
+ if [[ $MESADRIVER == *nouveau* ]]; then
+ OPTS+="--enable-gallium-nouveau "
+ fi
+ if [[ $MESADRIVER == *radeon* ]]; then
+ OPTS+="--enable-gallium-radeon "
+ fi
+ if [[ $MESADRIVER == *r600* ]]; then
+ OPTS+="--enable-gallium-r600 "
+ fi
fi &&
+# # Detect VMware VGA virtual 3D card and add driver for it
+# lspci | grep 'VGA.*VMware.*SVGA.*' &&
+# if [ $? -eq 0 ];then
+# OPTS+="--enable-gallium-svga "
+# fi &&
+
# Don't overlap with freeglut
OPTS+=" --disable-glut" &&
# Needed with mesa-lib 7.8.2
rm -f include/GL/glut{,f90}.h &&
- ./configure --prefix=/usr $OPTS &&
+ ./configure --prefix=/usr --with-x --enable-xcb --enable-gles1 --enable-gles2 --enable-gles-overlay --enable-openvg $OPTS &&
prepare_install &&
make all &&
diff --git a/xorg7/mesa-lib/CONFIGURE b/xorg7/mesa-lib/CONFIGURE
index 54ec6bf..458f18e 100644
--- a/xorg7/mesa-lib/CONFIGURE
+++ b/xorg7/mesa-lib/CONFIGURE
@@ -1,5 +1,5 @@
# swrast is always included, in BUILD
-SUPPORTED_DRIVERS="i810 i915 i965 mach64 mga r128 r200 r300 r600 radeon s3v savage sis tdfx trident unichrome"
+SUPPORTED_DRIVERS="i810 i915 i965 mach64 mga r128 r200 r300 r600 radeon nouveau savage sis tdfx unichrome"
make_drivers_checklist() {
diff --git a/xorg7/mesa-lib/DETAILS b/xorg7/mesa-lib/DETAILS
index 3da0e42..e2c0fa2 100644
--- a/xorg7/mesa-lib/DETAILS
+++ b/xorg7/mesa-lib/DETAILS
@@ -1,15 +1,15 @@
MODULE=mesa-lib
- VERSION=7.10.1
+ VERSION=7.10.2
SOURCE=MesaLib-$VERSION.tar.bz2
SOURCE2=MesaGLUT-$VERSION.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/Mesa-$VERSION
SOURCE_URL=ftp://ftp.freedesktop.org/pub/mesa/$VERSION
SOURCE2_URL=$SOURCE_URL
- SOURCE_VFY=sha1:0cb966b35e57edb00d1cb09d88f502b171ce33d2
- SOURCE2_VFY=sha1:99427be9de0259beb55508b0037f8fae19f6e047
+ SOURCE_VFY=sha1:71bbb2686230f6334aa625a951b58b4b2d5d6aa0
+ SOURCE2_VFY=sha1:5f9dd67ec7b76458e1326338ca51c9aa6b5d5cd2
WEB_SITE=http://www.mesa3d.org
ENTERED=20060215
- UPDATED=20110303
+ UPDATED=20110508
SHORT="Mesa 3D library"
PSAFE=no
More information about the Lunar-commits
mailing list