1 # Maintainer: Perry3D <perry3d@gmail.com>
2 # Contributor: Alexander Baldeck <alexander@archlinux.org>
6 pkgdesc="DRI drivers for ATI/AMD videochips from the git master branch."
8 url="http://xorg.freedesktop.org/"
10 depends=('libgl-git' 'expat>=2.0.1' 'mesa-git')
11 makedepends=('glproto-git' 'pkgconfig' 'libxfixes' 'libxdamage' 'libxxf86vm' 'libxext' 'dri2proto-git' 'mesa-git')
12 conflicts=('xf86-video-ati<6.9.0-6' 'ati-dri')
13 provides=('ati-dri=7.9')
16 source=(mesa-7.1-link-shared.patch \
19 _gitroot="git://anongit.freedesktop.org/git/mesa/mesa"
23 msg "Connecting to git.freedesktop.org GIT server...."
25 if [ -d $startdir/src/$_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf $startdir/src/$_gitname-build
36 cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
37 cd $startdir/src/$_gitname-build
39 # Any patches you may want to add go here
41 #patch -Np1 -i "${srcdir}/mesa-7.1-link-shared.patch" || return 1
42 ./autogen.sh --prefix=/usr \
43 --with-dri-driverdir=/usr/lib/xorg/modules/dri \
44 --with-dri-drivers=radeon,r200,r300,r600 \
51 --disable-glw || return 1
53 cd $startdir/src/$_gitname-build/src/mesa/drivers/dri || return 1
54 make DESTDIR="${pkgdir}" install || return 1
55 install -D -m644 "${srcdir}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
56 rm -f "${pkgdir}/usr/lib/xorg/modules/dri/libdricore.so"
57 rm -rf "${pkgdir}/usr/include"
58 rm -rf "${pkgdir}/usr/lib/pkgconfig"
61 md5sums=('5a8d58b6a19f550c7300325e9594e280'
62 '7ba429de367a2b3d273d2230cc705771')