[arch-commits] Commit in (4 files)

andyrtr at archlinux.org andyrtr at archlinux.org
Tue Mar 3 20:42:15 UTC 2009


    Date: Tuesday, March 3, 2009 @ 15:42:15
  Author: andyrtr
Revision: 28953

add new xf86-video-nouveau pkg

Added:
  xf86-video-nouveau/
  xf86-video-nouveau/repos/
  xf86-video-nouveau/trunk/
  xf86-video-nouveau/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Added: xf86-video-nouveau/trunk/PKGBUILD
===================================================================
--- xf86-video-nouveau/trunk/PKGBUILD	                        (rev 0)
+++ xf86-video-nouveau/trunk/PKGBUILD	2009-03-03 20:42:15 UTC (rev 28953)
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 28948 2009-03-03 19:17:45Z andyrtr $
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: buddabrod <buddabrod at gmail.com>
+
+pkgname=xf86-video-nouveau
+pkgver=0.0.10 # see configure.ac
+pkgrel=0.20090303
+_gitdate=20090303
+pkgdesc="Open Source 3D acceleration driver for nVidia cards (eperimental)"
+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=('nouveau-drm>=20090303' 'libdrm>=2.4.5')
+makedepends=('pkgconfig' 'xorg-server>=1.6.0' 'mesa>=7.3' 'glproto>=1.4.9')
+groups=('xorg-video-drivers')
+options=('!libtool')
+source=(xf86-video-nouveau-${_gitdate}.tar.bz2)
+md5sums=('3dcbcc68d10a59d2b94d0efb0d13580e')
+
+build() {
+  # get git code for both sources
+  cd ${srcdir}
+#  git clone -v git://anongit.freedesktop.org/git/nouveau/xf86-video-nouveau/
+#  cd xf86-video-nouveau
+#  git archive --prefix=xf86-video-nouveau-${_gitdate}/ --format=tar HEAD | bzip2 > ../../xf86-video-nouveau-${_gitdate}.tar.bz2
+#  return 1
+
+  # build the driver
+  # insert the nouveau kernel drm replacement first: modprobe -v drm should show something like 
+  # insmod /lib/modules/2.6.28-ARCH/extra/drm.ko
+  cd ${srcdir}/xf86-video-nouveau-${_gitdate}
+  ./autogen.sh --prefix=/usr
+  make || return 1
+  make DESTDIR=${pkgdir} install || return 1
+}




More information about the arch-commits mailing list