blob: c8e8e24c320b0ab44e375393f1065b92455c06e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# $Id$
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: buddabrod <buddabrod@gmail.com>
# Contributor: Tavian Barnes <tavianator@gmail.com>
# Maintainer (Parabola): Márcio Silva <coadde@adinet.com.uy>
_name=nouveau
_pkgname=xf86-video-nouveau
pkgname=xf86-video-nouveau-git
pkgver=20120612
pkgrel=1
pkgdesc="Libre 3D acceleration driver for nVidia cards"
arch=('i686' 'x86_64' 'mips64el')
url="http://${_name}.freedesktop.org/wiki/"
license=('GPL') #and MIT, not yet a license file, see http://nouveau.freedesktop.org/wiki/FAQ#head-09f75d03eb30011c754038a3893119a70745de4
depends=("libdrm-git" 'udev')
optdepends=('nouveau-dri-git: experimental gallium3d features')
makedepends=('xorg-server-devel' 'libdrm-git' 'xf86driproto' 'git')
conflicts=('xorg-server<1.11.99.902' "${_pkgname}")
provides=("${_pkgname}")
options=('!libtool')
install=${_pkgname}.install
_gitroot="git://anongit.freedesktop.org/git/${_name}/${_pkgname}"
_gitname="${_pkgname}"
build() {
cd ${srcdir}
msg "Connecting to GIT server...."
if [ -d ${startdir}/src/${_gitname} ] ; then
cd ${_gitname} && git pull origin
msg "The local files are updated."
else
git clone ${_gitroot}
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf ${srcdir}/${_gitname}-build
cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
cd ${srcdir}/${_gitname}-build
./autogen.sh --prefix=/usr
make
}
package() {
cd ${srcdir}/${_gitname}-build
make DESTDIR=${pkgdir} install
}
|