diff options
Diffstat (limited to 'xorg/mesa3d/Pkgfile')
-rwxr-xr-x | xorg/mesa3d/Pkgfile | 38 |
1 files changed, 26 insertions, 12 deletions
diff --git a/xorg/mesa3d/Pkgfile b/xorg/mesa3d/Pkgfile index a776d7873..f62985d97 100755 --- a/xorg/mesa3d/Pkgfile +++ b/xorg/mesa3d/Pkgfile @@ -2,34 +2,48 @@ # URL: http://www.mesa3d.org # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch -# Depends on: talloc, expat, libdrm, xorg-makedepend, xorg-glproto, xorg-xextproto, xorg-dri2proto, xorg-libx11, xorg-libxext, xorg-libxxf86vm, xorg-libxt, xorg-libxdamage +# Depends on: talloc, expat, libdrm, xorg-makedepend, xorg-glproto, xorg-xextproto, xorg-dri2proto, xorg-libx11, xorg-libxext, xorg-libxxf86vm, xorg-libxt, xorg-libxdamage, llvm # Run on: talloc,expat,libdrm,xorg-makedepend,xorg-libx11,xorg-libxext,xorg-libxxf86vm,xorg-libxt,xorg-libxdamage name=mesa3d -version=7.10.3 +version=7.11 release=1 -source=(http://nutyx.meticul.eu/files/MesaLib-$version.tar.gz) +source=(ftp://ftp.freedesktop.org/pub/mesa/7.11/MesaLib-$version.tar.bz2) build() { cd Mesa-$version - 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|#![ ]*/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 \ - --enable-xcb - make + --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" \ + --enable-egl \ + --enable-gles1 \ + --enable-gles2 \ + --enable-openvg \ + --enable-xorg \ + --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é. + make -j1 # mesa make DESTDIR=$PKG install - # libgl - cd $SRC/Mesa-* - bin/minstall lib/lib* $PKG/usr/lib/ + # libgl + bin/minstall lib/lib* $PKG/usr/lib/ case `uname -m` in x86_64) |