Update nvidia-drd to 343.22
This commit is contained in:
parent
146284e48a
commit
6dc3db7433
2 changed files with 11 additions and 13 deletions
|
@ -1,23 +1,22 @@
|
||||||
# $Id: PKGBUILD 219669 2014-08-13 13:42:32Z svenstaro $
|
# $Id: PKGBUILD 223956 2014-10-07 06:17:15Z tpowa $
|
||||||
# Maintainer : Thomas Baechler <thomas@archlinux.org>
|
# Maintainer : Thomas Baechler <thomas@archlinux.org>
|
||||||
|
|
||||||
pkgname=nvidia-drd
|
pkgname=nvidia-drd
|
||||||
pkgver=340.32
|
pkgver=343.22
|
||||||
_extramodules=extramodules-3.16-drd
|
_extramodules=extramodules-3.17-drd
|
||||||
pkgrel=1
|
pkgrel=4
|
||||||
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.16' 'linux-drd<3.17' "nvidia-libgl" "nvidia-utils=${pkgver}")
|
depends=('linux-drd>=3.17' 'linux-drd<3.18' "nvidia-libgl" "nvidia-utils=${pkgver}")
|
||||||
makedepends=('linux-drd-headers>=3.16' 'linux-drd-headers<3.17')
|
makedepends=('linux-drd-headers>=3.17' 'linux-drd-headers<3.18')
|
||||||
conflicts=('nvidia-96xx' 'nvidia-173xx')
|
|
||||||
license=('custom')
|
license=('custom')
|
||||||
install=nvidia.install
|
install=nvidia.install
|
||||||
options=(!strip)
|
options=(!strip)
|
||||||
source=("ftp://download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run"
|
source=("ftp://download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run"
|
||||||
"ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run")
|
"ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run")
|
||||||
md5sums=('423ea1a6938dbf226bb84504746fc646'
|
md5sums=('696d0bfa7195e22e0c4bd858fff2abb6'
|
||||||
'baea4c968a06d3eddec8fb1287bb38bb')
|
'3d98eaa01a94e86abb04723ae2a702b1')
|
||||||
|
|
||||||
[[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}"
|
[[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}"
|
||||||
[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
|
[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
|
||||||
|
@ -45,5 +44,4 @@ package() {
|
||||||
gzip "${pkgdir}/usr/lib/modules/${_extramodules}/"*.ko
|
gzip "${pkgdir}/usr/lib/modules/${_extramodules}/"*.ko
|
||||||
install -d -m755 "${pkgdir}/usr/lib/modprobe.d"
|
install -d -m755 "${pkgdir}/usr/lib/modprobe.d"
|
||||||
echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia-drd.conf"
|
echo "blacklist nouveau" >> "${pkgdir}/usr/lib/modprobe.d/nvidia-drd.conf"
|
||||||
sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${_extramodules}'/" "${startdir}/nvidia.install"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
post_install() {
|
post_install() {
|
||||||
EXTRAMODULES='extramodules-3.16-drd'
|
EXTRAMODULES='extramodules-3.17-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.16-drd'
|
EXTRAMODULES='extramodules-3.17-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.16-drd'
|
EXTRAMODULES='extramodules-3.17-drd'
|
||||||
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
|
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue