diff options
author | piernov <piernov@piernov.org> | 2012-02-22 18:46:53 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-02-22 18:46:53 +0100 |
commit | aaf8170faf3e4c6bd348b191610e93d322b73743 (patch) | |
tree | 729fb0a07efa09ae87e20cb58f684ba85efdb75d /libgl/Pkgfile | |
parent | d5fe66f2fb82fc0485961293e669a363e2edba7b (diff) | |
download | nutyx-pakxe-aaf8170faf3e4c6bd348b191610e93d322b73743.tar.gz nutyx-pakxe-aaf8170faf3e4c6bd348b191610e93d322b73743.tar.bz2 nutyx-pakxe-aaf8170faf3e4c6bd348b191610e93d322b73743.tar.xz nutyx-pakxe-aaf8170faf3e4c6bd348b191610e93d322b73743.zip |
libgl 8.0.1-1 màj port
Diffstat (limited to 'libgl/Pkgfile')
-rw-r--r-- | libgl/Pkgfile | 26 |
1 files changed, 11 insertions, 15 deletions
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 |