aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/gpac/gpac.SlackBuild15
-rw-r--r--multimedia/gpac/gpac.info6
2 files changed, 11 insertions, 10 deletions
diff --git a/multimedia/gpac/gpac.SlackBuild b/multimedia/gpac/gpac.SlackBuild
index fe73a1badde87..396ceae938fb8 100644
--- a/multimedia/gpac/gpac.SlackBuild
+++ b/multimedia/gpac/gpac.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for gpac
# Home Page: https://gpac.wp.mines-telecom.fr/
-# Copyright (c) 2007-2016, Nishant Limbachia, Hoffman Estates, IL, USA
+# Copyright (c) 2007-2017, Nishant Limbachia, Hoffman Estates, IL, USA
# (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
#
@@ -26,13 +26,13 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="gpac"
-VERSION=${VERSION:-0.6.1}
+VERSION=${VERSION:-0.7.1}
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
@@ -45,8 +45,8 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
-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"
@@ -72,10 +72,11 @@ else
amr_option="--enable-amr"
fi
-rm -rf $PKG $TMP/$PRGNAM-$VERSION
+rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+rm -f $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root.root .
find -L . \
diff --git a/multimedia/gpac/gpac.info b/multimedia/gpac/gpac.info
index 08ef6776ad885..8185ad5df7574 100644
--- a/multimedia/gpac/gpac.info
+++ b/multimedia/gpac/gpac.info
@@ -1,8 +1,8 @@
PRGNAM="gpac"
-VERSION="0.6.1"
+VERSION="0.7.1"
HOMEPAGE="http://gpac.wp.mines-telecom.fr/"
-DOWNLOAD="https://github.com/gpac/gpac/archive/v0.6.1.tar.gz"
-MD5SUM="29c02dcb870073150f9d26e7410cc433"
+DOWNLOAD="https://github.com/gpac/gpac/archive/v0.7.1/gpac-0.7.1.tar.gz"
+MD5SUM="3b78b7b5bc022bbdeca193cc80281960"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""