multimedia/fdkaac: Updated for version 1.0.0

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
klaatu 2020-09-01 10:01:58 +12:00 committed by Willy Sudiarto Raharjo
parent 0785ce96f6
commit 26babedd24
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 8 additions and 13 deletions

View file

@ -24,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fdkaac
VERSION=${VERSION:-0.6.3}
VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -61,12 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
if [ -e $CWD/v$VERSION.tar.gz ]; then
tar xvf $CWD/v$VERSION.tar.gz
else
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
fi
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \

View file

@ -1,8 +1,8 @@
PRGNAM="fdkaac"
VERSION="0.6.3"
VERSION="1.0.0"
HOMEPAGE="https://github.com/nu774/fdkaac"
DOWNLOAD="https://github.com/nu774/fdkaac/archive/v0.6.3/fdkaac-0.6.3.tar.gz"
MD5SUM="20cdcfcf1e3ea4060f021b6eefa9b75b"
DOWNLOAD="https://github.com/nu774/fdkaac/archive/1.0.0/fdkaac-1.0.0.tar.gz"
MD5SUM="f9eabdada9f1469721ef508360d7c3a3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libfdk-aac"