aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild')
-rw-r--r--system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild b/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild
index e2d29eba691a3..f38439196e575 100644
--- a/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild
+++ b/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nvidia-legacy470-driver
-VERSION=${VERSION:-470.129.06}
+VERSION=${VERSION:-470.141.03}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -173,9 +173,9 @@ mv /etc/vulkan/implicit_layer.d/nvidia_layers.json $PKG/etc/vulkan/implicit_laye
# libOpenCL.so is now included in 15.0 (in ocl-icd),
# so we don't need this one.
-rm -f $PKG/usr/lib${LIBDIRSUFFIX}/libOpenCL.so.1.0.0
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/libOpenCL.so*
if [ "${COMPAT32}" = "yes" ]; then
- rm -f $PKG/usr/lib/libOpenCL.so.1.0.0
+ rm -f $PKG/usr/lib/libOpenCL.so*
fi
# Compile utilites from source, replacing the precompiled versions
@@ -245,7 +245,9 @@ cd -
# These update the paths in nvidia-settings.desktop
sed -i "s|__UTILS_PATH__|/usr/bin|" $PKG/usr/share/applications/nvidia-settings.desktop
sed -i "s|__PIXMAP_PATH__|/usr/share/pixmaps|" $PKG/usr/share/applications/nvidia-settings.desktop
-sed -i "s|__NVIDIA_SETTINGS_DESKTOP_CATEGORIES__|Application;Settings;|" $PKG/usr/share/applications/nvidia-settings.desktop
+sed -i "s|__NVIDIA_SETTINGS_DESKTOP_CATEGORIES__|Settings;|" $PKG/usr/share/applications/nvidia-settings.desktop
+# Remove depcrecated entry in nvidia-settings.desktop
+sed -i '/Encoding/d' $PKG/usr/share/applications/nvidia-settings.desktop
# Remove xorg conf file since we handle that in nvidia-kernel
rm -rf $PKG/etc/X11/xorg.conf.d