From aaf8170faf3e4c6bd348b191610e93d322b73743 Mon Sep 17 00:00:00 2001 From: piernov Date: Wed, 22 Feb 2012 18:46:53 +0100 Subject: libgl 8.0.1-1 màj port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libgl/Pkgfile | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) (limited to 'libgl/Pkgfile') diff --git a/libgl/Pkgfile b/libgl/Pkgfile index ef2401a8c..8e1d47582 100644 --- a/libgl/Pkgfile +++ b/libgl/Pkgfile @@ -6,25 +6,20 @@ # Run on: talloc,expat,libdrm,xorg-makedepend,xorg-libx11,xorg-libxext,xorg-libxxf86vm,xorg-libxt,xorg-libxdamage,xorg-libxmu,xorg-libxi name=libgl -version=7.11.2 +version=8.0.1 release=1 -source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2 - llvm3.0.patch) +source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2) build() { cd Mesa-$version - - patch -p1 < ../llvm3.0.patch - sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" $(find $SRC -name '*.py') sed -i -e "s|PYTHON2 = python|PYTHON2 = python2|" $SRC/Mesa-$version/configs/{default,autoconf.in} sed -i -e "s|python|python2|" $SRC/Mesa-$version/src/gallium/auxiliary/Makefile ./configure $XORG_CONFIG \ - --with-driver=dri \ --with-dri-driverdir=$XORG_PREFIX/lib/dri \ - --with-dri-drivers="i810,i915,i965,mga,mach64,nouveau,r128,r200,r300,r600,radeon,savage,sis,unichrome,tdfx,swrast" \ - --with-gallium-drivers="r300,r600,nouveau,swrast" \ + --with-dri-drivers="i915,i965,nouveau,r200,radeon,swrast" \ + --with-gallium-drivers="i915,r300,r600,nouveau,swrast,svga" \ --enable-egl \ --enable-gles1 \ --enable-gles2 \ @@ -32,15 +27,16 @@ build() { --enable-gallium-egl \ --enable-gallium-llvm \ --enable-texture-float \ - --enable-glut \ --enable-shared-glapi \ --enable-glx-tls \ - --enable-xcb \ - --enable-shared-dricore - - # La compilation multithread casse le dricore partagé. + --enable-dri \ + --enable-shared-dricore \ + --enable-osmesa \ + --enable-xa \ +# --enable-gallium-g3dvl +# --enable-d3d1x \ +# --enable-xorg make - install -m755 -d $PKG/$XORG_PREFIX/lib{,/X11/modules/extensions} bin/minstall lib/libGL.so* $PKG/$XORG_PREFIX/lib/ ln -s libglx.xorg $PKG/$XORG_PREFIX/lib/X11/modules/extensions/libglx.so -- cgit v1.2.3-54-g00ecf