use autoreconf instead of autogen

This commit is contained in:
LW-archlinux 2018-01-10 00:27:36 +01:00
parent 2e080a5556
commit e4da399724
2 changed files with 30 additions and 30 deletions

View File

@ -1,7 +1,7 @@
pkgbase = mesa-git pkgbase = mesa-git
pkgdesc = an open-source implementation of the OpenGL specification, git version pkgdesc = an open-source implementation of the OpenGL specification, git version
pkgver = 17.4.0_devel.98776.ec1edd0fd2 pkgver = 17.4.0_devel.98979.adfb9c5c7b
pkgrel = 2 pkgrel = 1
url = http://mesa3d.sourceforge.net url = http://mesa3d.sourceforge.net
arch = x86_64 arch = x86_64
license = custom license = custom

View File

@ -12,8 +12,8 @@
pkgbase=mesa-git pkgbase=mesa-git
pkgname=('mesa-git') pkgname=('mesa-git')
pkgdesc="an open-source implementation of the OpenGL specification, git version" pkgdesc="an open-source implementation of the OpenGL specification, git version"
pkgver=17.4.0_devel.98776.ec1edd0fd2 pkgver=17.4.0_devel.98979.adfb9c5c7b
pkgrel=2 pkgrel=1
arch=('x86_64') arch=('x86_64')
makedepends=('git' 'python2-mako' 'llvm-svn' 'libclc' 'clang-svn' 'glproto' makedepends=('git' 'python2-mako' 'llvm-svn' 'libclc' 'clang-svn' 'glproto'
'dri2proto' 'dri3proto' 'presentproto' 'libxml2' 'libx11' 'dri2proto' 'dri3proto' 'presentproto' 'libxml2' 'libx11'
@ -35,11 +35,12 @@ sha512sums=('SKIP'
'75849eca72ca9d01c648d5ea4f6371f1b8737ca35b14be179e14c73cc51dca0739c333343cdc228a6d464135f4791bcdc21734e2debecd29d57023c8c088b028') '75849eca72ca9d01c648d5ea4f6371f1b8737ca35b14be179e14c73cc51dca0739c333343cdc228a6d464135f4791bcdc21734e2debecd29d57023c8c088b028')
prepare() { prepare() {
cd ${srcdir}/mesa cd mesa
# glvnd support patches - from Fedora # glvnd support patches - from Fedora
# non-upstreamed ones # non-upstreamed ones
patch -Np1 -i ../glvnd-fix-gl-dot-pc.patch patch -Np1 -i ../glvnd-fix-gl-dot-pc.patch
autoreconf -fi
} }
@ -51,25 +52,24 @@ pkgver() {
build () { build () {
cd mesa cd mesa
./configure \
--prefix=/usr \
./autogen.sh --prefix=/usr \ --sysconfdir=/etc \
--sysconfdir=/etc \ --with-gallium-drivers=i915,r300,r600,radeonsi,nouveau,svga,swrast,virgl \
--with-gallium-drivers=i915,r300,r600,radeonsi,nouveau,svga,swrast,virgl \ --with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \
--with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast \ --with-platforms=x11,drm,wayland \
--with-platforms=x11,drm,wayland \ --with-vulkan-drivers=intel,radeon \
--with-vulkan-drivers=intel,radeon \ --enable-texture-float \
--enable-texture-float \ --enable-gallium-osmesa \
--enable-gallium-osmesa \ --enable-xa \
--enable-xa \ --enable-nine \
--enable-nine \ --disable-xvmc \
--disable-xvmc \ --enable-vdpau \
--enable-vdpau \ --enable-omx-bellagio \
--enable-omx-bellagio \ --enable-opencl \
--enable-opencl \ --enable-opencl-icd \
--enable-opencl-icd \ --enable-glx-tls \
--enable-glx-tls \ --enable-libglvnd
--enable-libglvnd
# Used configure settings # Used configure settings
@ -119,12 +119,12 @@ package_mesa-git() {
cd mesa cd mesa
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
# remove files present in libglvnd # remove files provided by libglvnd
rm $pkgdir/usr/lib/libGLESv1_CM.so rm "$pkgdir"/usr/lib/libGLESv1_CM.so
rm $pkgdir/usr/lib/libGLESv1_CM.so.1 rm "$pkgdir"/usr/lib/libGLESv1_CM.so.1
rm $pkgdir/usr/lib/libGLESv2.so rm "$pkgdir"/usr/lib/libGLESv2.so
rm $pkgdir/usr/lib/libGLESv2.so.2 rm "$pkgdir"/usr/lib/libGLESv2.so.2
rm $pkgdir/usr/lib/libGLESv2.so.2.0.0 rm "$pkgdir"/usr/lib/libGLESv2.so.2.0.0
# indirect rendering # indirect rendering
ln -s /usr/lib/libGLX_mesa.so.0 ${pkgdir}/usr/lib/libGLX_indirect.so.0 ln -s /usr/lib/libGLX_mesa.so.0 ${pkgdir}/usr/lib/libGLX_indirect.so.0