nvidia-stable: updated to 352.79
This commit is contained in:
parent
23fcb2d3fe
commit
e68d6bd35a
|
@ -3,7 +3,7 @@
|
|||
_desc="NVIDIA drivers for linux (long-lived series)"
|
||||
|
||||
pkgname=nvidia-stable
|
||||
version=340.96
|
||||
version=352.79
|
||||
revision=1
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="Propietary NVIDIA license"
|
||||
|
@ -22,12 +22,12 @@ subpackages="${pkgname}-dkms ${pkgname}-opencl ${pkgname}-libs"
|
|||
|
||||
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||
_pkg="NVIDIA-Linux-x86-${version}"
|
||||
distfiles="http://us.download.nvidia.com/XFree86/Linux-x86/${version}/NVIDIA-Linux-x86-${version}.run"
|
||||
checksum=c40e2778cd1ab036a76e1896fe2f77c4aa7baa215dbbdb11a2f4c5f05e1a478e
|
||||
distfiles="http://us.download.nvidia.com/XFree86/Linux-x86/${version}/${_pkg}.run"
|
||||
checksum=2929d6e509ed4502312c1b7384f6d12cb63bd4af03fc847a281d3ccdd4db4f69
|
||||
else
|
||||
_pkg="NVIDIA-Linux-x86_64-${version}-no-compat32"
|
||||
distfiles="http://us.download.nvidia.com/XFree86/Linux-x86_64/${version}/NVIDIA-Linux-x86_64-${version}-no-compat32.run"
|
||||
checksum=280f9db2aea52cab42e141f0393604c7a6d43e7f65d3e60c2319c2674ecc14c4
|
||||
distfiles="http://us.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
|
||||
checksum=8be6c64dddc2c2c5a0512bdacc71a77734de469ca11dfa435ca728fba57ccb9a
|
||||
fi
|
||||
|
||||
do_extract() {
|
||||
|
@ -92,7 +92,8 @@ do_install() {
|
|||
# CUDA
|
||||
vbin nvidia-cuda-mps-control
|
||||
vbin nvidia-cuda-mps-server
|
||||
vinstall nvidia-cuda-mps-control.1.gz 644 usr/share/man/man1
|
||||
gzip -d nvidia-cuda-mps-control.1.gz
|
||||
vman nvidia-cuda-mps-control.1
|
||||
|
||||
vinstall libcuda.so.${version} 755 usr/lib
|
||||
ln -sf libcuda.so.${version} ${DESTDIR}/usr/lib/libcuda.so
|
||||
|
@ -104,11 +105,13 @@ do_install() {
|
|||
|
||||
# nvidia-xconfig
|
||||
vbin nvidia-xconfig
|
||||
vinstall nvidia-xconfig.1.gz 644 usr/share/man/man1
|
||||
gzip -d nvidia-xconfig.1.gz
|
||||
vman nvidia-xconfig.1
|
||||
|
||||
# nvidia-settings
|
||||
vbin nvidia-settings
|
||||
vinstall nvidia-settings.1.gz 644 usr/share/man/man1
|
||||
gzip -d nvidia-settings.1.gz
|
||||
vman nvidia-settings.1
|
||||
vinstall nvidia-settings.desktop 644 usr/share/applications
|
||||
vinstall nvidia-settings.png 644 usr/share/pixmaps
|
||||
sed -e 's:__UTILS_PATH__:/usr/bin:' \
|
||||
|
@ -121,7 +124,8 @@ do_install() {
|
|||
|
||||
# nvidia-smi
|
||||
vbin nvidia-smi
|
||||
vinstall nvidia-smi.1.gz 644 usr/share/man/man1
|
||||
gzip -d nvidia-smi.1.gz
|
||||
vman nvidia-smi.1
|
||||
|
||||
# License and documentation.
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Reference in New Issue