aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-kernel/nvidia-kernel.SlackBuild
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2015-07-29 22:55:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-07-29 22:55:20 +0700
commit745b89a5be7342f02a143288ffee7987ab2f46e7 (patch)
treed705f23667fc3cf03a2c0d443f5b4e58999d912a /system/nvidia-kernel/nvidia-kernel.SlackBuild
parent3b08844e3268a540048abde6086648a2f8d32518 (diff)
system/nvidia-kernel: Updated for version 352.30.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-kernel/nvidia-kernel.SlackBuild')
-rw-r--r--system/nvidia-kernel/nvidia-kernel.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild
index f35e1c9827ac5..d969c54498742 100644
--- a/system/nvidia-kernel/nvidia-kernel.SlackBuild
+++ b/system/nvidia-kernel/nvidia-kernel.SlackBuild
@@ -25,10 +25,10 @@
# Thanks to Robby Workman for suggestions to improve this script.
-# see changelog.txt
+# see nvidia-driver/changelog.txt
PRGNAM=nvidia-kernel
-VERSION=${VERSION:-346.59}
+VERSION=${VERSION:-352.30}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -92,7 +92,10 @@ install -m 0664 kernel/uvm/nvidia-uvm.ko $PKG/lib/modules/$KERNEL/kernel/drivers
# this file if you have an equivilent entry in /etc/X11/xorg.d
mkdir -p $PKG/usr/share/X11/xorg.conf.d/
-cat $CWD/10-nvidia.conf > $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf
+cat $TMP/$SRCNAM/nvidia-drm-outputclass.conf $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf
+# OutputClass not available until xorg > 1.16 so fix this up a bit
+sed -i "s|OutputClass|Device|" $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf
+sed -i "s|Match|# Match|" $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf
mkdir -p $PKG/usr/doc/$PRGNAM-$PKGVER
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$PKGVER/$PRGNAM.SlackBuild