From e57fef0e937f7fb14b9625e683116fc156c4f060 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Mon, 31 Oct 2016 09:11:43 +0100 Subject: [PATCH] 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. --- srcpkgs/nvidia304/files/30-nvidia-drm-outputclass.conf | 6 ++++++ srcpkgs/nvidia304/template | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/nvidia304/files/30-nvidia-drm-outputclass.conf diff --git a/srcpkgs/nvidia304/files/30-nvidia-drm-outputclass.conf b/srcpkgs/nvidia304/files/30-nvidia-drm-outputclass.conf new file mode 100644 index 0000000000..40c1e08b5f --- /dev/null +++ b/srcpkgs/nvidia304/files/30-nvidia-drm-outputclass.conf @@ -0,0 +1,6 @@ +Section "OutputClass" + Identifier "nvidia" + MatchDriver "nvidia-drm" + Driver "nvidia" +EndSection + diff --git a/srcpkgs/nvidia304/template b/srcpkgs/nvidia304/template index f11d3fcd8b..6ceff61377 100644 --- a/srcpkgs/nvidia304/template +++ b/srcpkgs/nvidia304/template @@ -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 " 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() {