diff options
-rw-r--r-- | system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild | 38 | ||||
-rw-r--r-- | system/nvidia-legacy470-driver/nvidia-legacy470-driver.info | 26 |
2 files changed, 32 insertions, 32 deletions
diff --git a/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild b/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild index df04d30c7a5e0..e2d29eba691a3 100644 --- a/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild +++ b/system/nvidia-legacy470-driver/nvidia-legacy470-driver.SlackBuild @@ -24,10 +24,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# see changelog.txt +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=nvidia-legacy470-driver -VERSION=${VERSION:-470.103.01} +VERSION=${VERSION:-470.129.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -42,14 +42,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. -if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" - exit 0 -fi - CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -66,6 +58,22 @@ else exit 1 fi +if [ "${COMPAT32}" = "yes" ]; then + COMP32="--install-compat32-libs --compat32-prefix=$PKG/usr" + MULTI="_multilib" +else + COMP32="--no-install-compat32-libs" + MULTI="" +fi + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION$MULTI-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + # There are a couple of unresolved issues with nvidia-installer, so we # abort if an Nvidia driver is still installed: if [ -x /usr/bin/nvidia-installer ]; then @@ -136,14 +144,6 @@ cd - mv -f $PKG/usr/bin/nvidia-installer $TMP/$SRCNAM mv -f $PKG/usr/man/man1/nvidia-installer.1.gz $TMP/$SRCNAM -if [ "${COMPAT32}" = "yes" ]; then - COMP32="--install-compat32-libs --compat32-prefix=$PKG/usr" - MULTI="_multilib" -else - COMP32="--no-install-compat32-libs" - MULTI="" -fi - # Install the binary libs using nvidia-installer compiled above cd $TMP/$SRCNAM ./nvidia-installer -s --no-kernel-module --no-drm --no-unified-memory \ @@ -321,4 +321,4 @@ fi # Flag multlib as needed and build package. cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION$MULTI-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/nvidia-legacy470-driver/nvidia-legacy470-driver.info b/system/nvidia-legacy470-driver/nvidia-legacy470-driver.info index 25b86cc296f03..663b2eb977e85 100644 --- a/system/nvidia-legacy470-driver/nvidia-legacy470-driver.info +++ b/system/nvidia-legacy470-driver/nvidia-legacy470-driver.info @@ -1,20 +1,20 @@ PRGNAM="nvidia-legacy470-driver" -VERSION="470.103.01" +VERSION="470.129.06" HOMEPAGE="http://www.nvidia.com" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/470.103.01/NVIDIA-Linux-x86_64-470.103.01.run \ - https://download.nvidia.com/XFree86/nvidia-installer/nvidia-installer-470.103.01.tar.bz2 \ - https://download.nvidia.com/XFree86/nvidia-modprobe/nvidia-modprobe-470.103.01.tar.bz2 \ - https://download.nvidia.com/XFree86/nvidia-persistenced/nvidia-persistenced-470.103.01.tar.bz2 \ - https://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-470.103.01.tar.bz2 \ - https://download.nvidia.com/XFree86/nvidia-xconfig/nvidia-xconfig-470.103.01.tar.bz2" -MD5SUM_x86_64="f4ea68e482f51f7b358c8bec6162c27a \ - f8c30b5d2a83880c4235ca867c48f92f \ - 3eb0e1857afb7958e90d6650d1a79a03 \ - 1c90761474340fe8db6276ff1bf5f091 \ - e8aed4ba86c301c0773420b187dfe82d \ - 6efff0f5fbe83b1b969c6c9bcce36204" +DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/470.129.06/NVIDIA-Linux-x86_64-470.129.06.run \ + https://download.nvidia.com/XFree86/nvidia-installer/nvidia-installer-470.129.06.tar.bz2 \ + https://download.nvidia.com/XFree86/nvidia-modprobe/nvidia-modprobe-470.129.06.tar.bz2 \ + https://download.nvidia.com/XFree86/nvidia-persistenced/nvidia-persistenced-470.129.06.tar.bz2 \ + https://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-470.129.06.tar.bz2 \ + https://download.nvidia.com/XFree86/nvidia-xconfig/nvidia-xconfig-470.129.06.tar.bz2" +MD5SUM_x86_64="1a9c8ad241e693dcdafc62c37e7c1cdc \ + d560fae09dc184bed67332c33417eaf4 \ + 64061456649ed2c069d3e11765b1690d \ + e84a8e5ecb4b5b4f864cfa13ff317856 \ + 14397b6ca9e9990228aa3215f934cd06 \ + d1ef6c796686cb015ce44f34bcb55e47" REQUIRES="nvidia-legacy470-kernel" MAINTAINER="Lenard Spencer" EMAIL="lenardrspencer@gmail.com" |