Commit 36ce4ce3 authored by Anke's avatar Anke

nvidia update, x86_64 first, including lts & bumblebee

parent cef0be59
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
pkgname=dkms-nvidia pkgname=dkms-nvidia
_pkgname=nvidia _pkgname=nvidia
pkgver=295.49 pkgver=295.53
pkgrel=1 pkgrel=1
pkgdesc="NVIDIA dynamic kernel module (DKMS) drivers for kernel26." pkgdesc="NVIDIA dynamic kernel module (DKMS) drivers for kernel26."
arch=(i686 x86_64) arch=(i686 x86_64)
...@@ -27,11 +27,11 @@ elif [ "$CARCH" = "x86_64" ]; then ...@@ -27,11 +27,11 @@ elif [ "$CARCH" = "x86_64" ]; then
_arch='x86_64' _arch='x86_64'
_pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32" _pkg="NVIDIA-Linux-${_arch}-${pkgver}-no-compat32"
source=("http://us.download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run") source=("http://us.download.nvidia.com/XFree86/Linux-${_arch}/${pkgver}/${_pkg}.run")
md5sums=('84b92aa6eec13a38e8748264138acc56') md5sums=('c974ee20fc016c9fa9ef39fc2e298f8a')
fi fi
source[1]="dkms.conf" source[1]="dkms.conf"
md5sums[1]='81447bc4bc28027bab92839d95780c27' md5sums[1]='555223e467dbcc8f74481046719c2d04'
build() { build() {
cd $srcdir cd $srcdir
......
PACKAGE_NAME="nvidia" PACKAGE_NAME="nvidia"
PACKAGE_VERSION="295.49" PACKAGE_VERSION="295.53"
MAKE[0]="make SYSSRC=${kernel_source_dir} module" MAKE[0]="make SYSSRC=${kernel_source_dir} module"
CLEAN="make -f Makefile.kbuild clean" CLEAN="make -f Makefile.kbuild clean"
BUILT_MODULE_NAME[0]="nvidia" BUILT_MODULE_NAME[0]="nvidia"
......
...@@ -4,9 +4,9 @@ post_install() ...@@ -4,9 +4,9 @@ post_install()
echo ">>> DKMS: Module add, build, and install " echo ">>> DKMS: Module add, build, and install "
$DKMS add -m nvidia -v '295.49' $DKMS add -m nvidia -v '295.53'
$DKMS build -m nvidia -v '295.49' $DKMS build -m nvidia -v '295.53'
$DKMS install -m nvidia -v '295.49' $DKMS install -m nvidia -v '295.53'
/sbin/depmod -a /sbin/depmod -a
} }
......
...@@ -8,7 +8,7 @@ _extramodules=extramodules-`pacman -Q linux-lts | cut -c11-13 | sed 's/linux-lts ...@@ -8,7 +8,7 @@ _extramodules=extramodules-`pacman -Q linux-lts | cut -c11-13 | sed 's/linux-lts
_kver="$(cat /lib/modules/${_extramodules}/version)" _kver="$(cat /lib/modules/${_extramodules}/version)"
pkgname=nvidia-lts pkgname=nvidia-lts
pkgver=295.49 pkgver=295.53
pkgrel=1 pkgrel=1
pkgdesc="NVIDIA drivers for linux." pkgdesc="NVIDIA drivers for linux."
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
...@@ -23,12 +23,12 @@ if [ "$CARCH" = "i686" ]; then ...@@ -23,12 +23,12 @@ if [ "$CARCH" = "i686" ]; then
_ARCH='x86' _ARCH='x86'
_pkg="NVIDIA-Linux-${_ARCH}-${pkgver}" _pkg="NVIDIA-Linux-${_ARCH}-${pkgver}"
source=("http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/${pkgver}/${_pkg}.run") source=("http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/${pkgver}/${_pkg}.run")
md5sums=('fd998f870d20b30b8d636ffce79d9e6c') md5sums=('af353274ab078cb90aba428ca1f00f0e')
elif [ "$CARCH" = "x86_64" ]; then elif [ "$CARCH" = "x86_64" ]; then
_ARCH='x86_64' _ARCH='x86_64'
_pkg="NVIDIA-Linux-${_ARCH}-${pkgver}-no-compat32" _pkg="NVIDIA-Linux-${_ARCH}-${pkgver}-no-compat32"
source=("http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/${pkgver}/${_pkg}.run") source=("http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/${pkgver}/${_pkg}.run")
md5sums=('84b92aa6eec13a38e8748264138acc56') md5sums=('c974ee20fc016c9fa9ef39fc2e298f8a')
fi fi
build() { build() {
......
...@@ -11,7 +11,7 @@ _pacman_get_key() ...@@ -11,7 +11,7 @@ _pacman_get_key()
pacman --print --print-format $1 -S nvidia-utils | grep nvidia-utils pacman --print --print-format $1 -S nvidia-utils | grep nvidia-utils
} }
pkgver=295.49 pkgver=295.53
pkgrel=1 pkgrel=1
pkgdesc="NVIDIA drivers utilities and libraries. Repacked and installed in different folder to be used simultaneously with libgl." pkgdesc="NVIDIA drivers utilities and libraries. Repacked and installed in different folder to be used simultaneously with libgl."
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
...@@ -25,7 +25,7 @@ install=nvidia.install ...@@ -25,7 +25,7 @@ install=nvidia.install
if [ "$CARCH" = "i686" ]; then if [ "$CARCH" = "i686" ]; then
md5sums=('9caf7157d59757ddc13f066bc14ec947') md5sums=('9caf7157d59757ddc13f066bc14ec947')
elif [ "$CARCH" = "x86_64" ]; then elif [ "$CARCH" = "x86_64" ]; then
md5sums=('22156212129365f51f295d8f3f0c5138') md5sums=('2cd2db63512496cc210f84777ec981e5')
optdepends[${#optdepends[@]}]='lib32-nvidia-utils-bumblebee' optdepends[${#optdepends[@]}]='lib32-nvidia-utils-bumblebee'
fi fi
source=$(_pacman_get_key %l) source=$(_pacman_get_key %l)
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
pkgbase=nvidia-utils pkgbase=nvidia-utils
pkgname=('nvidia-utils' 'opencl-nvidia' 'libcl' 'nvidia-settings') pkgname=('nvidia-utils' 'opencl-nvidia' 'libcl' 'nvidia-settings')
pkgver=295.49 pkgver=295.53
pkgrel=1 pkgrel=1
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.nvidia.com/" url="http://www.nvidia.com/"
...@@ -15,13 +15,13 @@ options=('!strip') ...@@ -15,13 +15,13 @@ options=('!strip')
[ "$CARCH" = 'i686' ] && { [ "$CARCH" = 'i686' ] && {
ARCH='x86' ARCH='x86'
_pkg="NVIDIA-Linux-${ARCH}-${pkgver}" _pkg="NVIDIA-Linux-${ARCH}-${pkgver}"
md5sums=('fd998f870d20b30b8d636ffce79d9e6c') md5sums=('af353274ab078cb90aba428ca1f00f0e')
} }
[ "$CARCH" = "x86_64" ] && { [ "$CARCH" = "x86_64" ] && {
ARCH='x86_64' ARCH='x86_64'
_pkg="NVIDIA-Linux-${ARCH}-${pkgver}-no-compat32" _pkg="NVIDIA-Linux-${ARCH}-${pkgver}-no-compat32"
md5sums=('84b92aa6eec13a38e8748264138acc56') md5sums=('c974ee20fc016c9fa9ef39fc2e298f8a')
} }
source=("http://us.download.nvidia.com/XFree86/Linux-${ARCH}/${pkgver}/${_pkg}.run" source=("http://us.download.nvidia.com/XFree86/Linux-${ARCH}/${pkgver}/${_pkg}.run"
...@@ -45,7 +45,7 @@ build() { ...@@ -45,7 +45,7 @@ build() {
package_libcl() { package_libcl() {
pkgdesc="OpenCL library and ICD loader from NVIDIA" pkgdesc="OpenCL library and ICD loader from NVIDIA"
pkgver=1.1.9 pkgver=1.1.9.1
cd "${srcdir}/${_pkg}" cd "${srcdir}/${_pkg}"
......
...@@ -8,7 +8,7 @@ _extramodules=extramodules-`pacman -Q linux | cut -c7-9 | sed 's/linux //g'`-CHA ...@@ -8,7 +8,7 @@ _extramodules=extramodules-`pacman -Q linux | cut -c7-9 | sed 's/linux //g'`-CHA
_kver="$(cat /lib/modules/${_extramodules}/version)" _kver="$(cat /lib/modules/${_extramodules}/version)"
pkgname=nvidia pkgname=nvidia
pkgver=295.49 pkgver=295.53
pkgrel=1 pkgrel=1
pkgdesc="NVIDIA drivers for linux." pkgdesc="NVIDIA drivers for linux."
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
...@@ -23,12 +23,12 @@ if [ "$CARCH" = "i686" ]; then ...@@ -23,12 +23,12 @@ if [ "$CARCH" = "i686" ]; then
_ARCH='x86' _ARCH='x86'
_pkg="NVIDIA-Linux-${_ARCH}-${pkgver}" _pkg="NVIDIA-Linux-${_ARCH}-${pkgver}"
source=("http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/${pkgver}/${_pkg}.run") source=("http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/${pkgver}/${_pkg}.run")
md5sums=('fd998f870d20b30b8d636ffce79d9e6c') md5sums=('af353274ab078cb90aba428ca1f00f0e')
elif [ "$CARCH" = "x86_64" ]; then elif [ "$CARCH" = "x86_64" ]; then
_ARCH='x86_64' _ARCH='x86_64'
_pkg="NVIDIA-Linux-${_ARCH}-${pkgver}-no-compat32" _pkg="NVIDIA-Linux-${_ARCH}-${pkgver}-no-compat32"
source=("http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/${pkgver}/${_pkg}.run") source=("http://us.download.nvidia.com/XFree86/Linux-${_ARCH}/${pkgver}/${_pkg}.run")
md5sums=('84b92aa6eec13a38e8748264138acc56') md5sums=('c974ee20fc016c9fa9ef39fc2e298f8a')
fi fi
build() { build() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment