From 5345cda7074f3d1fdcc9a0a828780d41cb553e63 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Wed, 7 Apr 2010 23:34:07 -0500 Subject: libraries/libvdpau: Updated for version 0.4. --- libraries/libvdpau/README | 3 +++ libraries/libvdpau/libvdpau.SlackBuild | 10 ++++++++-- libraries/libvdpau/libvdpau.info | 6 +++--- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/libraries/libvdpau/README b/libraries/libvdpau/README index 765385b7d9..da1bd942ff 100644 --- a/libraries/libvdpau/README +++ b/libraries/libvdpau/README @@ -10,3 +10,6 @@ in the binary installer. As upstream recommends splitting those files into a separate package, this shouldn't cause any issues, but in case it does, you have been warned. There is no such problem when using this together with the nvidia-driver SlackBuild on SlackBuilds.org. + +This uses graphviz for building the docs, so make sure it is installed if +you need those to be built. diff --git a/libraries/libvdpau/libvdpau.SlackBuild b/libraries/libvdpau/libvdpau.SlackBuild index d0bc40e112..ef8a0edc3d 100644 --- a/libraries/libvdpau/libvdpau.SlackBuild +++ b/libraries/libvdpau/libvdpau.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libvdpau -# Copyright 2009 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2009-2010 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libvdpau -VERSION=0.2 +VERSION=0.4 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -63,12 +63,18 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-static \ --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG +# create a symlink for libvdpau_trace in /usr/lib$LIBDIRSUFFIX +cd $PKG/usr/lib$LIBDIRSUFFIX + ln -sf vdpau/libvdpau_trace.so libvdpau_trace.so +cd - + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/libraries/libvdpau/libvdpau.info b/libraries/libvdpau/libvdpau.info index f095b4ab65..1618c76a24 100644 --- a/libraries/libvdpau/libvdpau.info +++ b/libraries/libvdpau/libvdpau.info @@ -1,8 +1,8 @@ PRGNAM="libvdpau" -VERSION="0.2" +VERSION="0.4" HOMEPAGE="http://cgit.freedesktop.org/~aplattner/libvdpau" -DOWNLOAD="http://people.freedesktop.org/~aplattner/vdpau/libvdpau-0.2.tar.gz" -MD5SUM="e0641a208839eb88fe7c01ee5af83735" +DOWNLOAD="http://people.freedesktop.org/~aplattner/vdpau/libvdpau-0.4.tar.gz" +MD5SUM="06da6f81ad37708b33a20ed177a44d81" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Heinz Wiesinger" -- cgit v1.2.3