Date: Tuesday, November 10, 2015 @ 14:30:25 Author: andyrtr Revision: 250540
prepare next Xorg-server release; move nvidia-drm-outputclass.conf to the driver packages FS#45973 Added: nvidia-340xx-utils/trunk/nvidia-drm-outputclass.conf Modified: nvidia-340xx-utils/trunk/PKGBUILD -----------------------------+ PKGBUILD | 12 +++++++++--- nvidia-drm-outputclass.conf | 6 ++++++ 2 files changed, 15 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-11-10 13:27:54 UTC (rev 250539) +++ PKGBUILD 2015-11-10 13:30:25 UTC (rev 250540) @@ -12,9 +12,11 @@ license=('custom') options=('!strip') source=("ftp://download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run" - "ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run") + "ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run" + nvidia-drm-outputclass.conf) sha1sums=('650564caa2937c8306cfdcfb6c97b1e206fdffb3' - '05ef4b8b01aa532d89cef309f268ae1c7beffdc0') + '05ef4b8b01aa532d89cef309f268ae1c7beffdc0' + '4ca2fbb2389d0bcb7a2c6f614860522d9ddf58ab') [[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}" [[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" @@ -179,6 +181,10 @@ install -D -m644 NVIDIA_Changelog "${pkgdir}/usr/share/doc/nvidia/NVIDIA_Changelog" cp -r html "${pkgdir}/usr/share/doc/nvidia/" ln -s nvidia "${pkgdir}/usr/share/doc/nvidia-utils" - + + # distro specific files must be installed in /usr/share/X11/xorg.conf.d + install -m755 -d "${pkgdir}/etc/X11/xorg.conf.d" + install -m644 "${srcdir}/nvidia-drm-outputclass.conf" "${pkgdir}/usr/share/X11/xorg.conf.d/" + create_links } Added: nvidia-drm-outputclass.conf =================================================================== --- nvidia-drm-outputclass.conf (rev 0) +++ nvidia-drm-outputclass.conf 2015-11-10 13:30:25 UTC (rev 250540) @@ -0,0 +1,6 @@ +Section "OutputClass" + Identifier "nvidia" + MatchDriver "nvidia-drm" + Driver "nvidia" +EndSection +