diff options
Diffstat (limited to 'main/xf86-video-rendition/APKBUILD')
-rw-r--r-- | main/xf86-video-rendition/APKBUILD | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/main/xf86-video-rendition/APKBUILD b/main/xf86-video-rendition/APKBUILD index 4d996b9607..9fad413112 100644 --- a/main/xf86-video-rendition/APKBUILD +++ b/main/xf86-video-rendition/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xf86-video-rendition pkgver=4.2.4 -pkgrel=3 +pkgrel=4 pkgdesc="Rendition video driver" url="http://xorg.freedesktop.org/" arch="all" @@ -11,7 +11,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 + rendition-4.2.4-git.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 +} build() { cd "$srcdir"/$pkgname-$pkgver @@ -26,4 +36,5 @@ package() { rm "$pkgdir"/usr/lib/xorg/modules/*/*.la || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } -md5sums="75cc28125077acb7344955294545553b xf86-video-rendition-4.2.4.tar.bz2" +md5sums="75cc28125077acb7344955294545553b xf86-video-rendition-4.2.4.tar.bz2 +817a3bcfb4d5bb187bf2b2723febb0c1 rendition-4.2.4-git.patch" |