diff options
Diffstat (limited to 'testing/mesa')
-rw-r--r-- | testing/mesa/PKGBUILD | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/testing/mesa/PKGBUILD b/testing/mesa/PKGBUILD index e6fedf350..dbc313875 100644 --- a/testing/mesa/PKGBUILD +++ b/testing/mesa/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 132095 2011-07-20 07:12:09Z andyrtr $ +# $Id: PKGBUILD 134098 2011-08-01 12:57:59Z ibiru $ # Maintainer: Jan de Groot <jgc@archlinux.org> # Maintainer: Andreas Radke <andyrtr@archlinux.org> @@ -10,9 +10,9 @@ _git=false if [ "${_git}" = "true" ]; then #pkgver=7.10.99.git20110709 - pkgver=7.11rc2 + pkgver=7.11 else - pkgver=7.11rc2 + pkgver=7.11 fi pkgrel=1 arch=('i686' 'x86_64') @@ -20,27 +20,22 @@ makedepends=('glproto>=1.4.14' 'libdrm>=2.4.26' 'libxxf86vm>=1.1.1' 'libxdamage> 'gcc-libs>=4.6.1' 'dri2proto>=2.6' 'python2' 'libxml2' 'imake' 'llvm' 'udev') url="http://mesa3d.sourceforge.net" license=('custom') -source=(LICENSE - #git_fixes.patch - linking_fix.patch) +source=(LICENSE) if [ "${_git}" = "true" ]; then # mesa git shot from 7.11 branch - see for state: http://cgit.freedesktop.org/mesa/mesa/commit/?h=7.11&id=1ae00c5960af83bea9545a18a1754bad83d5cbd0 #source=(${source[@]} 'ftp://ftp.archlinux.org/other/mesa/mesa-1ae00c5960af83bea9545a18a1754bad83d5cbd0.tar.bz2') source=(${source[@]} "MesaLib-${pkgver}.zip"::"http://cgit.freedesktop.org/mesa/mesa/snapshot/mesa-ef9f16f6322a89fb699fbe3da868b10f9acaef98.tar.bz2") else - source=(${source[@]} "ftp://ftp.freedesktop.org/pub/mesa/${pkgver/rc2/}/MesaLib-${pkgver/rc/-rc}.tar.bz2" + source=(${source[@]} "ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.tar.bz2" ) fi md5sums=('5c65a0fe315dd347e09b1f2826a1df5a' - '887be83c01d126c2a4cb372af7d3b067' - 'caf5f553a4a3f98207bd3b30b3c7eb2e') + 'ff03aca82d0560009a076a87c888cf13') build() { cd ${srcdir}/?esa-* - + if [ "${_git}" = "true" ]; then - #patch -Np1 -i ${srcdir}/git_fixes.patch - patch -Np1 -i ${srcdir}/linking_fix.patch autoreconf -vfi ./autogen.sh --prefix=/usr \ --with-dri-driverdir=/usr/lib/xorg/modules/dri \ @@ -60,7 +55,7 @@ if [ "${_git}" = "true" ]; then # --enable-gallium-svga \ else - autoreconf -vfi + autoreconf -vfi ./configure --prefix=/usr \ --with-dri-driverdir=/usr/lib/xorg/modules/dri \ --with-gallium-drivers=r300,r600,nouveau,swrast \ @@ -84,7 +79,7 @@ package_libgl() { depends=('libdrm>=2.4.26' 'libxxf86vm>=1.1.1' 'libxdamage>=1.1.3' 'expat>=2.0.1' 'libglapi' 'gcc-libs') pkgdesc="Mesa 3-D graphics library and DRI software rasterizer" - cd ${srcdir}/?esa-* + cd ${srcdir}/?esa-* install -m755 -d "${pkgdir}/usr/lib" install -m755 -d "${pkgdir}/usr/lib/xorg/modules/extensions" |