Skip to content
Snippets Groups Projects
Commit 767d9f73 authored by Laurent Carlier's avatar Laurent Carlier
Browse files

Synced with extra

parent 4ae05c82
No related branches found
Tags 20171213
No related merge requests found
......@@ -5,28 +5,28 @@ pkgbase=lib32-mesa
pkgname=('lib32-mesa' 'lib32-libgl' 'lib32-libgles' 'lib32-libegl' 'lib32-ati-dri' 'lib32-intel-dri' 'lib32-unichrome-dri' 'lib32-mach64-dri' 'lib32-mga-dri' 'lib32-r128-dri' 'lib32-savage-dri'
'lib32-sis-dri' 'lib32-tdfx-dri' 'lib32-nouveau-dri')
_git=true
#_git=false
#_git=true
_git=false
if [ "${_git}" = "true" ]; then
pkgver=7.10.99.git20110612
pkgver=7.10.99.git20110616
else
pkgver=7.10.2
pkgver=7.10.3
fi
pkgrel=1
arch=(x86_64)
makedepends=('glproto>=1.4.12' 'pkgconfig' 'lib32-libdrm>=2.4.25' 'lib32-libxxf86vm>=1.1.1' 'lib32-libxdamage>=1.1.3' 'lib32-expat>=2.0.1' 'lib32-libx11>=1.4.3' 'lib32-libxt>=1.1.1'
'lib32-gcc-libs>=4.5' 'dri2proto=2.3' 'python2' 'libxml2' 'gcc-multilib' imake 'lib32-udev' 'lib32-llvm')
'lib32-gcc-libs>=4.5' 'dri2proto=2.3' 'python2' 'libxml2' 'gcc-multilib' imake 'lib32-udev') # 'lib32-llvm'
url="http://mesa3d.sourceforge.net"
license=('custom')
if [ "${_git}" = "true" ]; then
# mesa git shot from mastee (will become 7.11) branch - see for state: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a00dd974699e369b1eb292103fbde8bc6adfb87
source=('ftp://ftp.archlinux.org/other/mesa/mesa-9a00dd974699e369b1eb292103fbde8bc6adfb87.tar.bz2')
md5sums=('77b10baeba21268d2a65440f99f97c12')
# mesa git shot from mastee (will become 7.11) branch - see for state: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc8c4a3a7b92a1134cd3a9312063abba9e14b0fe
source=('ftp://ftp.archlinux.org/other/mesa/mesa-fc8c4a3a7b92a1134cd3a9312063abba9e14b0fe.tar.bz2')
md5sums=('f9cf11f9fd8f5d2092536fc48fad922f')
else
source=("ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.tar.bz2" nouveau-fix-header.patch)
md5sums=('f5de82852f1243f42cc004039e10b771' '67c87b77cc2236b52a3b47dad3fbb5d4')
source=("ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.zip" nouveau-fix-header.patch)
md5sums=('614d063ecd170940d9ae7b355d365d59' '67c87b77cc2236b52a3b47dad3fbb5d4')
fi
build() {
......@@ -67,11 +67,12 @@ build() {
--enable-gles2 \
--enable-egl \
--enable-texture-float \
--enable-shared-dricore \
--enable-32-bit \
--libdir=/usr/lib32
# --enable-gallium-svga \
# --enable-texture-float (enable floating-point textures and renderbuffers) - http://www.phoronix.com/scan.php?page=news_item&px=OTMzMg
# --enable-shared-dricore - http://bugs.gentoo.org/show_bug.cgi?id=357177
# --enable-shared-dricore - link DRI modules with shared core DRI routines[default=disabled] http://bugs.gentoo.org/show_bug.cgi?id=357177
# --enable-shared-glapi EXPERIMENTAL. Enable shared glapi for OpenGL[default=no]
else
./configure --prefix=/usr \
--with-dri-driverdir=/usr/lib32/xorg/modules/dri \
......@@ -109,6 +110,10 @@ package_lib32-libgl() {
install -m755 -d "${pkgdir}/usr/lib32/xorg/modules/extensions"
bin/minstall lib32/libGL.so* "${pkgdir}/usr/lib32/"
if [ "${_git}" = "true" ]; then
bin/minstall lib32/libdricore.so* "${pkgdir}/usr/lib32/"
bin/minstall lib32/libglsl.so* "${pkgdir}/usr/lib32/"
fi
if [ "${_git}" = "true" ]; then
make -C ${srcdir}/mesa-*/src/gallium/targets/dri-swrast DESTDIR="${pkgdir}" install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment