summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2018-10-20 16:19:44 +0000
committerDaniel Bermond2018-10-20 16:19:44 +0000
commitf7140a1d0b98cdcf02824e02fb3bdfbc999fb34c (patch)
tree666fbe12731da0039b6d73fc16d983dbd0591137
parent1ba2a786739be8a671ef2f236f97fe2aec56e1f1 (diff)
downloadaur-f7140a1d0b98cdcf02824e02fb3bdfbc999fb34c.tar.gz
Updated to version 410.66
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD35
2 files changed, 25 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 93ab5be2d4e..d1eb5b9dc44 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,19 @@
pkgbase = nvidia-utils-beta
- pkgver = 410.57
- pkgrel = 4
+ pkgdesc = NVIDIA driver utilities and libraries (beta version)
+ pkgver = 410.66
+ pkgrel = 1
url = http://www.nvidia.com/
arch = x86_64
license = custom:NVIDIA
options = !strip
- source = http://us.download.nvidia.com/XFree86/Linux-x86_64/410.57/NVIDIA-Linux-x86_64-410.57-no-compat32.run
+ source = http://us.download.nvidia.com/XFree86/Linux-x86_64/410.66/NVIDIA-Linux-x86_64-410.66-no-compat32.run
source = nvidia-drm-outputclass.conf
source = nvidia-utils-beta.sysusers
- sha256sums = 1ad40d83ec712843c1b5593949abefc9093399fb26a418ae9a571fbd1d9b228e
+ sha256sums = c4e297ed93341841c7ccb32569c179baecbb6ea253215cbc3668a51d729227cd
sha256sums = 089d6dc247c9091b320c418b0d91ae6adda65e170934d178cdd4e9bd0785b182
sha256sums = d8d1caa5d72c71c6430c2a0d9ce1a674787e9272ccce28b9d5898ca24e60a167
pkgname = nvidia-utils-beta
- pkgdesc = NVIDIA driver utilities and libraries (beta version)
install = nvidia-utils-beta.install
depends = xorg-server
depends = mesa>=17.0.2-2
@@ -22,8 +22,8 @@ pkgname = nvidia-utils-beta
optdepends = opencl-nvidia-beta: OpenCL support
optdepends = xorg-server-devel: nvidia-xconfig
optdepends = egl-wayland-git: for alternative, more advanced Wayland library (libnvidia-egl-wayland.so.1.1.0)
- provides = nvidia-utils=410.57
- provides = nvidia-settings=410.57
+ provides = nvidia-utils=410.66
+ provides = nvidia-settings=410.66
provides = libglvnd
provides = vulkan-driver
conflicts = nvidia-utils
@@ -39,7 +39,7 @@ pkgname = nvidia-egl-wayland-beta
pkgname = nvidia-libgl-beta
pkgdesc = NVIDIA driver library symlinks for 'nvidia-utils-beta'
depends = nvidia-utils-beta
- provides = nvidia-libgl=410.57
+ provides = nvidia-libgl=410.66
provides = libgl
provides = libegl
provides = libgles
@@ -52,7 +52,7 @@ pkgname = opencl-nvidia-beta
pkgdesc = NVIDIA's OpenCL implemention for 'nvidia-utils-beta'
depends = zlib
optdepends = opencl-headers: headers necessary for OpenCL development
- provides = opencl-nvidia=410.57
+ provides = opencl-nvidia=410.66
provides = opencl-driver
conflicts = opencl-nvidia
diff --git a/PKGBUILD b/PKGBUILD
index 6b7264628dc..951566a68be 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,22 +4,24 @@
# Contributor: Dan Vratil
# Based on [extra]'s nvidia-utils: https://www.archlinux.org/packages/extra/x86_64/nvidia-utils/
+pkgbase=nvidia-utils-beta
pkgname=('nvidia-utils-beta' 'nvidia-egl-wayland-beta' 'nvidia-libgl-beta' 'opencl-nvidia-beta')
-pkgver=410.57
-pkgrel=4
+pkgver=410.66
+pkgrel=1
+pkgdesc='NVIDIA driver utilities and libraries (beta version)'
arch=('x86_64')
url="http://www.nvidia.com/"
license=('custom:NVIDIA')
options=('!strip')
-_pkg="NVIDIA-Linux-x86_64-$pkgver-no-compat32"
-source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run"
+_pkg="NVIDIA-Linux-${CARCH}-${pkgver}-no-compat32"
+source=("http://us.download.nvidia.com/XFree86/Linux-${CARCH}/${pkgver}/${_pkg}.run"
'nvidia-drm-outputclass.conf'
'nvidia-utils-beta.sysusers')
-sha256sums=('1ad40d83ec712843c1b5593949abefc9093399fb26a418ae9a571fbd1d9b228e'
+sha256sums=('c4e297ed93341841c7ccb32569c179baecbb6ea253215cbc3668a51d729227cd'
'089d6dc247c9091b320c418b0d91ae6adda65e170934d178cdd4e9bd0785b182'
'd8d1caa5d72c71c6430c2a0d9ce1a674787e9272ccce28b9d5898ca24e60a167')
-_eglver='1.1.0'
+_eglver=1.1.0
_create_links() {
# create missing soname links
@@ -35,18 +37,14 @@ _create_links() {
}
prepare() {
- # Remove previous builds
- if [[ -d $_pkg ]]; then
- rm -rf $_pkg
- fi
-
- # Extract
- msg2 "Self-Extracting $_pkg.run..."
- sh $_pkg.run -x
- cd $_pkg
- bsdtar -xf nvidia-persistenced-init.tar.bz2
-
- sed -i 's/__NV_VK_ICD__/libGLX_nvidia.so.0/' nvidia_icd.json.template
+ # extract the source file
+ [ -d "$_pkg" ] && rm -rf "$_pkg"
+ printf '%s\n' " -> Self-Extracting ${_pkg}.run..."
+ sh "${_pkg}.run" --extract-only
+ cd "${_pkg}"
+ bsdtar -xf nvidia-persistenced-init.tar.bz2
+
+ sed -i 's/__NV_VK_ICD__/libGLX_nvidia.so.0/' nvidia_icd.json.template
}
package_opencl-nvidia-beta() {
@@ -116,7 +114,6 @@ package_nvidia-egl-wayland-beta() {
}
package_nvidia-utils-beta() {
- pkgdesc="NVIDIA driver utilities and libraries (beta version)"
depends=('xorg-server' 'mesa>=17.0.2-2')
optdepends=('gtk2: nvidia-settings (GTK+ v2)'
'gtk3: nvidia-settings (GTK+ v3)'