mirror of
https://github.com/Frogging-Family/nvidia-all
synced 2024-10-30 15:20:10 +00:00
470.62.22
This commit is contained in:
parent
ff2a839f22
commit
d4d8346e63
12
PKGBUILD
12
PKGBUILD
@ -48,7 +48,7 @@ if [ -z "$_driver_version" ] || [ "$_driver_version" = "latest" ] || [ -z "$_dri
|
||||
fi
|
||||
fi
|
||||
if [[ -z $CONDITION ]]; then
|
||||
read -p " What driver version do you want?`echo $'\n > 1.Vulkan dev: 470.62.20\n 2.510 series: 510.39.01\n 3.495 series: 495.46\n 4.470 series: 470.94\n 5.465 series: 465.31\n 6.460 series: 460.91.03\n 7.455 series: 455.45.01\n 7.450 series: 450.119.03\n 9.440 series: 440.100 (kernel 5.8 or lower)\n 10.435 series: 435.21 (kernel 5.6 or lower)\n 11.430 series: 430.64 (kernel 5.5 or lower)\n 12.418 series: 418.113 (kernel 5.5 or lower)\n 13.415 series: 415.27 (kernel 5.4 or lower)\n 14.410 series: 410.104 (kernel 5.5 or lower)\n 15.396 series: 396.54 (kernel 5.3 or lower, 5.1 or lower recommended)\n 16.Custom version (396.xx series or higher)\n choice[1-16?]: '`" CONDITION;
|
||||
read -p " What driver version do you want?`echo $'\n > 1.Vulkan dev: 470.62.22\n 2.510 series: 510.39.01\n 3.495 series: 495.46\n 4.470 series: 470.94\n 5.465 series: 465.31\n 6.460 series: 460.91.03\n 7.455 series: 455.45.01\n 7.450 series: 450.119.03\n 9.440 series: 440.100 (kernel 5.8 or lower)\n 10.435 series: 435.21 (kernel 5.6 or lower)\n 11.430 series: 430.64 (kernel 5.5 or lower)\n 12.418 series: 418.113 (kernel 5.5 or lower)\n 13.415 series: 415.27 (kernel 5.4 or lower)\n 14.410 series: 410.104 (kernel 5.5 or lower)\n 15.396 series: 396.54 (kernel 5.3 or lower, 5.1 or lower recommended)\n 16.Custom version (396.xx series or higher)\n choice[1-16?]: '`" CONDITION;
|
||||
fi
|
||||
# This will be treated as the latest regular driver.
|
||||
if [ "$CONDITION" = "2" ]; then
|
||||
@ -121,8 +121,8 @@ if [ -z "$_driver_version" ] || [ "$_driver_version" = "latest" ] || [ -z "$_dri
|
||||
echo "_driver_version=$_driver_version" >> options
|
||||
# This (condition 1) will be treated as the latest Vulkan developer driver.
|
||||
else
|
||||
echo '_driver_version=470.62.20' > options
|
||||
echo '_md5sum=9713a09b84b69f6dba645a50e1e147d4' >> options
|
||||
echo '_driver_version=470.62.22' > options
|
||||
echo '_md5sum=903c9e5dce1d1f76403c9e14499239da' >> options
|
||||
echo '_driver_branch=vulkandev' >> options
|
||||
fi
|
||||
# Package type selector
|
||||
@ -234,7 +234,7 @@ fi
|
||||
|
||||
pkgname=("${_pkgname_array[@]}")
|
||||
pkgver=$_driver_version
|
||||
pkgrel=194
|
||||
pkgrel=195
|
||||
arch=('x86_64')
|
||||
url="http://www.nvidia.com/"
|
||||
license=('custom:NVIDIA')
|
||||
@ -456,9 +456,9 @@ DEST_MODULE_LOCATION[3]="/kernel/drivers/video"' dkms.conf
|
||||
fi
|
||||
for _kernel in "${_kernels[@]}"; do
|
||||
# Use separate source directories
|
||||
cp -r kernel kernel-$_kernel
|
||||
cp -r kernel kernel-"$_kernel"
|
||||
|
||||
cd "$srcdir"/"$_pkg"/kernel-$_kernel
|
||||
cd "$srcdir"/"$_pkg"/kernel-"$_kernel"
|
||||
if (( ${pkgver%%.*} <= 455 )); then
|
||||
msg2 "Applying linux-version.diff for $_kernel..."
|
||||
patch -p2 -i "$srcdir"/linux-version.diff
|
||||
|
Loading…
Reference in New Issue
Block a user