summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/nvidia-utils/PKGBUILD21
1 files changed, 9 insertions, 12 deletions
diff --git a/abs/core/nvidia-utils/PKGBUILD b/abs/core/nvidia-utils/PKGBUILD
index aa34978..09f95a0 100644
--- a/abs/core/nvidia-utils/PKGBUILD
+++ b/abs/core/nvidia-utils/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 95296 2010-10-18 14:38:35Z ibiru $
+# $Id: PKGBUILD 127415 2011-06-14 18:51:11Z ibiru $
# Maintainer: Thomas Baechler <thomas@archlinux.org>
# Contributor: James Rayner <iphitus@gmail.com>
pkgname=nvidia-utils
-pkgver=270.41.03
+pkgver=275.09.07
pkgrel=1
pkgdesc="NVIDIA drivers utilities and libraries."
arch=('i686' 'x86_64')
@@ -11,27 +11,23 @@ url="http://www.nvidia.com/"
depends=('xorg-server' 'libxvmc')
optdepends=('gtk2: nvidia-settings' 'pkg-config: nvidia-xconfig')
conflicts=('libgl')
-provides=('libgl')
+provides=('libgl' 'libcl')
license=('custom')
install=nvidia.install
options=('!strip')
-backup=('etc/X11/xorg.conf.d/20-nvidia.conf')
if [ "$CARCH" = "i686" ]; then
_arch='x86'
_pkg="NVIDIA-Linux-${_arch}-${pkgver}"
source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
- md5sums=('4e3b54ee55c6cfa4437c12a8bd9a4250')
+ md5sums=('d779057af3a2f96a05ddda201606618b')
elif [ "$CARCH" = "x86_64" ]; then
_arch='x86_64'
_pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32"
source=("ftp://download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
- md5sums=('c99b0710a43db3aafb4f27408194e910')
+ md5sums=('f75df248f7bf32199ed88db2f080cbfa')
fi
-source[1]='20-nvidia.conf'
-md5sums[1]='541cb36684b6764ccba73d7afe268bf5'
-
build() {
cd $srcdir
sh ${_pkg}.run --extract-only
@@ -56,6 +52,7 @@ package() {
install -D -m755 libvdpau_nvidia.so.$pkgver $pkgdir/usr/lib/vdpau/libvdpau_nvidia.so.$pkgver
# CUDA
install -D -m755 libcuda.so.$pkgver $pkgdir/usr/lib/libcuda.so.$pkgver
+ install -D -m755 libnvcuvid.so.$pkgver $pkgdir/usr/lib/libnvcuvid.so.$pkgver
# nvidia-tls library
install -D -m755 tls/libnvidia-tls.so.$pkgver $pkgdir/usr/lib/libnvidia-tls.so.$pkgver
# OpenCL
@@ -65,6 +62,8 @@ package() {
install -D -m755 libnvidia-cfg.so.$pkgver $pkgdir/usr/lib/libnvidia-cfg.so.$pkgver
+ install -D -m755 libnvidia-ml.so.$pkgver $pkgdir/usr/lib/libnvidia-ml.so.$pkgver
+
# create soname links
for _lib in $(find $pkgdir -name '*.so*'); do
_soname="$(dirname ${_lib})/$(readelf -d "$_lib" | sed -nr 's/.*Library soname: \[(.*)\].*/\1/p')"
@@ -96,7 +95,5 @@ package() {
install -D -m644 README.txt $pkgdir/usr/share/doc/nvidia/README
install -D -m644 NVIDIA_Changelog $pkgdir/usr/share/doc/nvidia/NVIDIA_Changelog
ln -s nvidia $pkgdir/usr/share/doc/nvidia-utils
-
- # Install xorg.conf.d file for nvidia autodetection in xorg.conf-less configurations
- install -D -m644 $srcdir/20-nvidia.conf $pkgdir/etc/X11/xorg.conf.d/20-nvidia.conf
}
+md5sums=('d779057af3a2f96a05ddda201606618b')