[arch-commits] Commit in lib32-nvidia-304xx-utils/repos/multilib-x86_64 (2 files)

Felix Yan fyan at archlinux.org
Fri Dec 5 18:33:34 UTC 2014


    Date: Friday, December 5, 2014 @ 19:33:33
  Author: fyan
Revision: 123499

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-nvidia-304xx-utils/repos/multilib-x86_64/PKGBUILD
    (from rev 123498, lib32-nvidia-304xx-utils/trunk/PKGBUILD)
Deleted:
  lib32-nvidia-304xx-utils/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |  250 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 125 insertions(+), 125 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-12-05 18:33:20 UTC (rev 123498)
+++ PKGBUILD	2014-12-05 18:33:33 UTC (rev 123499)
@@ -1,125 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Jason Graham <jason at the-graham.com>
-# Contributor: Thomas Baechler <thomas at archlinux.org>
-# Contributor: James Rayner <iphitus at gmail.com>
-
-_pkgbasename=nvidia-304xx-utils
-pkgbase=lib32-$_pkgbasename
-pkgname=('lib32-nvidia-304xx-utils' 'lib32-nvidia-304xx-libgl' 'lib32-opencl-nvidia-304xx')
-pkgver=304.123
-pkgrel=1
-pkgdesc="NVIDIA drivers utilities and libraries. (32-bit)"
-arch=('x86_64')
-url="http://www.nvidia.com/"
-license=('custom')
-makedepends=('lib32-gcc-libs' 'lib32-libcl' 'lib32-libxvmc' 'lib32-zlib' 
-             'lib32-libxext' 'nvidia-304xx-utils' 'opencl-nvidia-304xx')
-options=('!strip')
-
-_arch='x86'
-_pkg="NVIDIA-Linux-${_arch}-${pkgver}"
-source=("http://us.download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
-md5sums=('52307054483f5c40391608ce69114d48')
-
-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-304xx() {
-  pkgdesc="OpenCL implemention for NVIDIA (32-bit)"
-  depends=('lib32-libcl' 'lib32-zlib' 'lib32-gcc-libs' 'opencl-nvidia-304xx')
-  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-304xx-libgl() {
-  pkgdesc="NVIDIA drivers libraries symlinks (32-bit)"
-  depends=('lib32-nvidia-304xx-utils' 'lib32-mesa')
-  conflicts=('lib32-libgl')
-  provides=('lib32-libgl')
-
-  cd ${_pkg}
-
-  mkdir -p "${pkgdir}/usr/lib32"
-  ln -s "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"
-
-  # We have to provide symlinks to mesa, as nvidia 304xx doesn't ship them
-  ln -s mesa/libEGL.so.1.0.0 "${pkgdir}/usr/lib32/libEGL.so.1.0.0"
-  ln -s libEGL.so.1.0.0      "${pkgdir}/usr/lib32/libEGL.so.1"
-  ln -s libEGL.so.1.0.0      "${pkgdir}/usr/lib32/libEGL.so"
-
-  ln -s mesa/libGLESv1_CM.so.1.1.0 "${pkgdir}/usr/lib32/libGLESv1_CM.so.1.1.0"
-  ln -s libGLESv1_CM.so.1.1.0      "${pkgdir}/usr/lib32/libGLESv1_CM.so.1"
-  ln -s libGLESv1_CM.so.1.1.0      "${pkgdir}/usr/lib32/libGLESv1_CM.so"
-
-  ln -s mesa/libGLESv2.so.2.0.0 "${pkgdir}/usr/lib32/libGLESv2.so.2.0.0"
-  ln -s libGLESv2.so.2.0.0      "${pkgdir}/usr/lib32/libGLESv2.so.2"
-  ln -s libGLESv2.so.2.0.0      "${pkgdir}/usr/lib32/libGLESv2.so"
-
-  mkdir -p "${pkgdir}/usr/share/licenses"
-  ln -s $_pkgbasename "${pkgdir}/usr/share/licenses/lib32-nvidia-libgl"
-}
-
-package_lib32-nvidia-304xx-utils() {
-  pkgdesc="NVIDIA drivers utilities (32-bit)"
-  depends=('lib32-libxvmc' 'lib32-zlib' 'lib32-gcc-libs' 'lib32-libxext')
-  optdepends=('lib32-opencl-nvidia-304xx')
-  conflicts=('lib32-nvidia-utils')
-
-  cd ${_pkg}
-
-  # OpenGL libraries
-  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}"
-
-  # XvMC
-  install -D -m755 "libXvMCNVIDIA.so.${pkgver}" "${pkgdir}/usr/lib32/libXvMCNVIDIA.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}"
-  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}"
-  
-  # 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}"
-
-  # DEBUG
-  install -D -m755 nvidia-debugdump "${pkgdir}/usr/bin/nvidia-debugdump"
-
-  create_links
-
-  rm -rf "${pkgdir}"/usr/{include,share,bin}
-  mkdir -p "${pkgdir}/usr/share/licenses"
-  ln -s $_pkgbasename "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-

Copied: lib32-nvidia-304xx-utils/repos/multilib-x86_64/PKGBUILD (from rev 123498, lib32-nvidia-304xx-utils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-12-05 18:33:33 UTC (rev 123499)
@@ -0,0 +1,125 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jason Graham <jason at the-graham.com>
+# Contributor: Thomas Baechler <thomas at archlinux.org>
+# Contributor: James Rayner <iphitus at gmail.com>
+
+_pkgbasename=nvidia-304xx-utils
+pkgbase=lib32-$_pkgbasename
+pkgname=('lib32-nvidia-304xx-utils' 'lib32-nvidia-304xx-libgl' 'lib32-opencl-nvidia-304xx')
+pkgver=304.125
+pkgrel=1
+pkgdesc="NVIDIA drivers utilities and libraries. (32-bit)"
+arch=('x86_64')
+url="http://www.nvidia.com/"
+license=('custom')
+makedepends=('lib32-gcc-libs' 'lib32-libcl' 'lib32-libxvmc' 'lib32-zlib' 
+             'lib32-libxext' 'nvidia-304xx-utils' 'opencl-nvidia-304xx')
+options=('!strip')
+
+_arch='x86'
+_pkg="NVIDIA-Linux-${_arch}-${pkgver}"
+source=("http://us.download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
+md5sums=('bc3b0ac291fa998d5109a6f7e94fb2d4')
+
+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-304xx() {
+  pkgdesc="OpenCL implemention for NVIDIA (32-bit)"
+  depends=('lib32-libcl' 'lib32-zlib' 'lib32-gcc-libs' 'opencl-nvidia-304xx')
+  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-304xx-libgl() {
+  pkgdesc="NVIDIA drivers libraries symlinks (32-bit)"
+  depends=('lib32-nvidia-304xx-utils' 'lib32-mesa')
+  conflicts=('lib32-libgl')
+  provides=('lib32-libgl')
+
+  cd ${_pkg}
+
+  mkdir -p "${pkgdir}/usr/lib32"
+  ln -s "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"
+
+  # We have to provide symlinks to mesa, as nvidia 304xx doesn't ship them
+  ln -s mesa/libEGL.so.1.0.0 "${pkgdir}/usr/lib32/libEGL.so.1.0.0"
+  ln -s libEGL.so.1.0.0      "${pkgdir}/usr/lib32/libEGL.so.1"
+  ln -s libEGL.so.1.0.0      "${pkgdir}/usr/lib32/libEGL.so"
+
+  ln -s mesa/libGLESv1_CM.so.1.1.0 "${pkgdir}/usr/lib32/libGLESv1_CM.so.1.1.0"
+  ln -s libGLESv1_CM.so.1.1.0      "${pkgdir}/usr/lib32/libGLESv1_CM.so.1"
+  ln -s libGLESv1_CM.so.1.1.0      "${pkgdir}/usr/lib32/libGLESv1_CM.so"
+
+  ln -s mesa/libGLESv2.so.2.0.0 "${pkgdir}/usr/lib32/libGLESv2.so.2.0.0"
+  ln -s libGLESv2.so.2.0.0      "${pkgdir}/usr/lib32/libGLESv2.so.2"
+  ln -s libGLESv2.so.2.0.0      "${pkgdir}/usr/lib32/libGLESv2.so"
+
+  mkdir -p "${pkgdir}/usr/share/licenses"
+  ln -s $_pkgbasename "${pkgdir}/usr/share/licenses/lib32-nvidia-libgl"
+}
+
+package_lib32-nvidia-304xx-utils() {
+  pkgdesc="NVIDIA drivers utilities (32-bit)"
+  depends=('lib32-libxvmc' 'lib32-zlib' 'lib32-gcc-libs' 'lib32-libxext')
+  optdepends=('lib32-opencl-nvidia-304xx')
+  conflicts=('lib32-nvidia-utils')
+
+  cd ${_pkg}
+
+  # OpenGL libraries
+  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}"
+
+  # XvMC
+  install -D -m755 "libXvMCNVIDIA.so.${pkgver}" "${pkgdir}/usr/lib32/libXvMCNVIDIA.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}"
+  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}"
+  
+  # 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}"
+
+  # DEBUG
+  install -D -m755 nvidia-debugdump "${pkgdir}/usr/bin/nvidia-debugdump"
+
+  create_links
+
+  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