blob: 62e12eb837352f03208ef6de6750805005d8d095 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $Id: PKGBUILD 156180 2012-04-15 10:27:42Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
pkgname=xf86-video-ati
pkgver=6.14.4
pkgrel=4
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
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')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
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
./configure --prefix=/usr --enable-dri
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make "DESTDIR=${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
|