summaryrefslogtreecommitdiff
path: root/libraries/libvdpau/libvdpau.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libvdpau/libvdpau.SlackBuild')
-rw-r--r--libraries/libvdpau/libvdpau.SlackBuild10
1 files changed, 8 insertions, 2 deletions
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