xorg/mesa3d/Pkgfile

38 lines
1.0 KiB
Plaintext

# Description: Mesa 3D Graphics Library
# URL: http://www.mesa3d.org
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
# Depends on: elfutils expat libdrm libvdpau libxml2-python llvm talloc xorg-dri2proto xorg-dri3proto xorg-glproto xorg-libxdamage xorg-libxshmfence xorg-libxt xorg-libxvmc xorg-libxxf86vm xorg-makedepend xorg-presentproto
name=mesa3d
version=10.3.6
release=2
source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2
mesa3d-10.3.6-xmlconfig-path.patch)
build() {
cd Mesa-$version
patch -p1 -i $SRC/mesa3d-10.3.6-xmlconfig-path.patch
autoreconf --install --symlink
./configure \
--prefix=/usr \
--enable-gallium-egl \
--enable-gallium-gbm \
--enable-gallium-llvm \
--enable-gbm \
--enable-gles1 \
--enable-gles2 \
--enable-glx-tls \
--enable-osmesa \
--enable-texture-float \
--enable-xa \
--enable-vdpau \
--enable-llvm-shared-libs \
--with-egl-platforms=drm \
--with-gallium-drivers=r300,r600,svga,swrast,radeonsi,nouveau
make
make DESTDIR=$PKG install
}