Merge pull request #6627 from nonchip/nvidia-vulkan-icd

nvidia: added missing vulkan icd file to vinstall
This commit is contained in:
Enno Boland 2017-06-08 11:11:35 +02:00 committed by GitHub
commit c47bd1bec1

View file

@ -4,7 +4,7 @@ _desc="NVIDIA drivers for linux (long-lived series)"
pkgname=nvidia
version=381.22
revision=1
revision=2
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Proprietary NVIDIA license"
homepage="http://www.nvidia.com"
@ -212,6 +212,9 @@ do_install() {
ln -sf libnvidia-opencl.so.${version} \
${DESTDIR}/usr/lib/libnvidia-opencl.so.1
# vulkan icd
vinstall nvidia_icd.json 644 usr/share/vulkan/icd.d
# dkms pkg
vmkdir usr/src/nvidia-${version}
vcopy "kernel/*" usr/src/nvidia-${version}