summaryrefslogtreecommitdiff
path: root/libraries/libvdpau/libvdpau.SlackBuild
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2015-01-13 06:19:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-13 06:19:33 +0700
commit890a0677ae123d71f7dbf464304cbbfa33ac8093 (patch)
tree2608f071d7af071072e7b1d7d2c8f9556cc1d247 /libraries/libvdpau/libvdpau.SlackBuild
parent7a3b31e7923c95d842cfdf649ae8d65fbc74733c (diff)
downloadslackbuilds-890a0677ae123d71f7dbf464304cbbfa33ac8093.tar.gz
libraries/libvdpau: Updated for version 0.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libvdpau/libvdpau.SlackBuild')
-rw-r--r--libraries/libvdpau/libvdpau.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/libraries/libvdpau/libvdpau.SlackBuild b/libraries/libvdpau/libvdpau.SlackBuild
index 3428e97c0d..b8994fee57 100644
--- a/libraries/libvdpau/libvdpau.SlackBuild
+++ b/libraries/libvdpau/libvdpau.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for libvdpau
# Copyright 2009-2011 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2012-2013 Edward Koenig, Vancouver, WA, USA
+# Copyright 2012-2015 Edward Koenig, Vancouver, WA, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libvdpau
-VERSION=${VERSION:-0.8}
+VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,9 +68,10 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-./autogen.sh
+#libtool version mismatch
+autoreconf --force --install --symlink
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -87,15 +88,14 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Don't clobber the config file on upgrades
mv $PKG/etc/vdpau_wrapper.cfg $PKG/etc/vdpau_wrapper.cfg.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install