summaryrefslogtreecommitdiff
path: root/multimedia/avidemux/avidemux.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/avidemux/avidemux.SlackBuild')
-rw-r--r--multimedia/avidemux/avidemux.SlackBuild25
1 files changed, 13 insertions, 12 deletions
diff --git a/multimedia/avidemux/avidemux.SlackBuild b/multimedia/avidemux/avidemux.SlackBuild
index d15469a167..734bddc50c 100644
--- a/multimedia/avidemux/avidemux.SlackBuild
+++ b/multimedia/avidemux/avidemux.SlackBuild
@@ -5,6 +5,7 @@
# Derived from a SlackBuild by Eric Hameleers.
# Copyright 2009, 2010, 2011, 2013 Eric Hameleers, Eindhoven, NL
# Copyright 2015 John Vogel Corning, NY USA
+# Copyright 2017 Matteo Bernardini, Pisa, IT
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=avidemux
-VERSION=${VERSION:-2.6.12}
+VERSION=${VERSION:-2.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -33,7 +34,7 @@ DOCS="AUTHORS License.txt COPYING scripts/automkv.py"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -44,8 +45,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"
@@ -85,7 +86,7 @@ cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DFAKEROOT="$PKG" \
../avidemux_core
-make -j 1
+make
make -j 1 install DESTDIR=$PKG
cd ..
@@ -98,7 +99,7 @@ if [ "x$WITH_QT4" = "xYES" ]; then
-DCMAKE_INSTALL_PREFIX=/usr \
-DFAKEROOT="$PKG" \
../avidemux/qt4
- make -j 1
+ make
make -j 1 install DESTDIR=$PKG
cd ..
fi
@@ -112,7 +113,7 @@ if [ "x$WITH_GTK" = "xYES" ]; then
-DCMAKE_INSTALL_PREFIX=/usr \
-DFAKEROOT="$PKG" \
../avidemux/gtk
- make -j 1
+ make
make -j 1 install DESTDIR=$PKG
cd ..
fi
@@ -126,7 +127,7 @@ if [ "x$WITH_CLI" = "xYES" ]; then
-DCMAKE_INSTALL_PREFIX=/usr \
-DFAKEROOT="$PKG" \
../avidemux/cli
- make -j 1
+ make
make -j 1 install DESTDIR=$PKG
cd ..
fi
@@ -141,7 +142,7 @@ cd build_plugins_common
-DPLUGIN_UI=COMMON \
-DFAKEROOT="$PKG" \
../avidemux_plugins
- make -j 1
+ make
make -j 1 install DESTDIR=$PKG
cd ..
@@ -156,7 +157,7 @@ if [ "x$WITH_QT4" = "xYES" ]; then
-DPLUGIN_UI=QT4 \
-DFAKEROOT="$PKG" \
../avidemux_plugins
- make -j 1
+ make
make -j 1 install DESTDIR=$PKG
cd ..
fi
@@ -172,7 +173,7 @@ if [ "x$WITH_GTK" = "xYES" ]; then
-DPLUGIN_UI=GTK \
-DFAKEROOT="$PKG" \
../avidemux_plugins
- make -j 1
+ make
make -j 1 install DESTDIR=$PKG
cd ..
fi
@@ -188,7 +189,7 @@ if [ "x$WITH_CLI" = "xYES" ]; then
-DPLUGIN_UI=CLI \
-DFAKEROOT="$PKG" \
../avidemux_plugins
- make -j 1
+ make
make -j 1 install DESTDIR=$PKG
cd ..
fi