summaryrefslogtreecommitdiff
path: root/multilib-testing
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-18 23:03:19 +0000
committerroot <root@rshg047.dnsready.net>2011-06-18 23:03:19 +0000
commitc80552b41838a5668458ebb1eb9b0f44ea6fe879 (patch)
treed8404bc10128ad69e29c762d116434876e5885a7 /multilib-testing
parente96f6ac6e912185a495a99af2b0d51b73bd1d044 (diff)
Sat Jun 18 23:03:19 UTC 2011
Diffstat (limited to 'multilib-testing')
-rw-r--r--multilib-testing/lib32-mesa/PKGBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/multilib-testing/lib32-mesa/PKGBUILD b/multilib-testing/lib32-mesa/PKGBUILD
index 4180ba36c..c1c867847 100644
--- a/multilib-testing/lib32-mesa/PKGBUILD
+++ b/multilib-testing/lib32-mesa/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 49162 2011-06-12 18:11:21Z lcarlier $
+# $Id: PKGBUILD 49477 2011-06-17 12:30:44Z lcarlier $
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
@@ -10,9 +10,9 @@ _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
@@ -22,12 +22,12 @@ makedepends=('glproto>=1.4.12' 'pkgconfig' 'lib32-libdrm>=2.4.25' 'lib32-libxxf8
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() {
@@ -68,11 +68,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 \
@@ -110,6 +111,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