Rebuild nvidia-drd for linux-drd 3.16

This commit is contained in:
Tom Willemse 2014-08-13 11:13:01 +02:00
parent 85dc74acb5
commit 44dd5d3b2f
2 changed files with 6 additions and 6 deletions

View file

@ -3,13 +3,13 @@
pkgname=nvidia-drd pkgname=nvidia-drd
pkgver=340.24 pkgver=340.24
_extramodules=extramodules-3.15-drd _extramodules=extramodules-3.16-drd
pkgrel=1 pkgrel=1
pkgdesc="NVIDIA drivers for linux" pkgdesc="NVIDIA drivers for linux"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.nvidia.com/" url="http://www.nvidia.com/"
depends=('linux-drd>=3.15' 'linux-drd<3.16' "nvidia-libgl" "nvidia-utils=${pkgver}") depends=('linux-drd>=3.16' 'linux-drd<3.17' "nvidia-libgl" "nvidia-utils=${pkgver}")
makedepends=('linux-drd-headers>=3.15' 'linux-drd-headers<3.16') makedepends=('linux-drd-headers>=3.16' 'linux-drd-headers<3.17')
conflicts=('nvidia-96xx' 'nvidia-173xx') conflicts=('nvidia-96xx' 'nvidia-173xx')
license=('custom') license=('custom')
install=nvidia.install install=nvidia.install

View file

@ -1,11 +1,11 @@
post_install() { post_install() {
EXTRAMODULES='extramodules-3.15-drd' EXTRAMODULES='extramodules-3.16-drd'
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
echo 'In order to use nvidia module, reboot the system.' echo 'In order to use nvidia module, reboot the system.'
} }
post_upgrade() { post_upgrade() {
EXTRAMODULES='extramodules-3.15-drd' EXTRAMODULES='extramodules-3.16-drd'
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
if [ "$(vercmp $2 310.19-2)" -lt 0 ]; then if [ "$(vercmp $2 310.19-2)" -lt 0 ]; then
echo 'If your card is from the 7xxx series or earlier, install nvidia-304xx' echo 'If your card is from the 7xxx series or earlier, install nvidia-304xx'
@ -13,6 +13,6 @@ post_upgrade() {
} }
post_remove() { post_remove() {
EXTRAMODULES='extramodules-3.15-drd' EXTRAMODULES='extramodules-3.16-drd'
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
} }