summaryrefslogtreecommitdiff
path: root/system/nvidia-driver/nvidia-driver.SlackBuild
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2017-03-12 14:51:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-15 17:38:13 +0700
commitec0f161ca552d2fef5a10d16b35d0d1498589ff1 (patch)
treea8ab813296d65517e9f928d4eb65a419d7247f06 /system/nvidia-driver/nvidia-driver.SlackBuild
parent1eebf9349885783d46cd1970d129049c9589293b (diff)
downloadslackbuilds-ec0f161ca552d2fef5a10d16b35d0d1498589ff1.tar.gz
system/nvidia-driver: Fix Vulkan path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-driver/nvidia-driver.SlackBuild')
-rw-r--r--system/nvidia-driver/nvidia-driver.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/nvidia-driver/nvidia-driver.SlackBuild b/system/nvidia-driver/nvidia-driver.SlackBuild
index a5d92572cd..bd1e93e1d2 100644
--- a/system/nvidia-driver/nvidia-driver.SlackBuild
+++ b/system/nvidia-driver/nvidia-driver.SlackBuild
@@ -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/