summaryrefslogtreecommitdiff
path: root/testing/xf86-video-nouveau/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-08 15:15:36 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-01-08 15:15:36 -0300
commit79836a031d6d4c48982b4cbffb40bf6bf09b3798 (patch)
treee6092df6df7e313d6637c35645bd2b1d174930bd /testing/xf86-video-nouveau/PKGBUILD
parent38e55a4f9ca44d32cc497abdafe5bcd4df23704b (diff)
parent6aeb515f4afd10afb53b21df18d03b0d5f3a200f (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/ruby-gtk2/PKGBUILD community/scite/PKGBUILD extra/pulseaudio/PKGBUILD multilib/lib32-libsamplerate/PKGBUILD staging/kdelibs/PKGBUILD
Diffstat (limited to 'testing/xf86-video-nouveau/PKGBUILD')
-rw-r--r--testing/xf86-video-nouveau/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/xf86-video-nouveau/PKGBUILD b/testing/xf86-video-nouveau/PKGBUILD
new file mode 100644
index 000000000..e4677e072
--- /dev/null
+++ b/testing/xf86-video-nouveau/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 146234 2012-01-06 15:24:05Z ibiru $
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+# Contributor: buddabrod <buddabrod@gmail.com>
+
+pkgname=xf86-video-nouveau
+_gitdate=20120106
+pkgver=0.0.16_git${_gitdate} # see configure.ac
+pkgrel=1
+pkgdesc="Open Source 3D acceleration driver for nVidia cards (experimental)"
+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
+depends=('libdrm' 'udev')
+optdepends=('nouveau-dri: experimental gallium3d features')
+makedepends=('xorg-server-devel' 'libdrm' 'xf86driproto')
+conflicts=('xorg-server<1.11.0')
+options=('!libtool')
+install=$pkgname.install
+source=(ftp://ftp.archlinux.org/other/$pkgname/xf86-video-nouveau-${_gitdate}.tar.bz2)
+md5sums=('4b0ee8643b3322ff3a0c5d70262a54af')
+
+# 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
+}
+
+build() {
+ cd $srcdir/xf86-video-nouveau-${_gitdate}
+ ./autogen.sh --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/xf86-video-nouveau-${_gitdate}
+ make DESTDIR=$pkgdir install
+}