# $Id: PKGBUILD 159235 2012-05-18 15:27:54Z andyrtr $ # Maintainer: Jan de Groot # Contributor: Alexander Baldeck pkgname=xf86-video-ati pkgver=6.14.99 _gitdate=20120517 pkgrel=0.${_gitdate} pkgdesc="X.org ati video driver" arch=('i686' 'x86_64') url="http://xorg.freedesktop.org/" license=('custom') depends=('libpciaccess' 'libdrm>=2.4.33' 'udev' 'pixman' 'ati-dri') makedepends=('xorg-server-devel>=1.11.99.902' 'xf86driproto' 'mesa' 'glproto') conflicts=('xorg-server<1.11.99.902') groups=('xorg-drivers' 'xorg') options=('!libtool') source=(#${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 ${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2::http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/snapshot/xf86-video-ati-3fb694b308ebadd1b849836059b6b56bb19385f7.tar.gz git_fixes.diff 0000-poor-man-s-solid-picture-support-for-r300-r600.patch 0001-poor-man-s-solid-picture-support-for-evergreen.patch 0002-poor-man-s-solid-picture-support-for-r100.patch 0003-poor-man-s-solid-picture-support-for-r200.patch) sha1sums=('75ad000bc00599e1797134f2d20d3094cba6af92' '8b774e2f0310075cff2b7d874b0bed38d6245769' '787f88c428f56ca6e96ba5eaf043a30bddfd0e23' '69359a6623fe0f2214790c8ad40cac1a680a3825' 'c0709ab82728e34838a8aeead7d1b79b7faf09bd' '77a519e250c27a9fb94eeb52da655eed7c5f2eca') sha1sums=('80c12b88e193354af204b13689b2fae922922c6c' '8b774e2f0310075cff2b7d874b0bed38d6245769' '787f88c428f56ca6e96ba5eaf043a30bddfd0e23' '69359a6623fe0f2214790c8ad40cac1a680a3825' 'c0709ab82728e34838a8aeead7d1b79b7faf09bd' '77a519e250c27a9fb94eeb52da655eed7c5f2eca') build() { #cd ${srcdir}/${pkgname}-${pkgver} cd ${srcdir}/${pkgname}* #patch -Np1 -i ${srcdir}/git_fixes.diff # fix rendering issues with recent cairo - testing attemp taken from https://bugs.freedesktop.org/show_bug.cgi?id=47266 # and http://lists.x.org/archives/xorg-driver-ati/2012-April/022724.html # patch -Np1 -i ${srcdir}/0000-poor-man-s-solid-picture-support-for-r300-r600.patch # patch -Np1 -i ${srcdir}/0001-poor-man-s-solid-picture-support-for-evergreen.patch # patch -Np1 -i ${srcdir}/0002-poor-man-s-solid-picture-support-for-r100.patch # patch -Np1 -i ${srcdir}/0003-poor-man-s-solid-picture-support-for-r200.patch ./autogen.sh --prefix=/usr --enable-dri # ./configure --prefix=/usr --enable-dri make } package() { #cd "${srcdir}/${pkgname}-${pkgver}" cd ${srcdir}/${pkgname}* make "DESTDIR=${pkgdir}" install install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" }