summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia-340xx-utils
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-01-22 22:31:00 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-01-22 22:31:00 (GMT)
commit65193711ce658b73885e9b382cdaa5a5ffa72878 (patch)
tree6f03f140e2757c9c8790f1ec837ea1784cf734b4 /abs/core/nvidia-340xx-utils
parentf812f36efb39d4bbab07fd20a00867610bff2377 (diff)
downloadlinhes_pkgbuild-65193711ce658b73885e9b382cdaa5a5ffa72878.zip
linhes_pkgbuild-65193711ce658b73885e9b382cdaa5a5ffa72878.tar.gz
linhes_pkgbuild-65193711ce658b73885e9b382cdaa5a5ffa72878.tar.bz2
nvidia-340xx & nvidia-340xx-utils: update to 340.96
Diffstat (limited to 'abs/core/nvidia-340xx-utils')
-rw-r--r--abs/core/nvidia-340xx-utils/PKGBUILD16
-rw-r--r--abs/core/nvidia-340xx-utils/nvidia-drm-outputclass.conf6
2 files changed, 17 insertions, 5 deletions
diff --git a/abs/core/nvidia-340xx-utils/PKGBUILD b/abs/core/nvidia-340xx-utils/PKGBUILD
index d9213a3..1645256 100644
--- a/abs/core/nvidia-340xx-utils/PKGBUILD
+++ b/abs/core/nvidia-340xx-utils/PKGBUILD
@@ -5,16 +5,18 @@
pkgbase=nvidia-340xx-utils
pkgname=('nvidia-340xx-utils' 'nvidia-340xx-libgl' 'opencl-nvidia-340xx')
-pkgver=340.93
+pkgver=340.96
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.nvidia.com/"
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")
-sha1sums=('650564caa2937c8306cfdcfb6c97b1e206fdffb3'
- '05ef4b8b01aa532d89cef309f268ae1c7beffdc0')
+source=(nvidia-drm-outputclass.conf)
+source_i686=("ftp://download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run")
+source_x86_64=("ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run")
+sha1sums=('4ca2fbb2389d0bcb7a2c6f614860522d9ddf58ab')
+sha1sums_i686=('082e5218059b565f652236a69e61d8426696098c')
+sha1sums_x86_64=('49a1038f8f709a0a8855c7071db5923749d071e2')
[[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}"
[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
@@ -180,5 +182,9 @@ package_nvidia-340xx-utils() {
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}/usr/share/X11/xorg.conf.d"
+ install -m644 "${srcdir}/nvidia-drm-outputclass.conf" "${pkgdir}/usr/share/X11/xorg.conf.d/"
+
create_links
}
diff --git a/abs/core/nvidia-340xx-utils/nvidia-drm-outputclass.conf b/abs/core/nvidia-340xx-utils/nvidia-drm-outputclass.conf
new file mode 100644
index 0000000..40c1e08
--- /dev/null
+++ b/abs/core/nvidia-340xx-utils/nvidia-drm-outputclass.conf
@@ -0,0 +1,6 @@
+Section "OutputClass"
+ Identifier "nvidia"
+ MatchDriver "nvidia-drm"
+ Driver "nvidia"
+EndSection
+