aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-driver
diff options
context:
space:
mode:
authorEdward Koenig <kingbeowulf@gmail.com>2012-08-21 22:22:30 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 22:24:56 -0500
commit03c564a8a45231452ccce3370a8c8feac59e0c58 (patch)
treeeead64b5fd1ce5bb727946dd1a6072e6f7927131 /system/nvidia-driver
parenteb09c712678ea7e78626ac0d8e1da6ec62887969 (diff)
system/nvidia-driver: Fix breakage with libvdpau
It was bound to happen. I goofed, the admins believed me, and here we are. Attached is the patch to the recently approved and posted 302.17 nividia-driver.SlackBuild. Turns out that while libvdpau provides the open source lib, the driver still contains the proprietary vdpau binary. Please fix since using the currently posted slackbuild will break vdpau support. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/nvidia-driver')
-rw-r--r--system/nvidia-driver/nvidia-driver.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/nvidia-driver/nvidia-driver.SlackBuild b/system/nvidia-driver/nvidia-driver.SlackBuild
index 0a3e1b32e1e36..0a536b754ee38 100644
--- a/system/nvidia-driver/nvidia-driver.SlackBuild
+++ b/system/nvidia-driver/nvidia-driver.SlackBuild
@@ -37,11 +37,12 @@
# 1.7 21-OCT-2011 version bump
# 1.8 24-MAR-2012 version bump, fix to nvidia-switch thanks to Phill W.
# 1.9 02-AUG-2012 version bmp, fixes, updates, nvidia-switch for install/uninstall only
+# 1.9a 21-AUG-2012 fix for libvdpau (per post on mail list) --rworkman
PRGNAM=nvidia-driver
VERSION=302.17
MVERS=302
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -115,6 +116,7 @@ install -m 755 libnvidia-cfg.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
install -m 755 libnvidia-ml.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
install -m 755 libnvcuvid.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
install -m 755 libnvidia-compiler.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
+install -m 755 libvdpau_nvidia.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
install -m 644 nvidia.icd $PKG/etc/OpenCL/vendors/
install -m 755 tls/libnvidia-tls.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/tls/
@@ -133,6 +135,7 @@ if [ "$ARCH" = "x86_64" -a "${COMPAT32}" = "yes" ]; then
install -m 755 32/libcuda.so.$VERSION $PKG/usr/lib/
install -m 755 32/tls/libnvidia-tls.so.$VERSION $PKG/usr/lib/tls/
install -m 755 32/libOpenCL.so.1.0.0 $PKG/usr/lib/
+ install -m 755 32/libvdpau_nvidia.so.$VERSION $PKG/usr/lib/
install -m 755 32/libnvidia-compiler.so.$VERSION $PKG/usr/lib/
fi