summaryrefslogtreecommitdiffstats
path: root/abs/core/nvidia
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-01-22 22:22:12 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-01-22 22:22:12 (GMT)
commitf812f36efb39d4bbab07fd20a00867610bff2377 (patch)
tree9082cf54c345e6b6414d1a5a8c2c1e5379f172bd /abs/core/nvidia
parent3cbd6767a788ea808be03b3e8137312d8f3a79be (diff)
downloadlinhes_pkgbuild-f812f36efb39d4bbab07fd20a00867610bff2377.zip
linhes_pkgbuild-f812f36efb39d4bbab07fd20a00867610bff2377.tar.gz
linhes_pkgbuild-f812f36efb39d4bbab07fd20a00867610bff2377.tar.bz2
nvidia & nvidia-utils: update to 361.18
Diffstat (limited to 'abs/core/nvidia')
-rw-r--r--abs/core/nvidia/PKGBUILD28
-rw-r--r--abs/core/nvidia/nvidia.install2
2 files changed, 17 insertions, 13 deletions
diff --git a/abs/core/nvidia/PKGBUILD b/abs/core/nvidia/PKGBUILD
index 62408d6..aff88f1 100644
--- a/abs/core/nvidia/PKGBUILD
+++ b/abs/core/nvidia/PKGBUILD
@@ -5,19 +5,19 @@
pkgbase=nvidia
pkgname=(nvidia nvidia-dkms)
-pkgver=355.11
-_extramodules=extramodules-3.18-ARCH
-pkgrel=4
+pkgver=361.18
+_extramodules=extramodules-4.4-ARCH
+pkgrel=2
pkgdesc="NVIDIA drivers for linux"
arch=('i686' 'x86_64')
url="http://www.nvidia.com/"
-makedepends=('nvidia-libgl' "nvidia-utils=${pkgver}" 'linux' 'linux-headers>=3.18' 'linux-headers<3.19')
+makedepends=('nvidia-libgl' "nvidia-utils=${pkgver}" 'linux' 'linux-headers>=4.4' 'linux-headers<4.5')
license=('custom')
-options=(!strip)
-source_i686="ftp://download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run"
-source_x86_64="ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run"
-md5sums_i686='16d143ccafe99328a2ca8e5a396fd4bc'
-md5sums_x86_64='30133d89690f4683c4e289ec6c0247dc'
+options=('!strip')
+source_i686=("http://us.download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run")
+source_x86_64=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run")
+md5sums_i686=('ade4f7d0a5631ff492088671bc303a0a')
+md5sums_x86_64=('29a88f1538d622cebf751593396053e4')
[[ "$CARCH" = "i686" ]] && _pkg="NVIDIA-Linux-x86-${pkgver}"
[[ "$CARCH" = "x86_64" ]] && _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32"
@@ -35,7 +35,9 @@ prepare() {
sed -i '$iBUILT_MODULE_NAME[0]="nvidia"\
DEST_MODULE_LOCATION[0]="/kernel/drivers/video"\
BUILT_MODULE_NAME[1]="nvidia-uvm"\
-DEST_MODULE_LOCATION[1]="/kernel/drivers/video"' dkms.conf
+DEST_MODULE_LOCATION[1]="/kernel/drivers/video"\
+BUILT_MODULE_NAME[2]="nvidia-modeset"\
+DEST_MODULE_LOCATION[2]="/kernel/drivers/video"' dkms.conf
}
build() {
@@ -46,11 +48,13 @@ build() {
package_nvidia() {
pkgdesc="NVIDIA drivers for linux"
- depends=('linux>=3.18' 'linux<3.19' "nvidia-utils=${pkgver}" 'libgl')
+ depends=('linux>=4.4' 'linux<4.5' "nvidia-utils=${pkgver}" 'libgl')
install=nvidia.install
install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia.ko" \
"${pkgdir}/usr/lib/modules/${_extramodules}/nvidia.ko"
+ install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia-modeset.ko" \
+ "${pkgdir}/usr/lib/modules/${_extramodules}/nvidia-modeset.ko"
if [[ "$CARCH" = "x86_64" ]]; then
install -D -m644 "${srcdir}/${_pkg}/kernel/nvidia-uvm.ko" \
@@ -65,7 +69,7 @@ package_nvidia() {
package_nvidia-dkms() {
pkgdesc="NVIDIA driver sources for linux"
- depends=('dkms' "nvidia-utils=$pkgver")
+ depends=('dkms' "nvidia-utils=$pkgver" 'libgl')
optdepends=('linux-headers: Build the module for Arch kernel'
'linux-lts-headers: Build the module for LTS Arch kernel')
conflicts+=('nvidia')
diff --git a/abs/core/nvidia/nvidia.install b/abs/core/nvidia/nvidia.install
index 1a56d94..e08e837 100644
--- a/abs/core/nvidia/nvidia.install
+++ b/abs/core/nvidia/nvidia.install
@@ -1,5 +1,5 @@
post_install() {
- EXTRAMODULES='extramodules-3.18-ARCH'
+ EXTRAMODULES='extramodules-4.4-ARCH'
depmod $(cat /usr/lib/modules/${EXTRAMODULES}/version)
echo 'In order to use nvidia module, reboot the system.'
}