nvidia: update to 331.20.

This commit is contained in:
Juan RP 2013-11-07 10:03:32 +01:00
parent e81b4855c8
commit 25c3d52984
1 changed files with 22 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'nvidia'
pkgname=nvidia
version=325.15
revision=2
version=331.20
revision=1
short_desc="NVIDIA drivers for linux"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Propietary NVIDIA license"
@ -13,11 +13,11 @@ create_wrksrc=yes
if [ "$XBPS_MACHINE" = "i686" ]; then
_pkg="NVIDIA-Linux-x86-${version}"
distfiles="http://us.download.nvidia.com/XFree86/Linux-x86/${version}/NVIDIA-Linux-x86-${version}.run"
checksum=3d790e4bfed24641f7cc76879144ab5d52b12271012ba381b0d33aa1a2e08775
checksum=7ad6b05d31e790a938474ce832488f3c68e2f388503b20f7995bdb7bb5ab9745
else
_pkg="NVIDIA-Linux-x86_64-${version}"
distfiles="http://us.download.nvidia.com/XFree86/Linux-x86_64/${version}/NVIDIA-Linux-x86_64-${version}.run"
checksum=01446fbd94f6eb3b2e1b3d3f2b06970bf470c3ee2cb1838b3d0c2416e6c74500
checksum=b8803906402354d201d3b9bc21938a0fe8a7d76e93e486fddaab340df18092ec
fi
do_extract() {
@ -48,7 +48,7 @@ do_install() {
ln -sf libvdpau_nvidia.so.${version} ${DESTDIR}/usr/lib/vdpau/libvdpau_nvidia.so
ln -sf libvdpau_nvidia.so.${version} ${DESTDIR}/usr/lib/vdpau/libvdpau_nvidia.so.1
# nvidia-tls library
# misc libraries
vinstall tls/libnvidia-tls.so.${version} 755 usr/lib
ln -sf libnvidia-tls.so.${version} ${DESTDIR}/usr/lib/libnvidia-tls.so
@ -60,7 +60,23 @@ do_install() {
ln -sf libnvidia-ml.so.${version} ${DESTDIR}/usr/lib/libnvidia-ml.so
ln -sf libnvidia-ml.so.${version} ${DESTDIR}/usr/lib/libnvidia-ml.so.1
vinstall libnvidia-encode.so.${version} 755 usr/lib
ln -sf libnvidia-encode.so.${version} ${DESTDIR}/usr/lib/libnvidia-encode.so
ln -sf libnvidia-encode.so.${version} ${DESTDIR}/usr/lib/libnvidia-encode.so.1
vinstall libnvidia-ifr.so.${version} 755 usr/lib
ln -sf libnvidia-ifr.so.${version} ${DESTDIR}/usr/lib/libnvidia-ifr.so
ln -sf libnvidia-ifr.so.${version} ${DESTDIR}/usr/lib/libnvidia-ifr.so.1
vinstall libnvidia-fbc.so.${version} 755 usr/lib
ln -sf libnvidia-fbc.so.${version} ${DESTDIR}/usr/lib/libnvidia-fbc.so
ln -sf libnvidia-fbc.so.${version} ${DESTDIR}/usr/lib/libnvidia-fbc.so.1
# CUDA
vinstall nvidia-cuda-mps-control 755 usr/bin
vinstall nvidia-cuda-mps-server 755 usr/bin
vinstall nvidia-cuda-mps-control.1.gz 644 usr/share/man/man1
vinstall libcuda.so.${version} 755 usr/lib
ln -sf libcuda.so.${version} ${DESTDIR}/usr/lib/libcuda.so
ln -sf libcuda.so.${version} ${DESTDIR}/usr/lib/libcuda.so.1
@ -84,6 +100,7 @@ do_install() {
# nvidia-bug-report
vinstall nvidia-bug-report.sh 755 usr/bin nvidia-bug-report
vinstall nvidia-debugdump 755 usr/bin
# nvidia-smi
vinstall nvidia-smi 755 usr/bin