diff options
author | Andreas Rammhold | 2016-10-31 11:59:59 +0100 |
---|---|---|
committer | Andreas Rammhold | 2016-10-31 12:01:55 +0100 |
commit | bcf5bcd2c9d502958f9e41664d837762a2f42301 (patch) | |
tree | 7b2e76e2c757b6990f1bc2d3c344a04a88a5f228 | |
download | aur-bcf5bcd2c9d502958f9e41664d837762a2f42301.tar.gz |
Initial version
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | PKGBUILD | 44 | ||||
-rw-r--r-- | xf86-video-nouveau-git.install | 6 |
3 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..63ea78cfddf4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +pkgbase = xf86-video-nouveau-git + pkgdesc = Open Source 2D acceleration driver for nVidia cards + pkgver = 1.0.13+7+g1516d35 + pkgrel = 1 + url = http://nouveau.freedesktop.org/ + install = xf86-video-nouveau-git.install + arch = i686 + arch = x86_64 + groups = xorg-drivers + groups = xorg + license = GPL + makedepends = xorg-server-devel + makedepends = X-ABI-VIDEODRV_VERSION=20 + makedepends = git + depends = libdrm + depends = systemd + depends = mesa-dri + conflicts = xorg-server<1.16 + conflicts = X-ABI-VIDEODRV_VERSION<20 + conflicts = X-ABI-VIDEODRV_VERSION>=21, + conflicts = xf86-video-nouveau + source = git://anongit.freedesktop.org/nouveau/xf86-video-nouveau + sha256sums = SKIP + +pkgname = xf86-video-nouveau-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6e831ca197ca --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Andreas Rammhold <andreas@rammhold.de> + +pkgname=xf86-video-nouveau-git +_pkgname=xf86-video-nouveau +pkgver=1.0.13+7+g1516d35 +pkgrel=1 +pkgdesc="Open Source 2D acceleration driver for nVidia cards" +arch=('i686' 'x86_64') +url="http://nouveau.freedesktop.org/" +license=('GPL') +depends=('libdrm' 'systemd' 'mesa-dri') +makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=20' 'git') +conflicts=('xorg-server<1.16' 'X-ABI-VIDEODRV_VERSION<20' 'X-ABI-VIDEODRV_VERSION>=21', 'xf86-video-nouveau') +groups=('xorg-drivers' 'xorg') +install=$pkgname.install +#source=(http://xorg.freedesktop.org/archive/individual/driver/$pkgname-$pkgver.tar.bz2) +source=('git://anongit.freedesktop.org/nouveau/xf86-video-nouveau') +sha256sums=('SKIP') + +pkgver() { + cd $_pkgname + git describe --long | sed 's/xf86-video-nouveau-//' | sed 's/-/+/g' +} + +prepare() { + cd $_pkgname + NOCONFIGURE=1 ./autogen.sh + +# mkdir $pkgname-$pkgver +} + +build() { +# cd $pkgname-$pkgver + cd $_pkgname + ./configure --prefix=/usr + make +} + +package() { +# cd $pkgname-$pkgver + cd $_pkgname + make DESTDIR="$pkgdir" install +} diff --git a/xf86-video-nouveau-git.install b/xf86-video-nouveau-git.install new file mode 100644 index 000000000000..23cc4cd5be6a --- /dev/null +++ b/xf86-video-nouveau-git.install @@ -0,0 +1,6 @@ +post_install () { + cat << _EOF + ==> make sure you use KernelModeSetting (KMS) + ==> see http://wiki.archlinux.org/index.php/Nouveau#KMS for more +_EOF +} |