Commit b5854feb authored by Anke's avatar Anke

nvidia update, including lts & bumblebee

parent 199c8e2e
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
pkgname=dkms-nvidia pkgname=dkms-nvidia
_pkgname=nvidia _pkgname=nvidia
pkgver=295.33 pkgver=295.49
pkgrel=2 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)
url="http://www.nvidia.com/" url="http://www.nvidia.com/"
...@@ -22,16 +22,16 @@ options=(!strip) ...@@ -22,16 +22,16 @@ options=(!strip)
if [ "$CARCH" = "i686" ]; then if [ "$CARCH" = "i686" ]; then
_pkg="NVIDIA-Linux-x86-${pkgver}" _pkg="NVIDIA-Linux-x86-${pkgver}"
source=("http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/${_pkg}.run") source=("http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/${_pkg}.run")
md5sums=('1634fb3115526caeae5eb8227282bf17') md5sums=('fd998f870d20b30b8d636ffce79d9e6c')
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=('04e814843bcaf23efa0b4b3df4ea2700') md5sums=('84b92aa6eec13a38e8748264138acc56')
fi fi
source[1]="dkms.conf" source[1]="dkms.conf"
md5sums[1]='22f6f03bac7750d16ccb4db191e08b54' md5sums[1]='81447bc4bc28027bab92839d95780c27'
build() { build() {
cd $srcdir cd $srcdir
......
PACKAGE_NAME="nvidia" PACKAGE_NAME="nvidia"
PACKAGE_VERSION="295.33" PACKAGE_VERSION="295.49"
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.33' $DKMS add -m nvidia -v '295.49'
$DKMS build -m nvidia -v '295.33' $DKMS build -m nvidia -v '295.49'
$DKMS install -m nvidia -v '295.33' $DKMS install -m nvidia -v '295.49'
/sbin/depmod -a /sbin/depmod -a
} }
......
# #
# Chakra Packages for Chakra, part of chakra-project.org # Chakra Packages for Chakra, part of chakra-project.org
# #
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org> # maintainer abveritas@chakra-project.org
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Find the kernel name inside the chroot # Find the kernel name inside the chroot
_extramodules=extramodules-`pacman -Q linux-lts | cut -c11-13 | sed 's/linux-lts //g'`-CHAKRA-LTS _extramodules=extramodules-`pacman -Q linux-lts | cut -c11-13 | sed 's/linux-lts //g'`-CHAKRA-LTS
_kver="$(cat /lib/modules/${_extramodules}/version)" _kver="$(cat /lib/modules/${_extramodules}/version)"
pkgname=nvidia-lts pkgname=nvidia-lts
pkgver=295.33 pkgver=295.49
pkgrel=1 pkgrel=1
pkgdesc="NVIDIA drivers for linux." pkgdesc="NVIDIA drivers for linux."
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
...@@ -24,12 +23,12 @@ if [ "$CARCH" = "i686" ]; then ...@@ -24,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=('1634fb3115526caeae5eb8227282bf17') md5sums=('fd998f870d20b30b8d636ffce79d9e6c')
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=('04e814843bcaf23efa0b4b3df4ea2700') md5sums=('84b92aa6eec13a38e8748264138acc56')
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.33 pkgver=295.49
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')
...@@ -23,7 +23,7 @@ provides=("nvidia-utils=$pkgver") ...@@ -23,7 +23,7 @@ provides=("nvidia-utils=$pkgver")
license=('custom') license=('custom')
install=nvidia.install install=nvidia.install
if [ "$CARCH" = "i686" ]; then if [ "$CARCH" = "i686" ]; then
md5sums=('3bb69341cec7d8c304f7ae1bad829950') md5sums=('9caf7157d59757ddc13f066bc14ec947')
elif [ "$CARCH" = "x86_64" ]; then elif [ "$CARCH" = "x86_64" ]; then
md5sums=('d9ae4a1bddf57b4e01a574450c708785') md5sums=('d9ae4a1bddf57b4e01a574450c708785')
optdepends[${#optdepends[@]}]='lib32-nvidia-utils-bumblebee' optdepends[${#optdepends[@]}]='lib32-nvidia-utils-bumblebee'
......
# #
# Chakra Packages for Chakra, part of chakra-project.org # Chakra Packages for Chakra, part of chakra-project.org
# #
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org> # maintainer abveritas@chakra-project.org
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgbase=nvidia-utils pkgbase=nvidia-utils
pkgname=('nvidia-utils' 'opencl-nvidia' 'libcl' 'nvidia-settings') pkgname=('nvidia-utils' 'opencl-nvidia' 'libcl' 'nvidia-settings')
pkgver=295.33 pkgver=295.49
pkgrel=1 pkgrel=1
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.nvidia.com/" url="http://www.nvidia.com/"
...@@ -16,13 +15,13 @@ options=('!strip') ...@@ -16,13 +15,13 @@ options=('!strip')
[ "$CARCH" = 'i686' ] && { [ "$CARCH" = 'i686' ] && {
ARCH='x86' ARCH='x86'
_pkg="NVIDIA-Linux-${ARCH}-${pkgver}" _pkg="NVIDIA-Linux-${ARCH}-${pkgver}"
md5sums=('1634fb3115526caeae5eb8227282bf17') md5sums=('fd998f870d20b30b8d636ffce79d9e6c')
} }
[ "$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=('04e814843bcaf23efa0b4b3df4ea2700') md5sums=('84b92aa6eec13a38e8748264138acc56')
} }
source=("http://us.download.nvidia.com/XFree86/Linux-${ARCH}/${pkgver}/${_pkg}.run" source=("http://us.download.nvidia.com/XFree86/Linux-${ARCH}/${pkgver}/${_pkg}.run"
...@@ -46,7 +45,7 @@ build() { ...@@ -46,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.8 pkgver=1.1.9
cd "${srcdir}/${_pkg}" cd "${srcdir}/${_pkg}"
......
# #
# Chakra Packages for Chakra, part of chakra-project.org # Chakra Packages for Chakra, part of chakra-project.org
# #
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org> # maintainer abveritas@chakra-project.org
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Find the kernel name inside the chroot # Find the kernel name inside the chroot
_extramodules=extramodules-`pacman -Q linux | cut -c7-9 | sed 's/linux //g'`-CHAKRA _extramodules=extramodules-`pacman -Q linux | cut -c7-9 | sed 's/linux //g'`-CHAKRA
_kver="$(cat /lib/modules/${_extramodules}/version)" _kver="$(cat /lib/modules/${_extramodules}/version)"
pkgname=nvidia pkgname=nvidia
pkgver=295.33 pkgver=295.49
pkgrel=1 pkgrel=1
pkgdesc="NVIDIA drivers for linux." pkgdesc="NVIDIA drivers for linux."
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
...@@ -24,12 +23,12 @@ if [ "$CARCH" = "i686" ]; then ...@@ -24,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=('1634fb3115526caeae5eb8227282bf17') md5sums=('fd998f870d20b30b8d636ffce79d9e6c')
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=('04e814843bcaf23efa0b4b3df4ea2700') md5sums=('84b92aa6eec13a38e8748264138acc56')
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