From 1ae249023ee8cbe86100aa1ba2de7ce97547bf7f Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Fri, 16 Dec 2016 15:16:38 +0000 Subject: nvidia, nvidia-utils, nvidia-settings: update to 375.26 --- abs/core/nvidia-utils/PKGBUILD | 22 ++++++++++++++-------- abs/core/nvidia/PKGBUILD | 10 +++++----- abs/extra/nvidia-settings/PKGBUILD | 16 ++++++++-------- 3 files changed, 27 insertions(+), 21 deletions(-) diff --git a/abs/core/nvidia-utils/PKGBUILD b/abs/core/nvidia-utils/PKGBUILD index dde54ab..95be900 100644 --- a/abs/core/nvidia-utils/PKGBUILD +++ b/abs/core/nvidia-utils/PKGBUILD @@ -5,7 +5,7 @@ pkgbase=nvidia-utils pkgname=('nvidia-utils' 'nvidia-libgl' 'opencl-nvidia') -pkgver=370.28 +pkgver=375.26 pkgrel=2 arch=('i686' 'x86_64') url="http://www.nvidia.com/" @@ -13,8 +13,8 @@ license=('custom') options=('!strip') source_i686=("http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run") source_x86_64=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run") -md5sums_i686=('7d3e1c691cd53852f422a93169268178') -md5sums_x86_64=('3bcd9a132e50a17b846869f1c57b9c75') +sha512sums_i686=('3bc859a95469a45f3c627018248d83e178d160385c3d17d9f890b0d142ecd1220fb21c442e4fe7755b831227a9c820736f447b162acd9699819c6e8145d6d841') +sha512sums_x86_64=('f52f6597daa1eaf4cbd934d785da6028ef23ecef98e14746143e3738504f8d65b73788abbcf9fd812317fc2c53cdf1c4d4839de57fafdea1930a08c6b21f1992') [[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}" [[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" @@ -37,8 +37,9 @@ prepare() { package_opencl-nvidia() { pkgdesc="OpenCL implemention for NVIDIA" - depends=('libcl' 'zlib') + depends=('zlib') optdepends=('opencl-headers: headers necessary for OpenCL development') + provides=('opencl-driver') cd "${_pkg}" # OpenCL @@ -86,6 +87,7 @@ package_nvidia-utils() { optdepends=('nvidia-settings: configuration tool' 'xorg-server-devel: nvidia-xconfig' 'opencl-nvidia: OpenCL support') + provides=('vulkan-driver') install="${pkgname}.install" cd "${_pkg}" @@ -98,17 +100,21 @@ package_nvidia-utils() { install -D -m755 "libGLX_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/libGLX_nvidia.so.${pkgver}" ln -s "libGLX_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/libGLX_indirect.so.0" + # Wayland stuff + install -D -m755 "libnvidia-egl-wayland.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-egl-wayland.so.${pkgver}" + ln -s "libnvidia-egl-wayland.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-egl-wayland.so.0" + # OpenGL libraries - install -D -m755 "libEGL.so.1" "${pkgdir}/usr/lib/nvidia/libEGL.so.1" install -D -m755 "libEGL_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/libEGL_nvidia.so.${pkgver}" install -D -m755 "libGLESv1_CM_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/libGLESv1_CM_nvidia.so.${pkgver}" install -D -m755 "libGLESv2_nvidia.so.${pkgver}" "${pkgdir}/usr/lib/libGLESv2_nvidia.so.${pkgver}" + install -D -m644 "10_nvidia.json" "${pkgdir}/usr/share/glvnd/egl_vendor.d/10_nvidia.json" # OpenGL core library install -D -m755 "libnvidia-glcore.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-glcore.so.${pkgver}" install -D -m755 "libnvidia-eglcore.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-eglcore.so.${pkgver}" install -D -m755 "libnvidia-glsi.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-glsi.so.${pkgver}" - + # misc install -D -m755 "libnvidia-ifr.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-ifr.so.${pkgver}" install -D -m755 "libnvidia-fbc.so.${pkgver}" "${pkgdir}/usr/lib/libnvidia-fbc.so.${pkgver}" @@ -176,9 +182,9 @@ package_nvidia-utils() { install -D -m644 NVIDIA_Changelog "${pkgdir}/usr/share/doc/nvidia/NVIDIA_Changelog" cp -r html "${pkgdir}/usr/share/doc/nvidia/" ln -s nvidia "${pkgdir}/usr/share/doc/nvidia-utils" - + # distro specific files must be installed in /usr/share/X11/xorg.conf.d install -D -m644 nvidia-drm-outputclass.conf "${pkgdir}/usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf" - + create_links } diff --git a/abs/core/nvidia/PKGBUILD b/abs/core/nvidia/PKGBUILD index e9254ba..47329f3 100644 --- a/abs/core/nvidia/PKGBUILD +++ b/abs/core/nvidia/PKGBUILD @@ -5,9 +5,9 @@ pkgbase=nvidia pkgname=(nvidia nvidia-dkms) -pkgver=370.28 +pkgver=375.26 _extramodules=extramodules-4.4-ARCH -pkgrel=2 +pkgrel=1 pkgdesc="NVIDIA drivers for linux" arch=('i686' 'x86_64') url="http://www.nvidia.com/" @@ -16,13 +16,13 @@ license=('custom') options=('!strip') source_i686=("http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run") source_x86_64=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run") -md5sums_i686=('7d3e1c691cd53852f422a93169268178') -md5sums_x86_64=('3bcd9a132e50a17b846869f1c57b9c75') +sha512sums_i686=('3bc859a95469a45f3c627018248d83e178d160385c3d17d9f890b0d142ecd1220fb21c442e4fe7755b831227a9c820736f447b162acd9699819c6e8145d6d841') +sha512sums_x86_64=('f52f6597daa1eaf4cbd934d785da6028ef23ecef98e14746143e3738504f8d65b73788abbcf9fd812317fc2c53cdf1c4d4839de57fafdea1930a08c6b21f1992') [[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}" [[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" -prepare() { +prepare() { sh "${_pkg}.run" --extract-only cd "${_pkg}" diff --git a/abs/extra/nvidia-settings/PKGBUILD b/abs/extra/nvidia-settings/PKGBUILD index 28ee5c4..798993e 100644 --- a/abs/extra/nvidia-settings/PKGBUILD +++ b/abs/extra/nvidia-settings/PKGBUILD @@ -3,7 +3,7 @@ pkgbase=nvidia-settings pkgname=('nvidia-settings' 'libxnvctrl') -pkgver=370.28 +pkgver=375.26 pkgrel=1 pkgdesc="Tool for configuring the NVIDIA graphics driver" arch=('i686' 'x86_64') @@ -11,20 +11,20 @@ url="https://github.com/NVIDIA/nvidia-settings" license=('GPL2') makedepends=('git' 'inetutils' 'gtk2' 'jansson' 'gtk3' 'libxv' 'libvdpau' 'nvidia-utils' 'libxext') options=('staticlibs') -source=("git+https://github.com/NVIDIA/nvidia-settings#tag=$pkgver" +source=(ftp://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-${pkgver}.tar.bz2 libxnvctrl_so.patch) -sha1sums=('SKIP' - '16619a01e92e565c79ad344be87ad11244ac1762') +sha512sums=('e575670ccf7e3ef0089ee6a969f107f6f43d742a60cc325c6d95efc4773f34a6e013fd2c4e38b5f90054e24146a05c2300c0cf6a9b7013b556bacc1402956f49' + 'ed4b609de9691fbb4421eea340399331e7a5c5f47b9de8eade40ca8f78ac39a6f76cc106928cd0d79825f248a3a0eb563a10f68b7b6991cf3e28db0dde2a0f8d') prepare() { export PREFIX=/usr export NV_USE_BUNDLED_LIBJANSSON=0 - cd ${pkgbase} + cd ${pkgbase}-${pkgver} patch -p1 < "${srcdir}/libxnvctrl_so.patch" } build() { - cd ${pkgbase} + cd ${pkgbase}-${pkgver} make make -C src/libXNVCtrl } @@ -32,7 +32,7 @@ build() { package_nvidia-settings() { depends=('jansson' 'gtk3' 'libxv' 'libvdpau' 'nvidia-utils' 'libxnvctrl') - cd ${pkgbase} + cd ${pkgbase}-${pkgver} make DESTDIR="${pkgdir}" install install -D -m644 doc/nvidia-settings.desktop "${pkgdir}/usr/share/applications/nvidia-settings.desktop" @@ -46,7 +46,7 @@ package_libxnvctrl() { depends=('libxext') pkgdesc='NVIDIA NV-CONTROL X extension' - cd ${pkgbase} + cd ${pkgbase}-${pkgver} install -Dm 644 doc/{NV-CONTROL-API.txt,FRAMELOCK.txt} -t "${pkgdir}/usr/share/doc/${pkgname}" install -Dm 644 samples/{Makefile,README,*.c,*.h,*.mk} -t "${pkgdir}/usr/share/doc/${pkgname}/samples" -- cgit v0.12