summaryrefslogtreecommitdiff
path: root/extra/xf86-video-nouveau
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-20 00:01:41 +0000
committerroot <root@rshg054.dnsready.net>2012-06-20 00:01:41 +0000
commit530e6e88786befa5d1bcd569e480f1b9fec5b102 (patch)
tree78088a8187ab892bdaa7001bcd2e76abd66837df /extra/xf86-video-nouveau
parente4afcc505c31482d7d7cee60bb6388bfacc8ad7f (diff)
Wed Jun 20 00:01:41 UTC 2012
Diffstat (limited to 'extra/xf86-video-nouveau')
-rw-r--r--extra/xf86-video-nouveau/PKGBUILD33
-rw-r--r--extra/xf86-video-nouveau/xf86-video-nouveau.install10
2 files changed, 11 insertions, 32 deletions
diff --git a/extra/xf86-video-nouveau/PKGBUILD b/extra/xf86-video-nouveau/PKGBUILD
index 9c58482b4..25aa4265e 100644
--- a/extra/xf86-video-nouveau/PKGBUILD
+++ b/extra/xf86-video-nouveau/PKGBUILD
@@ -1,41 +1,30 @@
-# $Id: PKGBUILD 161904 2012-06-16 12:11:34Z ibiru $
+# $Id: PKGBUILD 162034 2012-06-19 01:44:22Z ibiru $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: buddabrod <buddabrod@gmail.com>
pkgname=xf86-video-nouveau
-_gitdate=20120615
-pkgver=0.0.16_git${_gitdate} # see configure.ac
+pkgver=1.0.1
pkgrel=1
-pkgdesc="Open Source 2D acceleration driver for nVidia cards (experimental)"
+pkgdesc="Open Source 2D acceleration driver for nVidia cards"
arch=('i686' 'x86_64')
-url="http://nouveau.freedesktop.org/wiki/"
-license=('GPL') #and MIT, not yet a license file, see http://nouveau.freedesktop.org/wiki/FAQ#head-09f75d03eb30011c754038a3893119a70745de4e
+url="http://nouveau.freedesktop.org/"
+license=('GPL')
depends=('libdrm' 'udev')
-optdepends=('nouveau-dri: experimental gallium3d features')
+optdepends=('nouveau-dri: experimental gallium3d features')
makedepends=('xorg-server-devel' 'xf86driproto')
conflicts=('xorg-server<1.11.99.902')
options=('!libtool')
install=$pkgname.install
-source=(ftp://ftp.archlinux.org/other/$pkgname/xf86-video-nouveau-${_gitdate}.tar.bz2)
-md5sums=('9ceb49ff436c9a00536490fb1c8bf6d1')
-
-# source PKGBUILD && mksource
-mksource() {
- mkdir /tmp/$pkgname-${_gitdate}
- pushd /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
- popd
-}
+source=($url/release/$pkgname-$pkgver.tar.bz2)
+md5sums=('d120bdd4ee9fc3581f3b93e3b31c4574')
build() {
- cd xf86-video-nouveau-${_gitdate}
- ./autogen.sh --prefix=/usr
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
make
}
package() {
- cd xf86-video-nouveau-${_gitdate}
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
diff --git a/extra/xf86-video-nouveau/xf86-video-nouveau.install b/extra/xf86-video-nouveau/xf86-video-nouveau.install
index 027154ff3..23cc4cd5b 100644
--- a/extra/xf86-video-nouveau/xf86-video-nouveau.install
+++ b/extra/xf86-video-nouveau/xf86-video-nouveau.install
@@ -4,13 +4,3 @@ post_install () {
==> see http://wiki.archlinux.org/index.php/Nouveau#KMS for more
_EOF
}
-
-post_upgrade() {
- if [ "`vercmp $2 0.0.15_git20100117-1`" -lt 0 ]; then
- cat << _EOF
- ==> ATTENTION: Usermode support has been dropped
- ==> make sure you use KernelModeSetting (KMS)
- ==> see http://wiki.archlinux.org/index.php/Nouveau#KMS for more
-_EOF
- fi
-}