nvidia_x11: move vdpau libraries to lib/vdpau
This commit is contained in:
parent
364f297bb2
commit
6563fa6125
@ -93,6 +93,10 @@ installPhase() {
|
|||||||
substituteInPlace $out/share/applications/nvidia-settings.desktop \
|
substituteInPlace $out/share/applications/nvidia-settings.desktop \
|
||||||
--replace '__UTILS_PATH__' $out/bin \
|
--replace '__UTILS_PATH__' $out/bin \
|
||||||
--replace '__PIXMAP_PATH__' $out/share/pixmaps
|
--replace '__PIXMAP_PATH__' $out/share/pixmaps
|
||||||
|
|
||||||
|
# Move VDPAU libraries to their place
|
||||||
|
mkdir "$out"/lib/vdpau
|
||||||
|
mv "$out"/lib/libvdpau* "$out"/lib/vdpau
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -108,8 +108,12 @@ installPhase() {
|
|||||||
#patchelf --set-rpath $cudaPath $out/lib/libcuda.so.*.*
|
#patchelf --set-rpath $cudaPath $out/lib/libcuda.so.*.*
|
||||||
#patchelf --set-rpath $openclPath $out/lib/libnvidia-opencl.so.*.*
|
#patchelf --set-rpath $openclPath $out/lib/libnvidia-opencl.so.*.*
|
||||||
|
|
||||||
# we distribute these separately in `libvdpau`
|
# We distribute these separately in `libvdpau`
|
||||||
rm "$out"/lib/libvdpau{.*,_trace.*}
|
rm "$out"/lib/libvdpau{.*,_trace.*}
|
||||||
|
|
||||||
|
# Move VDPAU libraries to their place
|
||||||
|
mkdir "$out"/lib/vdpau
|
||||||
|
mv "$out"/lib/libvdpau* "$out"/lib/vdpau
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -119,8 +119,12 @@ installPhase() {
|
|||||||
# For simplicity and dependency reduction, don't support the gtk3 interface.
|
# For simplicity and dependency reduction, don't support the gtk3 interface.
|
||||||
rm $out/lib/libnvidia-gtk3.*
|
rm $out/lib/libnvidia-gtk3.*
|
||||||
|
|
||||||
# we distribute these separately in `libvdpau`
|
# We distribute these separately in `libvdpau`
|
||||||
rm "$out"/lib/libvdpau{.*,_trace.*}
|
rm "$out"/lib/libvdpau{.*,_trace.*}
|
||||||
|
|
||||||
|
# Move VDPAU libraries to their place
|
||||||
|
mkdir "$out"/lib/vdpau
|
||||||
|
mv "$out"/lib/libvdpau* "$out"/lib/vdpau
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user