mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
system/nvidia-driver: Fix Vulkan path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1eebf93498
commit
ec0f161ca5
1 changed files with 6 additions and 6 deletions
|
@ -31,7 +31,7 @@ BUILD=${BUILD:-1}
|
|||
TAG=${TAG:-_SBo}
|
||||
CPROXY=${CPROXY:-yes}
|
||||
GLVND=${GLVND:-yes}
|
||||
# Note: libglvnd may land in X.org Mesa and Nvidia recommended
|
||||
# Note: libglvnd may land in X.org Mesa and Nvidia recommended
|
||||
|
||||
set -e
|
||||
|
||||
|
@ -104,7 +104,7 @@ mkdir -p $PKG/install $PKG/usr/lib$LIBDIRSUFFIX/xorg/modules/{drivers,extensions
|
|||
$PKG/etc/OpenCL/vendors/ $PKG/usr/lib$LIBDIRSUFFIX/{tls,vdpau} \
|
||||
$PKG/etc/X11/glvnd/egl_vendor.d \
|
||||
$PKG/usr/{bin,man/man1,sbin} $PKG/usr/share/{applications,nvidia,pixmaps} \
|
||||
$PKG/usr/include/GL $PKG/etc/vulcan/icd.d $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
$PKG/usr/include/GL $PKG/etc/vulkan/icd.d $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
# Main X driver and modules
|
||||
install -m 755 nvidia_drv.so $PKG/usr/lib$LIBDIRSUFFIX/xorg/modules/drivers/
|
||||
|
@ -113,7 +113,7 @@ install -m 755 libglx.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/xorg/modules/extensi
|
|||
install -m 755 libnvidia-wfb.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/xorg/modules/libnvidia-wfb.so.$VERSION
|
||||
|
||||
if [ "$GLVND" = "no" ]; then
|
||||
# The non-GLVND GLX client libraries
|
||||
# The non-GLVND GLX client libraries
|
||||
install -m 755 libGL.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
|
||||
install -m 755 libEGL.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
|
||||
else
|
||||
|
@ -213,8 +213,8 @@ if [ "$ARCH" = "x86_64" -a "${COMPAT32}" = "yes" ]; then
|
|||
install -m 755 32/libnvidia-tls.so.$VERSION $PKG/usr/lib/
|
||||
install -m 755 32/tls/libnvidia-tls.so.$VERSION $PKG/usr/lib/tls/
|
||||
install -m 755 32/libvdpau_nvidia.so.$VERSION $PKG/usr/lib/vdpau/
|
||||
|
||||
# non-conflict symlinks for optional 32-bit support; see also 'nvidia-switch'
|
||||
|
||||
# non-conflict symlinks for optional 32-bit support; see also 'nvidia-switch'
|
||||
cd $PKG/usr/lib
|
||||
ln -sf libcuda.so.$VERSION libcuda.so
|
||||
ln -sf libGLX.so.0 libGLX.so
|
||||
|
@ -234,7 +234,7 @@ fi
|
|||
|
||||
#ICDs
|
||||
install -m 644 nvidia.icd $PKG/etc/OpenCL/vendors/
|
||||
install -m 644 nvidia_icd.json $PKG/etc/vulcan/icd.d
|
||||
install -m 644 nvidia_icd.json $PKG/etc/vulkan/icd.d
|
||||
# Shouldn't hurt to have this as well regardless of GLX client libraries used
|
||||
install -m 644 10_nvidia.json $PKG/etc/X11/glvnd/egl_vendor.d/
|
||||
|
||||
|
|
Loading…
Reference in a new issue