[Lunar-commits] <moonbase> mesa-lib: VMware 2D/3D acceleration enabled

Zbigniew Luszpinski zbiggy at lunar-linux.org
Tue May 10 00:07:55 CEST 2011


commit 322477ee509558bf99c554dea25f8542a46ced17
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Tue May 10 00:07:55 2011 +0200

    mesa-lib: VMware 2D/3D acceleration enabled
---
 xorg7/mesa-lib/BUILD |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/xorg7/mesa-lib/BUILD b/xorg7/mesa-lib/BUILD
index 5a434fa..ac4ffc4 100644
--- a/xorg7/mesa-lib/BUILD
+++ b/xorg7/mesa-lib/BUILD
@@ -1,5 +1,9 @@
 (
 
+  # mesa merges cflags and ldflags then complains that ldflags are unknown to gcc
+  # turn off linker till solution will be found
+  bad_flags linker &&
+
   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
@@ -23,11 +27,11 @@
     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 &&
+  # Detect VMware VGA virtual 3D card and add driver for it
+  VGA=`lspci | grep 'VGA.*VMware.*SVGA.*'` &&
+  if [[ $VGA == *VMware* ]];then
+     OPTS+="--enable-gallium-svga "
+  fi &&
 
   # Don't overlap with freeglut
   OPTS+=" --disable-glut"  &&


More information about the Lunar-commits mailing list