nvidia-x11: don't install libvdpau* that we have already

Besides being redundant to inject libvdpau via LD_LIBRARY_PATH,
currently the drivers come with a vulnerable version.
https://devtalk.nvidia.com/default/topic/873035
This commit is contained in:
Vladimír Čunát 2015-09-01 11:33:11 +02:00
parent 5d5c053f68
commit 1464a4de57
2 changed files with 6 additions and 0 deletions

View File

@ -107,6 +107,9 @@ installPhase() {
#patchelf --set-rpath $out/lib:$glPath $out/lib/libvdpau_nvidia.so.*.*
#patchelf --set-rpath $cudaPath $out/lib/libcuda.so.*.*
#patchelf --set-rpath $openclPath $out/lib/libnvidia-opencl.so.*.*
# we distribute these separately in `libvdpau`
rm "$out"/lib/libvdpau{.*,_trace.*}
}

View File

@ -122,6 +122,9 @@ installPhase() {
# For simplicity and dependency reduction, don't support the gtk3 interface.
rm $out/lib/libnvidia-gtk3.*
# we distribute these separately in `libvdpau`
rm "$out"/lib/libvdpau{.*,_trace.*}
}