mesa3d-32: enable --enable-texture-float for opengl 3 support

This commit is contained in:
Danny Rawlins 2013-11-23 20:16:25 +11:00
parent abd3c1be6c
commit 3499b5c5fd

View File

@ -5,13 +5,14 @@
name=mesa3d-32
version=9.2.3
release=1
release=2
source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2)
build() {
cd Mesa-$version
# Do not fail to compile if llvm is installed and llvm-32 is not installed,
# Do not fail to compile if llvm is installed and
# llvm-32 is not installed,
# required for gallium llvm support.
local f
for f in $(grep -r -l llvm-config | xargs); do
@ -19,13 +20,15 @@ build() {
done
autoreconf --install --symlink
./configure --prefix=/usr \
./configure \
--prefix=/usr \
--libdir=/usr/lib32 \
--with-dri-drivers=i915,i965,r200,radeon,swrast,nouveau \
--with-gallium-drivers=i915,r600,svga,nouveau \
--enable-texture-float \
--host=i686-pc-linux-gnu
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/{bin,etc,include}
rm -r $PKG/usr/{etc,include}
}