aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-video-ati/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-03-17 09:06:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-03-27 15:29:37 +0000
commite23b77f00643e3e44d2128026a7179214037a728 (patch)
tree58e1ebb5c5a5faa5c88a11d1c941a9e788d6713e /main/xf86-video-ati/APKBUILD
parent2c98a1d85038dee7ff20cb85d7002874f779e906 (diff)
downloadaports-e23b77f00643e3e44d2128026a7179214037a728.tar.bz2
aports-e23b77f00643e3e44d2128026a7179214037a728.tar.xz
main/xf86-video-ati: fix for xorg-server-1.12
Diffstat (limited to 'main/xf86-video-ati/APKBUILD')
-rw-r--r--main/xf86-video-ati/APKBUILD22
1 files changed, 18 insertions, 4 deletions
diff --git a/main/xf86-video-ati/APKBUILD b/main/xf86-video-ati/APKBUILD
index 7d3d543c55..37d10581b4 100644
--- a/main/xf86-video-ati/APKBUILD
+++ b/main/xf86-video-ati/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-ati
pkgver=6.14.3
-pkgrel=1
+pkgrel=2
pkgdesc="ATI video driver"
url="http://xorg.freedesktop.org/"
arch="all"
@@ -10,10 +10,23 @@ subpackages="$pkgname-doc"
depends="mesa-dri-ati"
makedepends="pkgconfig xorg-server-dev libxi-dev fontsproto randrproto
videoproto renderproto libdrm-dev xf86driproto glproto mesa-dev
- xineramaproto udev-dev pixman-dev
+ xineramaproto udev-dev pixman-dev util-macros
+ autoconf automake libtool
"
-source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
+source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2
+ xf86-video-ati-6.14.3-xorg-server-1.12.patch
+ "
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+ aclocal && autoreconf
+}
build() {
cd "$srcdir"/$pkgname-$pkgver
@@ -32,4 +45,5 @@ package() {
rm "$pkgdir"/usr/lib/xorg/modules/*/*.la || return 1
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-md5sums="19126c8421a05d9605883dcf7498d876 xf86-video-ati-6.14.3.tar.bz2"
+md5sums="19126c8421a05d9605883dcf7498d876 xf86-video-ati-6.14.3.tar.bz2
+ff01b935d15ab799d3e3f415a810d0fe xf86-video-ati-6.14.3-xorg-server-1.12.patch"