libraries/libvdpau: Updated for version 0.9.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Edward W. Koenig 2015-01-13 06:19:33 +07:00 committed by Willy Sudiarto Raharjo
parent 7a3b31e792
commit 890a0677ae
2 changed files with 10 additions and 10 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="libvdpau"
VERSION="0.8"
VERSION="0.9"
HOMEPAGE="http://cgit.freedesktop.org/~aplattner/libvdpau"
DOWNLOAD="http://people.freedesktop.org/~aplattner/vdpau/libvdpau-0.8.tar.gz"
MD5SUM="acf68adc8b8ff4f72be6e8679abc284e"
DOWNLOAD="http://people.freedesktop.org/~aplattner/vdpau/libvdpau-0.9.tar.gz"
MD5SUM="3a1f8f3ec6e6adcfbc6044c8f00d7d51"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""