xorg/mesa3d/Pkgfile
2015-01-18 01:35:59 +11:00

38 lines
1.1 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
## libva supplies gallium_drv_video.so and gallium_drv_video.la but can't be added due to libva depending on mesa3d
name=mesa3d
version=10.4.2
release=2
source=(ftp://ftp.freedesktop.org/pub/mesa/$version/MesaLib-$version.tar.bz2)
build() {
cd Mesa-$version
autoreconf --install --symlink
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--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 \
--disable-dependency-tracking \
--with-egl-platforms=drm \
--with-gallium-drivers=r300,r600,svga,swrast,radeonsi,nouveau
make
make DESTDIR=$PKG install
}