Date: Sunday, February 19, 2017 @ 01:48:44 Author: svenstaro Revision: 213095
archrelease: copy trunk to multilib-x86_64 Added: lib32-nvidia-340xx-utils/repos/multilib-x86_64/PKGBUILD (from rev 213094, lib32-nvidia-340xx-utils/trunk/PKGBUILD) Deleted: lib32-nvidia-340xx-utils/repos/multilib-x86_64/PKGBUILD ----------+ PKGBUILD | 240 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 120 insertions(+), 120 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-02-19 01:48:34 UTC (rev 213094) +++ PKGBUILD 2017-02-19 01:48:44 UTC (rev 213095) @@ -1,120 +0,0 @@ -# $Id: PKGBUILD 117364 2014-08-13 13:50:53Z svenstaro $ -# Maintainer: Thomas Baechler <tho...@archlinux.org> -# Contributor: James Rayner <iphi...@gmail.com> - -_pkgbasename=nvidia-340xx-utils -pkgbase=lib32-$_pkgbasename -pkgname=('lib32-nvidia-340xx-utils' 'lib32-nvidia-340xx-libgl' 'lib32-opencl-nvidia-340xx') -pkgver=340.101 -pkgrel=1 -arch=('x86_64') -url="http://www.nvidia.com/" -license=('custom') -options=('!strip') - -_arch='x86' -_pkg="NVIDIA-Linux-${_arch}-${pkgver}" -source=("http://us.download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run") -sha512sums=('5866f2b4e6e22863c54d9fc08c9c88c9c911df2396d0ceaca653ded04589ea3a9e4550ed58f4b182b0a42cfe205ef643fe43ea709478e5df5360a7f74fa87f41') - -create_links() { - # create soname links - for _lib in $(find "${pkgdir}" -name '*.so*' | grep -v 'xorg/'); do - _soname=$(dirname "${_lib}")/$(readelf -d "${_lib}" | grep -Po 'SONAME.*: \[\K[^]]*' || true) - _base=$(echo ${_soname} | sed -r 's/(.*).so.*/\1.so/') - [[ -e "${_soname}" ]] || ln -s $(basename "${_lib}") "${_soname}" - [[ -e "${_base}" ]] || ln -s $(basename "${_soname}") "${_base}" - done -} - -build() { - sh ${_pkg}.run --extract-only -} - -package_lib32-opencl-nvidia-340xx() { - pkgdesc="OpenCL implemention for NVIDIA (32-bit)" - depends=('lib32-zlib' 'lib32-gcc-libs') - optdepends=('opencl-headers: headers necessary for OpenCL development') - conflicts=('lib32-opencl-nvidia') - provides=('lib32-opencl-driver') - cd "${_pkg}" - - # OpenCL - install -D -m755 "libnvidia-compiler.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-compiler.so.${pkgver}" - install -D -m755 "libnvidia-opencl.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-opencl.so.${pkgver}" - - create_links - - mkdir -p "${pkgdir}/usr/share/licenses" - ln -s nvidia "${pkgdir}/usr/share/licenses/lib32-opencl-nvidia" -} - -package_lib32-nvidia-340xx-libgl() { - pkgdesc="NVIDIA drivers libraries symlinks (32-bit)" - depends=('lib32-nvidia-340xx-utils') - conflicts=('lib32-libgl') - provides=('lib32-libgl') - cd "${_pkg}" - - mkdir -p "${pkgdir}/usr/lib32" - ln -s "/usr/lib32/nvidia/libGL.so.${pkgver}" "${pkgdir}/usr/lib32/libGL.so.${pkgver}" - ln -s "libGL.so.${pkgver}" "${pkgdir}/usr/lib32/libGL.so.1" - ln -s "libGL.so.${pkgver}" "${pkgdir}/usr/lib32/libGL.so" - - ln -s "/usr/lib32/nvidia/libEGL.so.${pkgver}" "${pkgdir}/usr/lib32/libEGL.so.${pkgver}" - ln -s "libEGL.so.${pkgver}" "${pkgdir}/usr/lib32/libEGL.so.1" - ln -s "libEGL.so.${pkgver}" "${pkgdir}/usr/lib32/libEGL.so" - - ln -s "/usr/lib32/nvidia/libGLESv1_CM.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv1_CM.so.${pkgver}" - ln -s "libGLESv1_CM.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv1_CM.so.1" - ln -s "libGLESv1_CM.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv1_CM.so" - - ln -s "/usr/lib32/nvidia/libGLESv2.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv2.so.${pkgver}" - ln -s "libGLESv2.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv2.so.2" - ln -s "libGLESv2.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv2.so" - - mkdir -p "${pkgdir}/usr/share/licenses" - ln -s nvidia "${pkgdir}/usr/share/licenses/lib32-nvidia-libgl" -} - -package_lib32-nvidia-340xx-utils() { - pkgdesc="NVIDIA drivers utilities (32-bit)" - depends=('lib32-zlib' 'lib32-gcc-libs' 'nvidia-340xx-utils') - optdepends=('lib32-opencl-nvidia-340xx') - conflicts=('lib32-nvidia-utils') - cd "${_pkg}" - - # OpenGL libraries - install -D -m755 "libGL.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libGL.so.${pkgver}" - install -D -m755 "libEGL.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libEGL.so.${pkgver}" - install -D -m755 "libGLESv1_CM.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libGLESv1_CM.so.${pkgver}" - install -D -m755 "libGLESv2.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libGLESv2.so.${pkgver}" - - # OpenGL core library - install -D -m755 "libnvidia-glcore.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-glcore.so.${pkgver}" - install -D -m755 "libnvidia-eglcore.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-eglcore.so.${pkgver}" - install -D -m755 "libnvidia-glsi.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-glsi.so.${pkgver}" - - # misc - install -D -m755 "libnvidia-ifr.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-ifr.so.${pkgver}" - install -D -m755 "libnvidia-fbc.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-fbc.so.${pkgver}" - install -D -m755 "libnvidia-encode.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-encode.so.${pkgver}" - install -D -m755 "libnvidia-cfg.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-cfg.so.${pkgver}" - install -D -m755 "libnvidia-ml.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-ml.so.${pkgver}" - - # VDPAU - install -D -m755 "libvdpau_nvidia.so.${pkgver}" "${pkgdir}/usr/lib32/vdpau/libvdpau_nvidia.so.${pkgver}" - - # nvidia-tls library - install -D -m755 "tls/libnvidia-tls.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-tls.so.${pkgver}" - - # CUDA - install -D -m755 "libcuda.so.${pkgver}" "${pkgdir}/usr/lib32/libcuda.so.${pkgver}" - install -D -m755 "libnvcuvid.so.${pkgver}" "${pkgdir}/usr/lib32/libnvcuvid.so.${pkgver}" - - create_links - - rm -rf "${pkgdir}"/usr/{include,share,bin} - mkdir -p "${pkgdir}/usr/share/licenses" - ln -s nvidia "${pkgdir}/usr/share/licenses/${pkgname}" -} Copied: lib32-nvidia-340xx-utils/repos/multilib-x86_64/PKGBUILD (from rev 213094, lib32-nvidia-340xx-utils/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-02-19 01:48:44 UTC (rev 213095) @@ -0,0 +1,120 @@ +# $Id: PKGBUILD 117364 2014-08-13 13:50:53Z svenstaro $ +# Maintainer: Thomas Baechler <tho...@archlinux.org> +# Contributor: James Rayner <iphi...@gmail.com> + +_pkgbasename=nvidia-340xx-utils +pkgbase=lib32-$_pkgbasename +pkgname=('lib32-nvidia-340xx-utils' 'lib32-nvidia-340xx-libgl' 'lib32-opencl-nvidia-340xx') +pkgver=340.102 +pkgrel=1 +arch=('x86_64') +url="http://www.nvidia.com/" +license=('custom') +options=('!strip') + +_arch='x86' +_pkg="NVIDIA-Linux-${_arch}-${pkgver}" +source=("http://us.download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run") +sha512sums=('bea700c925a6044fcded40324bb389c5fa1aadc40831f685a76e7b0ded11161f492960950c201467e564d157dcbe0c330d13a2014f51d0073002c5a262a6f0ca') + +create_links() { + # create soname links + for _lib in $(find "${pkgdir}" -name '*.so*' | grep -v 'xorg/'); do + _soname=$(dirname "${_lib}")/$(readelf -d "${_lib}" | grep -Po 'SONAME.*: \[\K[^]]*' || true) + _base=$(echo ${_soname} | sed -r 's/(.*).so.*/\1.so/') + [[ -e "${_soname}" ]] || ln -s $(basename "${_lib}") "${_soname}" + [[ -e "${_base}" ]] || ln -s $(basename "${_soname}") "${_base}" + done +} + +build() { + sh ${_pkg}.run --extract-only +} + +package_lib32-opencl-nvidia-340xx() { + pkgdesc="OpenCL implemention for NVIDIA (32-bit)" + depends=('lib32-zlib' 'lib32-gcc-libs') + optdepends=('opencl-headers: headers necessary for OpenCL development') + conflicts=('lib32-opencl-nvidia') + provides=('lib32-opencl-driver') + cd "${_pkg}" + + # OpenCL + install -D -m755 "libnvidia-compiler.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-compiler.so.${pkgver}" + install -D -m755 "libnvidia-opencl.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-opencl.so.${pkgver}" + + create_links + + mkdir -p "${pkgdir}/usr/share/licenses" + ln -s nvidia "${pkgdir}/usr/share/licenses/lib32-opencl-nvidia" +} + +package_lib32-nvidia-340xx-libgl() { + pkgdesc="NVIDIA drivers libraries symlinks (32-bit)" + depends=('lib32-nvidia-340xx-utils') + conflicts=('lib32-libgl') + provides=('lib32-libgl') + cd "${_pkg}" + + mkdir -p "${pkgdir}/usr/lib32" + ln -s "/usr/lib32/nvidia/libGL.so.${pkgver}" "${pkgdir}/usr/lib32/libGL.so.${pkgver}" + ln -s "libGL.so.${pkgver}" "${pkgdir}/usr/lib32/libGL.so.1" + ln -s "libGL.so.${pkgver}" "${pkgdir}/usr/lib32/libGL.so" + + ln -s "/usr/lib32/nvidia/libEGL.so.${pkgver}" "${pkgdir}/usr/lib32/libEGL.so.${pkgver}" + ln -s "libEGL.so.${pkgver}" "${pkgdir}/usr/lib32/libEGL.so.1" + ln -s "libEGL.so.${pkgver}" "${pkgdir}/usr/lib32/libEGL.so" + + ln -s "/usr/lib32/nvidia/libGLESv1_CM.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv1_CM.so.${pkgver}" + ln -s "libGLESv1_CM.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv1_CM.so.1" + ln -s "libGLESv1_CM.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv1_CM.so" + + ln -s "/usr/lib32/nvidia/libGLESv2.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv2.so.${pkgver}" + ln -s "libGLESv2.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv2.so.2" + ln -s "libGLESv2.so.${pkgver}" "${pkgdir}/usr/lib32/libGLESv2.so" + + mkdir -p "${pkgdir}/usr/share/licenses" + ln -s nvidia "${pkgdir}/usr/share/licenses/lib32-nvidia-libgl" +} + +package_lib32-nvidia-340xx-utils() { + pkgdesc="NVIDIA drivers utilities (32-bit)" + depends=('lib32-zlib' 'lib32-gcc-libs' 'nvidia-340xx-utils') + optdepends=('lib32-opencl-nvidia-340xx') + conflicts=('lib32-nvidia-utils') + cd "${_pkg}" + + # OpenGL libraries + install -D -m755 "libGL.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libGL.so.${pkgver}" + install -D -m755 "libEGL.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libEGL.so.${pkgver}" + install -D -m755 "libGLESv1_CM.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libGLESv1_CM.so.${pkgver}" + install -D -m755 "libGLESv2.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libGLESv2.so.${pkgver}" + + # OpenGL core library + install -D -m755 "libnvidia-glcore.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-glcore.so.${pkgver}" + install -D -m755 "libnvidia-eglcore.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-eglcore.so.${pkgver}" + install -D -m755 "libnvidia-glsi.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-glsi.so.${pkgver}" + + # misc + install -D -m755 "libnvidia-ifr.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-ifr.so.${pkgver}" + install -D -m755 "libnvidia-fbc.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-fbc.so.${pkgver}" + install -D -m755 "libnvidia-encode.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-encode.so.${pkgver}" + install -D -m755 "libnvidia-cfg.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-cfg.so.${pkgver}" + install -D -m755 "libnvidia-ml.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-ml.so.${pkgver}" + + # VDPAU + install -D -m755 "libvdpau_nvidia.so.${pkgver}" "${pkgdir}/usr/lib32/vdpau/libvdpau_nvidia.so.${pkgver}" + + # nvidia-tls library + install -D -m755 "tls/libnvidia-tls.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-tls.so.${pkgver}" + + # CUDA + install -D -m755 "libcuda.so.${pkgver}" "${pkgdir}/usr/lib32/libcuda.so.${pkgver}" + install -D -m755 "libnvcuvid.so.${pkgver}" "${pkgdir}/usr/lib32/libnvcuvid.so.${pkgver}" + + create_links + + rm -rf "${pkgdir}"/usr/{include,share,bin} + mkdir -p "${pkgdir}/usr/share/licenses" + ln -s nvidia "${pkgdir}/usr/share/licenses/${pkgname}" +}