Created
September 30, 2016 23:29
-
-
Save anonymous/3b153d5bc37bcd9e17ad01d71c13504a to your computer and use it in GitHub Desktop.
Pkgfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 llvm xorg-dri3proto xorg-glproto xorg-libxdamage xorg-libxshmfence xorg-libxvmc xorg-presentproto xorg-libxxf86vm | |
# Optional: nettle | |
name=mesa3d | |
version=12.0.3 | |
release=1 | |
source=(ftp://ftp.freedesktop.org/pub/mesa/$version/mesa-$version.tar.xz) | |
build() { | |
cd mesa-$version | |
./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=x11,drm \ | |
--with-gallium-drivers=r300,r600,svga,swrast,radeonsi,nouveau | |
make | |
make DESTDIR=$PKG install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment