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 # Slackware build script for libvdpau
# Copyright 2009-2011 Heinz Wiesinger, Amsterdam, The Netherlands # 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. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libvdpau PRGNAM=libvdpau
VERSION=${VERSION:-0.8} VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -68,9 +68,10 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -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" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
@ -87,15 +88,14 @@ CXXFLAGS="$SLKCFLAGS" \
make make
make install-strip DESTDIR=$PKG 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Don't clobber the config file on upgrades # Don't clobber the config file on upgrades
mv $PKG/etc/vdpau_wrapper.cfg $PKG/etc/vdpau_wrapper.cfg.new mv $PKG/etc/vdpau_wrapper.cfg $PKG/etc/vdpau_wrapper.cfg.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING INSTALL NEWS README \ cp -a AUTHORS COPYING $PKG/usr/doc/$PRGNAM-$VERSION
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

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