[arch-commits] Commit in xf86-video-nouveau/repos (4 files)

Ionut Biru ibiru at archlinux.org
Sat May 12 16:39:44 UTC 2012


    Date: Saturday, May 12, 2012 @ 12:39:44
  Author: ibiru
Revision: 158875

db-move: moved xf86-video-nouveau from [staging] to [testing] (i686)

Added:
  xf86-video-nouveau/repos/testing-i686/
  xf86-video-nouveau/repos/testing-i686/PKGBUILD
    (from rev 158872, xf86-video-nouveau/repos/staging-i686/PKGBUILD)
  xf86-video-nouveau/repos/testing-i686/xf86-video-nouveau.install
    (from rev 158872, xf86-video-nouveau/repos/staging-i686/xf86-video-nouveau.install)
Deleted:
  xf86-video-nouveau/repos/staging-i686/

----------------------------+
 PKGBUILD                   |   41 +++++++++++++++++++++++++++++++++++++++++
 xf86-video-nouveau.install |   16 ++++++++++++++++
 2 files changed, 57 insertions(+)

Copied: xf86-video-nouveau/repos/testing-i686/PKGBUILD (from rev 158872, xf86-video-nouveau/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-05-12 16:39:44 UTC (rev 158875)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: buddabrod <buddabrod at gmail.com>
+
+pkgname=xf86-video-nouveau
+_gitdate=20120512
+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-nouveau' 'udev')
+optdepends=('nouveau-dri:       experimental gallium3d features')
+makedepends=('xorg-server-devel' 'libdrm-new' '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=('3e27e283219936d64c194eca24cd81cd')
+
+# 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
+}

Copied: xf86-video-nouveau/repos/testing-i686/xf86-video-nouveau.install (from rev 158872, xf86-video-nouveau/repos/staging-i686/xf86-video-nouveau.install)
===================================================================
--- testing-i686/xf86-video-nouveau.install	                        (rev 0)
+++ testing-i686/xf86-video-nouveau.install	2012-05-12 16:39:44 UTC (rev 158875)
@@ -0,0 +1,16 @@
+post_install () {
+   cat << _EOF
+  ==> make sure you use KernelModeSetting (KMS)
+  ==> 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
+}




More information about the arch-commits mailing list