diff --git a/srcpkgs/nvidia304/template b/srcpkgs/nvidia304/template index 7566d09eddd..aa88ead0aa8 100644 --- a/srcpkgs/nvidia304/template +++ b/srcpkgs/nvidia304/template @@ -1,7 +1,7 @@ # Template file for 'nvidia304' pkgname=nvidia304 -version=304.108 -revision=2 +version=304.116 +revision=1 short_desc="NVIDIA drivers for linux (304.xx series)" maintainer="Juan RP " license="Propietary NVIDIA license" @@ -13,11 +13,11 @@ only_for_archs="i686 x86_64" if [ "${XBPS_MACHINE}" = "i686" ]; then _pkg="NVIDIA-Linux-x86-${version}" distfiles="ftp://download.nvidia.com/XFree86/Linux-x86/${version}/${_pkg}.run" - checksum=c965d36f896ed154f0801a3e1936fcc195f12e76cf300fc6d890c3195082c838 + checksum=9c3a57a93b70e807a0fe54cbce146dc738defccbbebf3f5aaa927ba69305b049 else _pkg="NVIDIA-Linux-x86_64-${version}-no-compat32" distfiles="ftp://download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run" - checksum=15f840d820d78d897bd8d2b04386371645527af01047dd7a496a6df1d16084e4 + checksum=b2a2b69261c34c00882b43e5bce83ca58fff1485a9e2f15b6900b93386962e51 fi do_extract() { @@ -45,7 +45,6 @@ do_install() { ln -sf libnvidia-glcore.so.${version} ${DESTDIR}/usr/lib/libnvidia-glcore.so # XvMC - vinstall libXvMCNVIDIA.a 644 usr/lib vinstall libXvMCNVIDIA.so.${version} 755 usr/lib ln -sf libXvMCNVIDIA.so.${version} ${DESTDIR}/usr/lib/libXvMCNVIDIA_dynamic.so ln -sf libXvMCNVIDIA.so.${version} ${DESTDIR}/usr/lib/libXvMCNVIDIA_dynamic.so.1 @@ -68,6 +67,10 @@ do_install() { ln -sf libnvidia-ml.so.${version} ${DESTDIR}/usr/lib/libnvidia-ml.so.1 # CUDA + vinstall nvidia-cuda-proxy-control 755 usr/bin + vinstall nvidia-cuda-proxy-server 755 usr/bin + vinstall nvidia-cuda-proxy-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 @@ -90,6 +93,7 @@ do_install() { -i ${DESTDIR}/usr/share/applications/nvidia-settings.desktop # nvidia-bug-report + vinstall nvidia-debugdump 755 usr/bin vinstall nvidia-bug-report.sh 755 usr/bin nvidia-bug-report # nvidia-smi @@ -139,7 +143,7 @@ nvidia304-dkms_package() { depends="dkms" triggers="dkms" dkms_modules="nvidia ${version}" - provides="nvidia-dkms-${version}" + provides="nvidia-dkms-${version}_${revision}" replaces="nvidia-dkms>=0" nonfree=yes pkg_install() { @@ -151,7 +155,7 @@ nvidia304-dkms_package() { nvidia304-opencl_package() { short_desc+=" - OpenCL implementation" - provides="nvidia-opencl-${version} libOpenCL-${version}" + provides="nvidia-opencl-${version}_${revision} libOpenCL-${version}_${revision}" replaces="nvidia-openctl>=0 libOpenCL>=0" nonfree=yes pkg_install() { @@ -165,7 +169,7 @@ nvidia304-opencl_package() { nvidia304_package() { short_desc+=" - Libraries and Utilities" depends="xserver-abi-video<15 ${pkgname}-dkms-${version}_${revision} pkg-config" - provides="nvidia-${version}" + provides="nvidia-${version}_${revision}" replaces="nvidia>=0" conflicts="catalyst>=0" nonfree=yes