[arch-commits] CVS update of extra/x11-drivers/xf86-video-i810 (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sun Mar 16 21:23:33 UTC 2008
Date: Sunday, March 16, 2008 @ 17:23:33
Author: jgc
Path: /home/cvs-extra/extra/x11-drivers/xf86-video-i810
Modified: PKGBUILD (1.18 -> 1.19)
upgpkg: xf86-video-i810 1.7.4-7
Update mesa
----------+
PKGBUILD | 37 +++++++++++++++++--------------------
1 file changed, 17 insertions(+), 20 deletions(-)
Index: extra/x11-drivers/xf86-video-i810/PKGBUILD
diff -u extra/x11-drivers/xf86-video-i810/PKGBUILD:1.18 extra/x11-drivers/xf86-video-i810/PKGBUILD:1.19
--- extra/x11-drivers/xf86-video-i810/PKGBUILD:1.18 Sat Sep 22 14:04:26 2007
+++ extra/x11-drivers/xf86-video-i810/PKGBUILD Sun Mar 16 17:23:32 2008
@@ -1,56 +1,53 @@
-# $Id: PKGBUILD,v 1.18 2007/09/22 18:04:26 alexander Exp $
+# $Id: PKGBUILD,v 1.19 2008/03/16 21:23:32 jgc Exp $
# Maintainer: Alexander Baldeck <alexander at archlinux.org>
# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=xf86-video-i810
pkgver=1.7.4
-pkgrel=6
+pkgrel=7
pkgdesc="X.org Intel i810/i830/i915 video drivers"
-mesaver="7.0"
+_mesaver="7.0.3-rc2"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
depends=('libdrm>=2.3.0' 'expat>=2.0')
-makedepends=('pkgconfig' 'xorg-server>=1.3.0.0-3' 'imake' 'xf86driproto'
- 'libxvmc' 'glproto' 'mesa>=7.0')
+makedepends=('pkgconfig' 'xorg-server>=1.4.0.90' 'imake' 'xf86driproto'
+ 'libxvmc' 'glproto' 'mesa>=7.0.3rc2')
options=(!libtool)
groups=('xorg-video-drivers')
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
- http://heanet.dl.sourceforge.net/mesa3d/MesaLib-${mesaver}.tar.bz2
+ http://www.mesa3d.org/beta/MesaLib-${_mesaver}.tar.gz
mergedfb-checks.patch)
+md5sums=('744a6ee1ebfe1c74e3b170b8d7ef8395'
+ '141f5c1c89b090d0f0bd92522ebb8de9'
+ '529511b1e0c2c2f7c5c03aa98178b1ae')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
patch -Np1 -R -i ${startdir}/src/mergedfb-checks.patch || return 1
./configure --prefix=/usr \
- --enable-dri \
- --build=${CHOST} --host=${CHOST}
+ --enable-dri || return 1
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
-
- cd ${startdir}/src/Mesa-${mesaver}/configs
+ cd ${startdir}/src/Mesa-${_mesaver}
+ cd configs
CONFIG="linux-dri-x86"
[ "$CARCH" = "x86_64" ] && CONFIG="linux-dri-x86-64"
echo "EXTRA_LIB_PATH =" >> ${CONFIG}
- echo "OPT_FLAGS = ${CFLAGS} -fno-strict-aliasing" >> ${CONFIG}
+ echo "OPT_FLAGS = ${CFLAGS}" >> ${CONFIG}
echo "SRC_DIRS = glx/x11 mesa" >> ${CONFIG}
echo "USING_EGL = 0" >> ${CONFIG}
echo "PROGRAM_DIRS =" >> ${CONFIG}
echo "MKDEP = makedepend" >> ${CONFIG}
echo "DRI_DIRS = i810 i915 i915tex i965" >> ${CONFIG}
echo "DRI_DRIVER_SEARCH_DIR = /usr/lib/xorg/modules/dri" >> ${CONFIG}
+ echo "DRI_DRIVER_INSTALL_DIR = /usr/lib/xorg/modules/dri" >> ${CONFIG}
echo "ARCH_FLAGS += -DGLX_USE_TLS" >> ${CONFIG}
echo "X11_INCLUDES = `pkg-config --cflags-only-I x11`" >> ${CONFIG}
ln -s ${CONFIG} current
- cd ${startdir}/src/Mesa-${mesaver}/src/mesa
- make libmesa.a || return 1
+ cd ${startdir}/src/Mesa-${_mesaver}/src/mesa
+ make linux-solo || return 1
cd drivers/dri
-
- mkdir -p ${startdir}/pkg/usr/lib/xorg/modules/dri
- make || return 1
- install -m 755 */*_dri.so ${startdir}/pkg/usr/lib/xorg/modules/dri/
+ make DESTDIR=${startdir}/pkg install || return 1
}
-md5sums=('744a6ee1ebfe1c74e3b170b8d7ef8395'
- '50c371455fa7532c04aa0a970f9bc51f'
- '529511b1e0c2c2f7c5c03aa98178b1ae')
More information about the arch-commits
mailing list