nvidia304: add xorg configuration

both xorg-server and nvidia used to ship this file. the previous commit
removed this file from xorg-server. Nevertheless it's still needed with
this legacy driver. So we move it here.

closes #5081.
This commit is contained in:
Enno Boland 2016-10-31 09:11:43 +01:00
parent 950705f687
commit e57fef0e93
2 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,6 @@
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
EndSection

View file

@ -3,7 +3,7 @@ _desc="NVIDIA drivers (For GeForce 5 FX, 6, 7, 8 series)"
pkgname=nvidia304
version=304.132
revision=1
revision=2
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Proprietary NVIDIA license"
homepage="http://www.nvidia.com"
@ -151,6 +151,8 @@ do_install() {
${DESTDIR}/usr/lib/libnvidia-opencl.so
ln -sf libnvidia-opencl.so.${version} \
${DESTDIR}/usr/lib/libnvidia-opencl.so.1
vinstall ${FILESDIR}/30-nvidia-drm-outputclass.conf 644 usr/share/X11/xorg.conf.d
}
nvidia304-dkms_package() {