summaryrefslogtreecommitdiff
path: root/multimedia/fdkaac
diff options
context:
space:
mode:
authorklaatu <klaatu@member.fsf.org>2020-09-01 10:01:58 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-01 07:30:45 +0700
commit26babedd249ca37660356ee64f7ffca563d4d94c (patch)
treed46a9724d69f518095eb8ffc1d8fd70e089f092d /multimedia/fdkaac
parent0785ce96f642a874fbcc0a5580fb72751d1965e2 (diff)
downloadslackbuilds-26babedd249ca37660356ee64f7ffca563d4d94c.tar.gz
multimedia/fdkaac: Updated for version 1.0.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/fdkaac')
-rw-r--r--multimedia/fdkaac/fdkaac.SlackBuild15
-rw-r--r--multimedia/fdkaac/fdkaac.info6
2 files changed, 8 insertions, 13 deletions
diff --git a/multimedia/fdkaac/fdkaac.SlackBuild b/multimedia/fdkaac/fdkaac.SlackBuild
index f08ed2f906..efd573a39b 100644
--- a/multimedia/fdkaac/fdkaac.SlackBuild
+++ b/multimedia/fdkaac/fdkaac.SlackBuild
@@ -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 . \
diff --git a/multimedia/fdkaac/fdkaac.info b/multimedia/fdkaac/fdkaac.info
index c2cacdf740..d5805dc951 100644
--- a/multimedia/fdkaac/fdkaac.info
+++ b/multimedia/fdkaac/fdkaac.info
@@ -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"