summaryrefslogtreecommitdiffstats
path: root/acompiler/xorg-xf86-video-nouveau/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'acompiler/xorg-xf86-video-nouveau/Pkgfile')
-rw-r--r--acompiler/xorg-xf86-video-nouveau/Pkgfile11
1 files changed, 9 insertions, 2 deletions
diff --git a/acompiler/xorg-xf86-video-nouveau/Pkgfile b/acompiler/xorg-xf86-video-nouveau/Pkgfile
index 2f75ec8c5..c736a3edb 100644
--- a/acompiler/xorg-xf86-video-nouveau/Pkgfile
+++ b/acompiler/xorg-xf86-video-nouveau/Pkgfile
@@ -2,17 +2,24 @@
# URL: http://nouveau.freedesktop.org/wiki
# Maintainer: NuTyX core team
# Packager: lesibel at free dot fr
-# Depends on: libtool,libdrm
+# Depends on: libtool,libdrm,xorg-xf86driproto,xorg-xf86dri2proto,xorg-randrproto
name=xorg-xf86-video-nouveau
_name=xf86-video-nouveau
version=0.0.16-g065576d
release=1
-source=(http://nutyx.meticul.eu/files/$_name-$version.tar.bz2 )
+source=(http://nutyx.meticul.eu/files/${_name}-$version.tar.bz2 )
build() {
cd $SRC/$_name-$version
./autogen.sh --prefix=/usr
make
make DESTDIR=$PKG install
+ mkdir -p $PKG/etc/X11/xorg.conf.d/
+cat > $PKG/etc/X11/xorg.conf.d/40-nouveau.conf << "EOF"
+Section "Device"
+ Identifier "NOUVEAU"
+ Driver "nouveau"
+EndSection
+EOF
}