[arch-commits] Commit in lib32-nvidia-340xx-utils/repos (2 files)
Date: Saturday, October 4, 2014 @ 05:00:35 Author: svenstaro Revision: 120131 archrelease: copy trunk to multilib-testing-x86_64 Added: lib32-nvidia-340xx-utils/repos/multilib-testing-x86_64/ lib32-nvidia-340xx-utils/repos/multilib-testing-x86_64/PKGBUILD (from rev 120130, lib32-nvidia-340xx-utils/trunk/PKGBUILD) --+ PKGBUILD | 119 + 1 file changed, 119 insertions(+) Copied: lib32-nvidia-340xx-utils/repos/multilib-testing-x86_64/PKGBUILD (from rev 120130, lib32-nvidia-340xx-utils/trunk/PKGBUILD) === --- multilib-testing-x86_64/PKGBUILD(rev 0) +++ multilib-testing-x86_64/PKGBUILD2014-10-04 03:00:35 UTC (rev 120131) @@ -0,0 +1,119 @@ +# $Id: PKGBUILD 117364 2014-08-13 13:50:53Z svenstaro $ +# Maintainer: Thomas Baechler +# Contributor: James Rayner + +_pkgbasename=nvidia-340xx-utils +pkgbase=lib32-$_pkgbasename +pkgname=('lib32-nvidia-340xx-utils' 'lib32-nvidia-340xx-libgl' 'lib32-opencl-nvidia-340xx') +pkgver=340.46 +pkgrel=1 +arch=('x86_64') +url="http://www.nvidia.com/"; +license=('custom') +options=('!strip') + +_arch='x86' +_pkg="NVIDIA-Linux-${_arch}-${pkgver}" +source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run";) +md5sums=('7c70a15c53a97ed0bbec76e80bf53f05') + +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-libcl' 'lib32-zlib' 'lib32-gcc-libs') +optdepends=('opencl-headers: headers necessary for OpenCL development') +conflicts=('lib32-opencl-nvidia') +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 $_pkgbasename "${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 $_pkgbasename "${pkgdir}/usr/share/licenses/lib32-nvidia-libgl" +} + +package_lib32-nvidia-340xx-utils() { +pkgdesc="NVIDIA drivers utilities (32-bit)" +depends=('lib32-zlib' 'lib32-gcc-libs') +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/lib3
[arch-commits] Commit in lib32-nvidia-340xx-utils/repos (2 files)
Date: Tuesday, November 17, 2015 @ 13:39:08 Author: fyan Revision: 146970 archrelease: copy trunk to multilib-staging-x86_64 Added: lib32-nvidia-340xx-utils/repos/multilib-staging-x86_64/ lib32-nvidia-340xx-utils/repos/multilib-staging-x86_64/PKGBUILD (from rev 146969, lib32-nvidia-340xx-utils/trunk/PKGBUILD) --+ PKGBUILD | 119 + 1 file changed, 119 insertions(+) Copied: lib32-nvidia-340xx-utils/repos/multilib-staging-x86_64/PKGBUILD (from rev 146969, lib32-nvidia-340xx-utils/trunk/PKGBUILD) === --- multilib-staging-x86_64/PKGBUILD(rev 0) +++ multilib-staging-x86_64/PKGBUILD2015-11-17 12:39:08 UTC (rev 146970) @@ -0,0 +1,119 @@ +# $Id: PKGBUILD 117364 2014-08-13 13:50:53Z svenstaro $ +# Maintainer: Thomas Baechler +# Contributor: James Rayner + +_pkgbasename=nvidia-340xx-utils +pkgbase=lib32-$_pkgbasename +pkgname=('lib32-nvidia-340xx-utils' 'lib32-nvidia-340xx-libgl' 'lib32-opencl-nvidia-340xx') +pkgver=340.96 +pkgrel=1 +arch=('x86_64') +url="http://www.nvidia.com/"; +license=('custom') +options=('!strip') + +_arch='x86' +_pkg="NVIDIA-Linux-${_arch}-${pkgver}" +source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run";) +md5sums=('cb64b165b638671bcdc75bcf297b8d90') + +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-libcl' 'lib32-zlib' 'lib32-gcc-libs') +optdepends=('opencl-headers: headers necessary for OpenCL development') +conflicts=('lib32-opencl-nvidia') +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/l
[arch-commits] Commit in lib32-nvidia-340xx-utils/repos (2 files)
Date: Friday, September 4, 2015 @ 08:15:39 Author: fyan Revision: 139191 archrelease: copy trunk to multilib-staging-x86_64 Added: lib32-nvidia-340xx-utils/repos/multilib-staging-x86_64/ lib32-nvidia-340xx-utils/repos/multilib-staging-x86_64/PKGBUILD (from rev 139190, lib32-nvidia-340xx-utils/trunk/PKGBUILD) --+ PKGBUILD | 119 + 1 file changed, 119 insertions(+) Copied: lib32-nvidia-340xx-utils/repos/multilib-staging-x86_64/PKGBUILD (from rev 139190, lib32-nvidia-340xx-utils/trunk/PKGBUILD) === --- multilib-staging-x86_64/PKGBUILD(rev 0) +++ multilib-staging-x86_64/PKGBUILD2015-09-04 06:15:39 UTC (rev 139191) @@ -0,0 +1,119 @@ +# $Id: PKGBUILD 117364 2014-08-13 13:50:53Z svenstaro $ +# Maintainer: Thomas Baechler +# Contributor: James Rayner + +_pkgbasename=nvidia-340xx-utils +pkgbase=lib32-$_pkgbasename +pkgname=('lib32-nvidia-340xx-utils' 'lib32-nvidia-340xx-libgl' 'lib32-opencl-nvidia-340xx') +pkgver=340.93 +pkgrel=1 +arch=('x86_64') +url="http://www.nvidia.com/"; +license=('custom') +options=('!strip') + +_arch='x86' +_pkg="NVIDIA-Linux-${_arch}-${pkgver}" +source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run";) +md5sums=('4a7edf6838a80c77a57fb6f6ec7f0437') + +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-libcl' 'lib32-zlib' 'lib32-gcc-libs') +optdepends=('opencl-headers: headers necessary for OpenCL development') +conflicts=('lib32-opencl-nvidia') +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') +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.
[arch-commits] Commit in lib32-nvidia-340xx-utils/repos (2 files)
Date: Tuesday, September 27, 2016 @ 10:03:03 Author: svenstaro Revision: 190660 archrelease: copy trunk to multilib-staging-x86_64 Added: lib32-nvidia-340xx-utils/repos/multilib-staging-x86_64/ lib32-nvidia-340xx-utils/repos/multilib-staging-x86_64/PKGBUILD (from rev 190659, lib32-nvidia-340xx-utils/trunk/PKGBUILD) --+ PKGBUILD | 119 + 1 file changed, 119 insertions(+) Copied: lib32-nvidia-340xx-utils/repos/multilib-staging-x86_64/PKGBUILD (from rev 190659, lib32-nvidia-340xx-utils/trunk/PKGBUILD) === --- multilib-staging-x86_64/PKGBUILD(rev 0) +++ multilib-staging-x86_64/PKGBUILD2016-09-27 10:03:03 UTC (rev 190660) @@ -0,0 +1,119 @@ +# $Id: PKGBUILD 117364 2014-08-13 13:50:53Z svenstaro $ +# Maintainer: Thomas Baechler +# Contributor: James Rayner + +_pkgbasename=nvidia-340xx-utils +pkgbase=lib32-$_pkgbasename +pkgname=('lib32-nvidia-340xx-utils' 'lib32-nvidia-340xx-libgl' 'lib32-opencl-nvidia-340xx') +pkgver=340.98 +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";) +md5sums=('3ccb023eec137cbee0d2035c288b6bbe') + +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-libcl' 'lib32-zlib' 'lib32-gcc-libs') +optdepends=('opencl-headers: headers necessary for OpenCL development') +conflicts=('lib32-opencl-nvidia') +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}" "${pkg
[arch-commits] Commit in lib32-nvidia-340xx-utils/repos (2 files)
Date: Tuesday, February 21, 2017 @ 14:42:49 Author: lcarlier Revision: 213339 archrelease: copy trunk to multilib-testing-x86_64 Added: lib32-nvidia-340xx-utils/repos/multilib-testing-x86_64/ lib32-nvidia-340xx-utils/repos/multilib-testing-x86_64/PKGBUILD (from rev 213338, lib32-nvidia-340xx-utils/trunk/PKGBUILD) --+ PKGBUILD | 98 + 1 file changed, 98 insertions(+) Copied: lib32-nvidia-340xx-utils/repos/multilib-testing-x86_64/PKGBUILD (from rev 213338, lib32-nvidia-340xx-utils/trunk/PKGBUILD) === --- multilib-testing-x86_64/PKGBUILD(rev 0) +++ multilib-testing-x86_64/PKGBUILD2017-02-21 14:42:49 UTC (rev 213339) @@ -0,0 +1,98 @@ +# $Id: PKGBUILD 117364 2014-08-13 13:50:53Z svenstaro $ +# Maintainer: Thomas Baechler +# Contributor: James Rayner + +_pkgbasename=nvidia-340xx-utils +pkgbase=lib32-$_pkgbasename +pkgname=('lib32-nvidia-340xx-utils' 'lib32-opencl-nvidia-340xx') +pkgver=340.102 +pkgrel=2 +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-utils() { +pkgdesc="NVIDIA drivers utilities (32-bit)" +depends=('lib32-zlib' 'lib32-gcc-libs' 'nvidia-340xx-utils') +conflicts=('lib32-libgl' 'lib32-libegl' 'lib32-libgles' 'lib32-nvidia-340xx-libgl' 'lib32-nvidia-utils') +provides=('lib32-libgl' 'lib32-libegl' 'lib32-libgles' 'lib32-nvidia-340xx-libgl') +replaces=('lib32-nvidia-340xx-libgl') +optdepends=('lib32-opencl-nvidia-340xx') + +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/nvidia/libnvidia-glcore.so.${pkgver}" +install -D -m755 "libnvidia-eglcore.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-eglcore.so.${pkgver}" +install -D -m755 "libnvidia-glsi.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-glsi.so.${pkgver}" + +# misc +install -D -m755 "libnvidia-ifr.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-ifr.so.${pkgver}" +install -D -m755 "libnvidia-fbc.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-fbc.so.${pkgver}" +install -D -m755 "libnvidia-encode.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-encode.so.${pkgver}" +install -D -m755 "libnvidia-cfg.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-cfg.so.${pkgver}" +install -D -m755 "libnvidia-ml.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/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/nvidia/libnvidia-tls.so.${pkgver}" + +# CUDA +install -D -m755 "libcuda.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libcuda.so.${pkgver}" +install -D -m755 "libnvcuvid.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvcuvid.so.${pkgver}" + +create_links + +install -dm 755 "$
[arch-commits] Commit in lib32-nvidia-340xx-utils/repos (2 files)
Date: Monday, October 2, 2017 @ 10:42:48 Author: svenstaro Revision: 261242 archrelease: copy trunk to multilib-staging-x86_64 Added: lib32-nvidia-340xx-utils/repos/multilib-staging-x86_64/ lib32-nvidia-340xx-utils/repos/multilib-staging-x86_64/PKGBUILD (from rev 261241, lib32-nvidia-340xx-utils/trunk/PKGBUILD) --+ PKGBUILD | 98 + 1 file changed, 98 insertions(+) Copied: lib32-nvidia-340xx-utils/repos/multilib-staging-x86_64/PKGBUILD (from rev 261241, lib32-nvidia-340xx-utils/trunk/PKGBUILD) === --- multilib-staging-x86_64/PKGBUILD(rev 0) +++ multilib-staging-x86_64/PKGBUILD2017-10-02 10:42:48 UTC (rev 261242) @@ -0,0 +1,98 @@ +# $Id: PKGBUILD 117364 2014-08-13 13:50:53Z svenstaro $ +# Maintainer: Thomas Baechler +# Contributor: James Rayner + +_pkgbasename=nvidia-340xx-utils +pkgbase=lib32-$_pkgbasename +pkgname=('lib32-nvidia-340xx-utils' 'lib32-opencl-nvidia-340xx') +pkgver=340.104 +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=('8dacd5345a5794e862f4106ab9e8e402defa7883dd176c243d019209b560fe955d7576a13936364c01c5a249f15df58208308c9378c12c3438784376e5fb806c') + +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-utils() { +pkgdesc="NVIDIA drivers utilities (32-bit)" +depends=('lib32-zlib' 'lib32-gcc-libs' 'nvidia-340xx-utils') +conflicts=('lib32-nvidia-340xx-libgl') +provides=('lib32-libgl' 'lib32-libegl' 'lib32-libgles' 'lib32-nvidia-340xx-libgl') +replaces=('lib32-nvidia-340xx-libgl') +optdepends=('lib32-opencl-nvidia-340xx') + +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/nvidia/libnvidia-glcore.so.${pkgver}" +install -D -m755 "libnvidia-eglcore.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-eglcore.so.${pkgver}" +install -D -m755 "libnvidia-glsi.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-glsi.so.${pkgver}" + +# misc +install -D -m755 "libnvidia-ifr.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-ifr.so.${pkgver}" +install -D -m755 "libnvidia-fbc.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-fbc.so.${pkgver}" +install -D -m755 "libnvidia-encode.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-encode.so.${pkgver}" +install -D -m755 "libnvidia-cfg.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-cfg.so.${pkgver}" +install -D -m755 "libnvidia-ml.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/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/nvidia/libnvidia-tls.so.${pkgver}" + +# CUDA +install -D -m755 "libcuda.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libcuda.so.${pkgver}" +install -D -m755 "libnvcuvid.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvcuvid.so.${pkgver}" + +create_links + +install -dm 755 "${pkgdir}"/etc/ld.so.conf.d +echo -e '/usr/lib32/nvidia/' > "${pk
[arch-commits] Commit in lib32-nvidia-340xx-utils/repos (2 files)
Date: Thursday, June 14, 2018 @ 19:25:37 Author: grazzolini Revision: 343184 archrelease: copy trunk to multilib-testing-x86_64 Added: lib32-nvidia-340xx-utils/repos/multilib-testing-x86_64/ lib32-nvidia-340xx-utils/repos/multilib-testing-x86_64/PKGBUILD (from rev 343183, lib32-nvidia-340xx-utils/trunk/PKGBUILD) --+ PKGBUILD | 99 + 1 file changed, 99 insertions(+) Copied: lib32-nvidia-340xx-utils/repos/multilib-testing-x86_64/PKGBUILD (from rev 343183, lib32-nvidia-340xx-utils/trunk/PKGBUILD) === --- multilib-testing-x86_64/PKGBUILD(rev 0) +++ multilib-testing-x86_64/PKGBUILD2018-06-14 19:25:37 UTC (rev 343184) @@ -0,0 +1,99 @@ +# $Id: PKGBUILD 117364 2014-08-13 13:50:53Z svenstaro $ +# Maintainer: Giancarlo Razzolini +# Contributor: Thomas Baechler +# Contributor: James Rayner + +_pkgbasename=nvidia-340xx-utils +pkgbase=lib32-$_pkgbasename +pkgname=('lib32-nvidia-340xx-utils' 'lib32-opencl-nvidia-340xx') +pkgver=340.107 +pkgrel=3 +arch=('x86_64') +url="http://www.nvidia.com/"; +license=('custom') +options=('!strip') + +_arch='x86' +_pkg="NVIDIA-Linux-${_arch}-${pkgver}" +source=("https://us.download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run";) +sha512sums=('0add713942bcdb639d19b5c36f5e0cea14f9e07490191d46dfeba0515ede7700fd8e9467ec531d38329fe1e76bf45905e70e0d440e7bc2dc79c1d767eab03338') + +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-utils() { +pkgdesc="NVIDIA drivers utilities (32-bit)" +depends=('lib32-zlib' 'lib32-gcc-libs' 'nvidia-340xx-utils') +conflicts=('lib32-nvidia-340xx-libgl' 'lib32-nvidia-utils') +provides=('lib32-libgl' 'lib32-libegl' 'lib32-libgles' 'lib32-nvidia-340xx-libgl' 'lib32-nvidia-utils') +replaces=('lib32-nvidia-340xx-libgl') +optdepends=('lib32-opencl-nvidia-340xx') + +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/nvidia/libnvidia-glcore.so.${pkgver}" +install -D -m755 "libnvidia-eglcore.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-eglcore.so.${pkgver}" +install -D -m755 "libnvidia-glsi.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-glsi.so.${pkgver}" + +# misc +install -D -m755 "libnvidia-ifr.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-ifr.so.${pkgver}" +install -D -m755 "libnvidia-fbc.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-fbc.so.${pkgver}" +install -D -m755 "libnvidia-encode.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-encode.so.${pkgver}" +install -D -m755 "libnvidia-cfg.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvidia-cfg.so.${pkgver}" +install -D -m755 "libnvidia-ml.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/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/nvidia/libnvidia-tls.so.${pkgver}" + +# CUDA +install -D -m755 "libcuda.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libcuda.so.${pkgver}" +install -D -m755 "libnvcuvid.so.${pkgver}" "${pkgdir}/usr/lib32/nvidia/libnvcuvid.so.${pkgver}" + +create_links + +install -dm