[arch-commits] Commit in lib32-nvidia-utils/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Thu Feb 27 13:50:45 UTC 2014
Date: Thursday, February 27, 2014 @ 14:50:45
Author: svenstaro
Revision: 106311
archrelease: copy trunk to multilib-x86_64
Added:
lib32-nvidia-utils/repos/multilib-x86_64/PKGBUILD
(from rev 106310, lib32-nvidia-utils/trunk/PKGBUILD)
Deleted:
lib32-nvidia-utils/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 182 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 94 insertions(+), 88 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-02-27 13:50:39 UTC (rev 106310)
+++ PKGBUILD 2014-02-27 13:50:45 UTC (rev 106311)
@@ -1,88 +0,0 @@
-# $Id$
-# Maintainer: Thomas Baechler <thomas at archlinux.org>
-# Contributor: James Rayner <iphitus at gmail.com>
-
-_pkgbasename=nvidia-utils
-pkgbase=lib32-$_pkgbasename
-pkgname=('lib32-nvidia-utils' 'lib32-nvidia-libgl' 'lib32-opencl-nvidia')
-pkgver=331.38
-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=('16aa229f7f118c8cafad6fb3f4ac082e')
-
-build() {
- cd "${srcdir}"
- sh ${_pkg}.run --extract-only
-}
-
-package_lib32-opencl-nvidia() {
- pkgdesc="OpenCL implemention for NVIDIA (32-bit)"
- depends=('lib32-libcl' 'lib32-zlib' 'lib32-gcc-libs')
- optdepends=('opencl-headers: headers necessary for OpenCL development')
- cd "${srcdir}/${_pkg}"
-
- # OpenCL
- install -D -m755 "libnvidia-compiler.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-compiler.so.${pkgver}"
- ln -s "libnvidia-compiler.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-compiler.so.1"
- ln -s "libnvidia-compiler.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-compiler.so"
-
- install -D -m755 "libnvidia-opencl.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-opencl.so.${pkgver}"
- ln -s "libnvidia-opencl.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-opencl.so.1"
- ln -s "libnvidia-opencl.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-opencl.so"
-}
-
-package_lib32-nvidia-libgl() {
- pkgdesc="NVIDIA drivers libraries symlinks (32-bit)"
- depends=('lib32-nvidia-utils')
- replaces=('lib32-nvidia-utils<=313.26-1')
- conflicts=('lib32-libgl')
- provides=('lib32-libgl')
- cd "${srcdir}/${_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"
-}
-
-package_lib32-nvidia-utils() {
- pkgdesc="NVIDIA drivers utilities (32-bit)"
- depends=('lib32-zlib' 'lib32-gcc-libs')
- optdepends=('lib32-opencl-nvidia')
- cd "${srcdir}/${_pkg}"
-
- # OpenGL library
- install -D -m755 libGL.so.${pkgver} "${pkgdir}/usr/lib32/nvidia/libGL.so.${pkgver}"
- # OpenGL core library
- install -D -m755 libnvidia-glcore.so.${pkgver} "${pkgdir}/usr/lib32/libnvidia-glcore.so.${pkgver}"
- # VDPAU
- install -D -m755 libvdpau_nvidia.so.${pkgver} "${pkgdir}/usr/lib32/vdpau/libvdpau_nvidia.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}"
- # nvidia-tls library
- install -D -m755 tls/libnvidia-tls.so.${pkgver} "${pkgdir}/usr/lib32/libnvidia-tls.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}"
-
- # create soname links
- for _lib in $(find "${pkgdir}" -name '*.so*'); do
- _soname="$(dirname ${_lib})/$(LC_ALL=C readelf -d "$_lib" | sed -nr 's/.*Library soname: \[(.*)\].*/\1/p')"
- if [ ! -e "${_soname}" ]; then
- ln -s "$(basename ${_lib})" "${_soname}"
- ln -s "$(basename ${_soname})" "${_soname/.[0-9]*/}"
- fi
- done
-
- rm -rf "${pkgdir}"/usr/{include,share,bin}
- mkdir -p "${pkgdir}/usr/share/licenses"
- ln -s $_pkgbasename "${pkgdir}/usr/share/licenses/${pkgname}"
-}
Copied: lib32-nvidia-utils/repos/multilib-x86_64/PKGBUILD (from rev 106310, lib32-nvidia-utils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-02-27 13:50:45 UTC (rev 106311)
@@ -0,0 +1,94 @@
+# $Id$
+# Maintainer: Thomas Baechler <thomas at archlinux.org>
+# Contributor: James Rayner <iphitus at gmail.com>
+
+_pkgbasename=nvidia-utils
+pkgbase=lib32-$_pkgbasename
+pkgname=('lib32-nvidia-utils' 'lib32-nvidia-libgl' 'lib32-opencl-nvidia')
+pkgver=331.49
+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=('176c77f9a10eaa652860dbc24042bff2')
+
+build() {
+ cd "${srcdir}"
+ sh ${_pkg}.run --extract-only
+}
+
+package_lib32-opencl-nvidia() {
+ pkgdesc="OpenCL implemention for NVIDIA (32-bit)"
+ depends=('lib32-libcl' 'lib32-zlib' 'lib32-gcc-libs')
+ optdepends=('opencl-headers: headers necessary for OpenCL development')
+ cd "${srcdir}/${_pkg}"
+
+ # OpenCL
+ install -D -m755 "libnvidia-compiler.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-compiler.so.${pkgver}"
+ ln -s "libnvidia-compiler.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-compiler.so.1"
+ ln -s "libnvidia-compiler.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-compiler.so"
+
+ install -D -m755 "libnvidia-opencl.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-opencl.so.${pkgver}"
+ ln -s "libnvidia-opencl.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-opencl.so.1"
+ ln -s "libnvidia-opencl.so.${pkgver}" "${pkgdir}/usr/lib32/libnvidia-opencl.so"
+
+ mkdir -p "${pkgdir}/usr/share/licenses"
+ ln -s $_pkgbasename "${pkgdir}/usr/share/licenses/lib32-opencl-nvidia"
+}
+
+package_lib32-nvidia-libgl() {
+ pkgdesc="NVIDIA drivers libraries symlinks (32-bit)"
+ depends=('lib32-nvidia-utils')
+ replaces=('lib32-nvidia-utils<=313.26-1')
+ conflicts=('lib32-libgl')
+ provides=('lib32-libgl')
+ cd "${srcdir}/${_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"
+
+ mkdir -p "${pkgdir}/usr/share/licenses"
+ ln -s $_pkgbasename "${pkgdir}/usr/share/licenses/lib32-nvidia-libgl"
+}
+
+package_lib32-nvidia-utils() {
+ pkgdesc="NVIDIA drivers utilities (32-bit)"
+ depends=('lib32-zlib' 'lib32-gcc-libs')
+ optdepends=('lib32-opencl-nvidia')
+ cd "${srcdir}/${_pkg}"
+
+ # OpenGL library
+ install -D -m755 libGL.so.${pkgver} "${pkgdir}/usr/lib32/nvidia/libGL.so.${pkgver}"
+ # OpenGL core library
+ install -D -m755 libnvidia-glcore.so.${pkgver} "${pkgdir}/usr/lib32/libnvidia-glcore.so.${pkgver}"
+ # VDPAU
+ install -D -m755 libvdpau_nvidia.so.${pkgver} "${pkgdir}/usr/lib32/vdpau/libvdpau_nvidia.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}"
+ # nvidia-tls library
+ install -D -m755 tls/libnvidia-tls.so.${pkgver} "${pkgdir}/usr/lib32/libnvidia-tls.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}"
+
+ # create soname links
+ for _lib in $(find "${pkgdir}" -name '*.so*'); do
+ _soname="$(dirname ${_lib})/$(LC_ALL=C readelf -d "$_lib" | sed -nr 's/.*Library soname: \[(.*)\].*/\1/p')"
+ if [ ! -e "${_soname}" ]; then
+ ln -s "$(basename ${_lib})" "${_soname}"
+ ln -s "$(basename ${_soname})" "${_soname/.[0-9]*/}"
+ fi
+ done
+
+ rm -rf "${pkgdir}"/usr/{include,share,bin}
+ mkdir -p "${pkgdir}/usr/share/licenses"
+ ln -s $_pkgbasename "${pkgdir}/usr/share/licenses/${pkgname}"
+}
More information about the arch-commits
mailing list