aboutsummaryrefslogtreecommitdiff
path: root/libraries/libvdpau/libvdpau.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-04-07 23:34:07 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-15 10:24:36 +0200
commit5345cda7074f3d1fdcc9a0a828780d41cb553e63 (patch)
tree87681dfc8838b12ebc6b0d04efcf25cfaa6dea50 /libraries/libvdpau/libvdpau.SlackBuild
parent2daef90cd070818ca21f850cc631097065594988 (diff)
libraries/libvdpau: Updated for version 0.4.
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 d0bc40e11291b..ef8a0edc3dd85 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