summaryrefslogtreecommitdiff
path: root/system/nvidia-driver/nvidia-driver.SlackBuild
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2018-04-27 09:22:07 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-27 09:22:07 +0700
commit9d60bb81360e86aea98d8466f8c95ff687e99fc1 (patch)
tree1db390e2c22724e99e662ae4706977c62ec3eb2c /system/nvidia-driver/nvidia-driver.SlackBuild
parentec26e8f78bed80996e9cc458ccfd3e1d05739668 (diff)
downloadslackbuilds-9d60bb81360e86aea98d8466f8c95ff687e99fc1.tar.gz
system/nvidia-driver: Updated for version 390.48.
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.SlackBuild22
1 files changed, 11 insertions, 11 deletions
diff --git a/system/nvidia-driver/nvidia-driver.SlackBuild b/system/nvidia-driver/nvidia-driver.SlackBuild
index 2c28ac69e6..2698fa6a12 100644
--- a/system/nvidia-driver/nvidia-driver.SlackBuild
+++ b/system/nvidia-driver/nvidia-driver.SlackBuild
@@ -25,7 +25,7 @@
# see changelog.txt
PRGNAM=nvidia-driver
-VERSION=${VERSION:-390.42}
+VERSION=${VERSION:-390.48}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -152,9 +152,9 @@ fi
# Install the binary libs using nvidia-installer compiled above
cd $TMP/$SRCNAM
-./nvidia-installer -s --no-kernel-module -z -n -b \
- --no-rpms --no-distro-scripts --no-kernel-module-source \
- --no-x-check --force-libglx-indirect \
+./nvidia-installer -s --no-kernel-module --no-drm --no-unified-memory \
+ -z -n -b --no-rpms --no-distro-scripts \
+ --no-kernel-module-source --no-x-check --force-libglx-indirect \
--x-prefix=$PKG/usr \
--x-module-path=$PKG/usr/lib${LIBDIRSUFFIX}/xorg/modules \
--x-library-path=$PKG/usr/lib${LIBDIRSUFFIX} \
@@ -293,11 +293,11 @@ fi
# rename wrong/conficting files as needed; remove conflicting symlinks created by installer
cd $PKG/usr/lib$LIBDIRSUFFIX
if [ "$GLVND" = "yes" ]; then
- mv libEGL.so.1 libEGL.so.1-nvidia
+ mv libEGL.so.1.1.0 libEGL.so.1.1.0-nvidia
fi
mv libGL.la libGL.la-nvidia
- mv libGLESv1_CM.so.1 libGLESv1_CM.so.1-nvidia
- mv libGLESv2.so.2 libGLESv2.so.2-nvidia
+ mv libGLESv1_CM.so.1.2.0 libGLESv1_CM.so.1.2.0-nvidia
+ mv libGLESv2.so.2.1.0 libGLESv2.so.2.1.0-nvidia
rm -f libEGL.so
rm -f libGL.so
rm -f libGL.so.1
@@ -310,11 +310,11 @@ cd -
if [ "$ARCH" = "x86_64" -a "${COMPAT32}" = "yes" ]; then
cd $PKG/usr/lib
if [ "$GLVND" = "yes" ]; then
- mv libEGL.so.1 libEGL.so.1-nvidia
+ mv libEGL.so.1.1.0 libEGL.so.1.1.0-nvidia
fi
mv libGL.la libGL.la-nvidia
- mv libGLESv1_CM.so.1 libGLESv1_CM.so.1-nvidia
- mv libGLESv2.so.2 libGLESv2.so.2-nvidia
+ mv libGLESv1_CM.so.1.2.0 libGLESv1_CM.so.1.2.0-nvidia
+ mv libGLESv2.so.2.1.0 libGLESv2.so.2.1.0-nvidia
rm -f libEGL.so
rm -f libGL.so
rm -f libGL.so.1
@@ -322,7 +322,7 @@ if [ "$ARCH" = "x86_64" -a "${COMPAT32}" = "yes" ]; then
rm -f libGLESv2.so
cd -
# FIXME With COMPAT32=yes on pure x86_64, a weird /usr/lib/libGL.so.1 symlink to $PKG/usr/lib64/libGL.so.1
-# appears? this gets fixed in nvidia-switch so ignoring for now.
+# appears? Who would do this, so ignoring for now.
fi
# Move ICDs to $PKG and cleanup (no switch option in installer?)