mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/libdca: Updated for version 0.0.5
This commit is contained in:
parent
365db10731
commit
8ee45d19da
3 changed files with 16 additions and 6 deletions
|
@ -37,8 +37,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -56,6 +61,7 @@ CFLAGS="$SLKCFLAGS" \
|
|||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--mandir=/usr/man \
|
||||
--program-prefix="" \
|
||||
--program-suffix="" \
|
||||
|
@ -66,8 +72,10 @@ make install DESTDIR=$PKG
|
|||
cp -a libdca/dca_internal.h $PKG/usr/include
|
||||
|
||||
( cd $PKG
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||
xargs strip --strip-unneeded 2> /dev/null
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
||||
xargs strip --strip-unneeded 2> /dev/null
|
||||
)
|
||||
|
||||
( cd $PKG/usr/man
|
||||
|
@ -84,8 +92,8 @@ mkdir -p $PKG/install
|
|||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||
/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
||||
if [ "$1" = "--cleanup" ]; then
|
||||
rm -rf $PKG $TMP/$PRGNAM-$VERSION
|
||||
fi
|
||||
rm -rf $PKG $TMP/$PRGNAM-$VERSION
|
||||
fi
|
||||
|
|
|
@ -2,7 +2,9 @@ PRGNAM="libdca"
|
|||
VERSION="0.0.5"
|
||||
HOMEPAGE="http://www.videolan.org/developers/libdca.html"
|
||||
DOWNLOAD="http://download.videolan.org/pub/videolan/libdca/0.0.5/libdca-0.0.5.tar.bz2"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="dab6b2795c66a82a6fcd4f8343343021"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Niklas 'Nille' Åkerström"
|
||||
EMAIL="nille_kungen[AT]hotmail.com"
|
||||
APPROVED="rworkman"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
libdca: libdca - a free DTS Coherent Acoustics decoder (previously libdts)
|
||||
libdca: libdca (free DTS Coherent Acoustics decoder)
|
||||
libdca:
|
||||
libdca: libdca is a free library for decoding DTS Coherent Acoustics streams.
|
||||
libdca: The code is written by Gildas Bazin and was based on the a52dec
|
||||
|
|
Loading…
Reference in a new issue