diff options
Diffstat (limited to 'mesa3d/Pkgfile')
-rwxr-xr-x | mesa3d/Pkgfile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mesa3d/Pkgfile b/mesa3d/Pkgfile index 651282d6b..5f3cd2b6e 100755 --- a/mesa3d/Pkgfile +++ b/mesa3d/Pkgfile @@ -7,7 +7,7 @@ name=mesa3d version=8.0.99 -release=e2c08e82-1 +release=284325d9-1 #source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2) source=(http://cgit.freedesktop.org/mesa/mesa/snapshot/mesa-${release%-*}.tar.gz) @@ -16,11 +16,11 @@ build() { ./autogen.sh 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|" configs/{default,autoconf.in} + sed -i -e "s|PYTHON2 = python|PYTHON2 = python2|" configs/{default,current.in} sed -i -e "s|python|python2|" src/gallium/auxiliary/Makefile sed -i 's|$(LLVM_LIBS)|$(LLVM_LIBS) $(LLVM_LDFLAGS)|' src/gallium/tests/trivial/Makefile - sed -i 's|$(LLVM_LIBS)|$(LLVM_LIBS) $(LLVM_LDFLAGS)|' src/gallium/targets/opencl/Makefile.am +# sed -i 's|$(LLVM_LIBS)|$(LLVM_LIBS) $(LLVM_LDFLAGS)|' src/gallium/targets/opencl/Makefile.am ./configure $XORG_CONFIG \ --enable-opengl \ @@ -51,7 +51,8 @@ build() { --enable-gallium-llvm \ --with-gallium-drivers="i915,nouveau,r300,r600,swrast,svga" \ --with-dri-driverdir=$XORG_PREFIX/lib/dri \ - --with-dri-drivers="i915,i965,intel,nouveau,r200,radeon,swrast" + --with-dri-drivers="i915,i965,intel,nouveau,r200,radeon,swrast" \ + --with-clang-libdir=/usr/lib # --enable-d3d1x # --with-dri-drivers="i915,i965,intel,nouveau,r200,radeon,swrast" # --with-gallium-drivers="i915,nouveau,r300,r600,radeonsi,svga" @@ -60,6 +61,8 @@ build() { # mesa make DESTDIR=$PKG install + cp src/mesa/gl.pc $PKG/usr/lib/pkgconfig + # libgl bin/minstall lib/lib* $PKG/usr/lib/ |