libraries/libvdpau: Updated for version 0.4.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2010-08-22 11:23:47 -04:00 committed by Erik Hanson
parent f5e2afe7e2
commit e86ddb47ba
2 changed files with 2 additions and 9 deletions

View file

@ -24,15 +24,13 @@
PRGNAM=libvdpau
VERSION=0.4
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -82,11 +80,6 @@ CXXFLAGS="$SLKCFLAGS" \
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

View file

@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Heinz Wiesinger"
EMAIL="pprkut@liwjatan.at"
APPROVED="rworkman"
APPROVED="dsomero"