Mail archive
alpine-aports

[alpine-aports] [PATCH 4/7] main/xf86-video-nouveau: upgrade to 1.0.12

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
Date: Thu, 17 Dec 2015 06:24:26 +0100

Also don't fetch the source from git.
---
 main/xf86-video-nouveau/APKBUILD | 37 +++++++++++--------------------------
 1 file changed, 11 insertions(+), 26 deletions(-)
diff --git a/main/xf86-video-nouveau/APKBUILD b/main/xf86-video-nouveau/APKBUILD
index 7e6e14e..0c6b3c4 100644
--- a/main/xf86-video-nouveau/APKBUILD
+++ b/main/xf86-video-nouveau/APKBUILD
_at_@ -1,8 +1,7 @@
+# Contributor: Sören Tempel <soeren+alpine_at_soeren-tempel.net>
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=xf86-video-nouveau
-#_gitdate=20111010
-pkgver=1.0.11_git20150913
-_ver=${pkgver%_git*}
+pkgver=1.0.12
 pkgrel=0
 pkgdesc="Open-source X.org drivers for nVidia video cards"
 url="http://nouveau.freedesktop.org/"
_at_@ -11,25 +10,12 @@ license="MIT"
 depends="mesa-dri-nouveau"
 depends_dev=
 makedepends="randrproto renderproto videoproto xextproto libdrm-dev
-	xorg-server-dev util-macros libtool autoconf automake xf86driproto
-	eudev-dev
-	automake autoconf libtool"
+	xorg-server-dev util-macros xf86driproto eudev-dev"
 install=""
 subpackages="$pkgname-doc"
-source="http://xorg.freedesktop.org/releases/individual/driver/xf86-video-nouveau-${_ver}.tar.bz2
-	git.patch
-	"
-
-_builddir="$srcdir"/xf86-video-nouveau-$_ver
-
-mksource() {
-	mkdir /tmp/${pkgname}-${_gitdate}
-	(cd /tmp/${pkgname}-${_gitdate};
-	git clone -v --depth 1 git://anongit.freedesktop.org/nouveau/xf86-video-nouveau;
-	cd xf86-video-nouveau;
-	git archive --prefix=xf86-video-nouveau-${_gitdate}/ --format=tar HEAD | bzip2 > /tmp/${pkgname}-${_gitdate}/${pkgname}-${_gitdate}.tar.bz2)
-}
+source="http://xorg.freedesktop.org/archive/individual/driver/$pkgname-$pkgver.tar.bz2"
 
+_builddir="$srcdir"/$pkgname-$pkgver
 prepare() {
 	cd "$_builddir"
 	for i in $source; do
_at_@ -37,7 +23,6 @@ prepare() {
 		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
 		esac
 	done
-	autoreconf -vif
 }
 
 build() {
_at_@ -47,6 +32,9 @@ build() {
 		--build=$CBUILD \
 		--host=$CHOST \
 		--prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--localstatedir=/var \
 		|| return 1
 	make || return 1
 }
_at_@ -56,9 +44,6 @@ package() {
 	make DESTDIR="$pkgdir" install || return 1
 }
 
-md5sums="a0d2932d84ba10c4933c8332c9afe157  xf86-video-nouveau-1.0.11.tar.bz2
-93561d95226bc2d5ea811f4277424f43  git.patch"
-sha256sums="f84fe2b2787f3ea9419eac3aa86462b929a551b3dbc4de550cc83b67f3216848  xf86-video-nouveau-1.0.11.tar.bz2
-c90d9643179d589300a45ac6fe330c44dc46faf382f0e646a8eff0791f53e903  git.patch"
-sha512sums="4ceffc711798b98a5ee67d9df33d1a4f1d2b7d100605ea04b2e689debf745bc5a4f8907b602d1689ec6ed6400b2fc0ffe0eb0f7e7787bd2dd3cd5db1d14e90ee  xf86-video-nouveau-1.0.11.tar.bz2
-3ec5d839d0591f1c8525b661dc195b873bd9a992ce10000afeebdec37849b19a14e4230f4230286efa7753e5c5b86968e7a560268ca55af5d70b9f37e929be75  git.patch"
+md5sums="dc79910c7b9e32321cefc7af250c7765  xf86-video-nouveau-1.0.12.tar.bz2"
+sha256sums="0ea057ad7fc31caba2d4e46c7e418fe2b3c762b04fb8d382f53383397fd8391e  xf86-video-nouveau-1.0.12.tar.bz2"
+sha512sums="dd3be4b89d4b39f02b7cbf058be90e6777adc61a580c0987e737056ff85ed2685e7d6a7848b2c7ab8957810e057d7693c5dd2c425f88609670e02ea8368d77e9  xf86-video-nouveau-1.0.12.tar.bz2"
-- 
2.6.4
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Dec 17 2015 - 06:24:26 GMT