nvidia: update to 510.47.03.
This commit is contained in:
parent
4480db6eb4
commit
7a2e8f01b6
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec /usr/bin/nvidia-powerd
|
|
@ -3,8 +3,8 @@
|
|||
_desc="NVIDIA drivers for linux"
|
||||
|
||||
pkgname=nvidia
|
||||
version=470.94
|
||||
revision=3
|
||||
version=510.47.03
|
||||
revision=1
|
||||
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
||||
license="custom:NVIDIA Proprietary"
|
||||
homepage="https://www.nvidia.com"
|
||||
|
@ -19,7 +19,7 @@ conflicts="xserver-abi-video>25_1"
|
|||
|
||||
_pkg="NVIDIA-Linux-x86_64-${version}"
|
||||
distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
|
||||
checksum=9585aa29330ebad9bdf22ce3ca2bac2026c85a9a32f03d7c59f714a7798500eb
|
||||
checksum=f2a421dae836318d3c0d96459ccb3af27e90e50c95b0faa4288af76279e5d690
|
||||
# subpackages need to be processed in this specific order
|
||||
subpackages="nvidia-gtklibs nvidia-dkms nvidia-opencl nvidia-libs nvidia-libs-32bit"
|
||||
depends="nvidia-libs-${version}_${revision}
|
||||
|
@ -69,10 +69,6 @@ _install_libs() {
|
|||
ln -sf libnvidia-encode.so.${version} ${DESTDIR}/${libdir}/libnvidia-encode.so
|
||||
ln -sf libnvidia-encode.so.${version} ${DESTDIR}/${libdir}/libnvidia-encode.so.1
|
||||
|
||||
vinstall libnvidia-ifr.so.${version} 755 ${libdir}
|
||||
ln -sf libnvidia-ifr.so.${version} ${DESTDIR}/${libdir}/libnvidia-ifr.so
|
||||
ln -sf libnvidia-ifr.so.${version} ${DESTDIR}/${libdir}/libnvidia-ifr.so.1
|
||||
|
||||
vinstall libnvidia-fbc.so.${version} 755 ${libdir}
|
||||
ln -sf libnvidia-fbc.so.${version} ${DESTDIR}/${libdir}/libnvidia-fbc.so
|
||||
ln -sf libnvidia-fbc.so.${version} ${DESTDIR}/${libdir}/libnvidia-fbc.so.1
|
||||
|
@ -128,9 +124,20 @@ do_install() {
|
|||
ln -sf libglxserver_nvidia.so.${version} \
|
||||
${DESTDIR}/usr/lib/nvidia/xorg/libglxserver_nvidia.so.1
|
||||
|
||||
vinstall libnvidia-egl-wayland.so.1.1.7 755 usr/lib
|
||||
ln -sf libnvidia-egl-wayland.so.1.1.7 \
|
||||
# Wayland/GBM
|
||||
vinstall libnvidia-egl-wayland.so.1.1.9 755 usr/lib
|
||||
ln -sf libnvidia-egl-wayland.so.1.1.9 \
|
||||
${DESTDIR}/usr/lib/libnvidia-egl-wayland.so.1
|
||||
vinstall libnvidia-egl-gbm.so.1.1.0 755 usr/lib
|
||||
ln -sf libnvidia-egl-gbm.so.1.1.0 \
|
||||
${DESTDIR}/usr/lib/libnvidia-egl-gbm.so.1
|
||||
|
||||
vmkdir usr/share/glvnd/egl_vendor.d
|
||||
vinstall 15_nvidia_gbm.json 755 usr/share/glvnd/egl_vendor.d
|
||||
|
||||
vmkdir usr/lib/gbm
|
||||
ln -sf libnvidia-allocator.so.${version} \
|
||||
${DESTDIR}/usr/lib/gbm/nvidia-drm_gbm.so
|
||||
|
||||
vinstall 10_nvidia.json 755 usr/share/glvnd/egl_vendor.d
|
||||
vinstall 10_nvidia_wayland.json \
|
||||
|
@ -183,10 +190,14 @@ do_install() {
|
|||
vman nvidia-modprobe.1
|
||||
|
||||
# nvidia-persistenced
|
||||
vinstall nvidia-persistenced 4755 usr/bin
|
||||
vbin nvidia-persistenced
|
||||
gzip -d nvidia-persistenced.1.gz
|
||||
vman nvidia-persistenced.1
|
||||
|
||||
# nvidia-powerd
|
||||
vbin nvidia-powerd
|
||||
vsv nvidia-powerd
|
||||
|
||||
# opencl pkg
|
||||
vinstall nvidia.icd 644 etc/OpenCL/vendors
|
||||
vinstall nvidia_layers.json 644 usr/share/vulkan/implicit_layer.d
|
||||
|
@ -204,7 +215,12 @@ do_install() {
|
|||
|
||||
# vulkan real-time ray tracing extensions
|
||||
vinstall libnvidia-rtcore.so.${version} 755 usr/lib
|
||||
vinstall libnvidia-cbl.so.${version} 755 usr/lib
|
||||
|
||||
vinstall libnvidia-vulkan-producer.so.${version} 755 usr/lib
|
||||
ln -sf libnvidia-vulkan-producer.so.${version} \
|
||||
${DESTDIR}/usr/lib/libnvidia-vulkan-producer.so
|
||||
ln -sf libnvidia-vulkan-producer.so.${version} \
|
||||
${DESTDIR}/usr/lib/libnvidia-vulkan-producer.so.1
|
||||
|
||||
# ngx
|
||||
vbin nvidia-ngx-updater
|
||||
|
|
Loading…
Reference in New Issue