From 714a096d29186cb6c484945b9bc3adc076123278 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 21 Jul 2010 13:26:02 +0000 Subject: main/xf86-video-cirrus: add patch so qemu screen is detected comes from: http://cvs.fedoraproject.org/viewvc/rpms/xorg-x11-drv-cirrus/devel/cirrus-1.2.0-qemu.patch --- main/xf86-video-cirrus/APKBUILD | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'main/xf86-video-cirrus/APKBUILD') diff --git a/main/xf86-video-cirrus/APKBUILD b/main/xf86-video-cirrus/APKBUILD index db531d89df..c2412a6a8a 100644 --- a/main/xf86-video-cirrus/APKBUILD +++ b/main/xf86-video-cirrus/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=xf86-video-cirrus pkgver=1.3.2 -pkgrel=2 +pkgrel=3 pkgdesc="Cirrus Logic video driver" url="http://xorg.freedesktop.org/" license="custom" @@ -10,7 +10,17 @@ depends= makedepends="pkgconfig xorg-server-dev libxi-dev fontsproto randrproto videoproto renderproto" -source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2" +source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2 + qemu.patch" + +prepare() { + cd "$srcdir"/$pkgname-$pkgver + for i in $source; do + case $i in + *.patch) patch -p1 -i "$srcdir"/$i || return 1 + esac + done +} build() { cd "$srcdir"/$pkgname-$pkgver @@ -24,4 +34,5 @@ package() { make DESTDIR="$pkgdir" install || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } -md5sums="8195d03ed0be0975c03441e66a9f53b3 xf86-video-cirrus-1.3.2.tar.bz2" +md5sums="8195d03ed0be0975c03441e66a9f53b3 xf86-video-cirrus-1.3.2.tar.bz2 +b3bd556766fcd0fee51ae0c286f75f05 qemu.patch" -- cgit v1.2.3