[arch-commits] Commit in mesa/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Tue Mar 8 23:38:34 UTC 2011


    Date: Tuesday, March 8, 2011 @ 18:38:34
  Author: jgc
Revision: 113503

Minor changes: no need for talloc anymore, upstream supports python2 now

Modified:
  mesa/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-03-08 23:37:07 UTC (rev 113502)
+++ PKGBUILD	2011-03-08 23:38:34 UTC (rev 113503)
@@ -16,7 +16,7 @@
 pkgrel=1
 arch=('i686' 'x86_64')
 makedepends=('glproto>=1.4.12' 'pkgconfig' 'libdrm>=2.4.23' 'libxxf86vm>=1.1.0' 'libxdamage>=1.1.3' 'expat>=2.0.1' 'libx11>=1.3.5' 'libxt>=1.0.8' 
-             'gcc-libs>=4.5' 'dri2proto=2.3' 'python2' 'talloc' 'libxml2' 'imake')
+             'gcc-libs>=4.5' 'dri2proto=2.3' 'python2' 'libxml2' 'imake')
 url="http://mesa3d.sourceforge.net"
 license=('custom')
 source=(LICENSE)
@@ -37,12 +37,6 @@
     cd "${srcdir}/Mesa-${pkgver}" 
 fi
 
-  # python2 build fixes
-  sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
-         -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" $(find $srcdir -name '*.py')
-  sed -i -e "s|PYTHON2 = python|PYTHON2 = python2|" configs/{default,autoconf.in}
-  sed -i -e "s|python|python2|" src/gallium/auxiliary/Makefile
-
 if [ "${_git}" = "true" ]; then
     ./autogen.sh --prefix=/usr \
     --with-dri-driverdir=/usr/lib/xorg/modules/dri \
@@ -203,7 +197,7 @@
   make -C radeon DESTDIR="${pkgdir}" install
   make -C r200 DESTDIR="${pkgdir}" install
   # classic mesa driver for R300 r300_dri.so
-  #make -C r300 DESTDIR="${pkgdir}" install  <------- depricated
+  #make -C r300 DESTDIR="${pkgdir}" install  <------- deprecated
   # gallium3D driver for R300 r300_dri.so
 if [ "${_git}" = "true" ]; then
     make -C ${srcdir}/mesa-*/src/gallium/targets/dri-r300 DESTDIR="${pkgdir}" install




More information about the arch-commits mailing list