aboutsummaryrefslogtreecommitdiff
path: root/multimedia/avidemux
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/avidemux')
-rw-r--r--multimedia/avidemux/avidemux.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/multimedia/avidemux/avidemux.SlackBuild b/multimedia/avidemux/avidemux.SlackBuild
index c15b61edd6abd..c471d78002e6b 100644
--- a/multimedia/avidemux/avidemux.SlackBuild
+++ b/multimedia/avidemux/avidemux.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=avidemux
VERSION=${VERSION:-2.5.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -76,6 +76,9 @@ if [ "$ARCH" = "x86_64" ]; then
sed -i -e "s/Dir=\"lib\"/Dir=\"lib${LIBDIRSUFFIX}\"/" $(grep -lr 'Dir="lib"' .)
fi
+# Cut away jobs number from the MAKEFLAGS
+MAKEFLAGS=$(echo "$MAKEFLAGS" | sed "s/-j[0-999]//g")
+
mkdir build
cd build
@@ -119,7 +122,7 @@ cd build
# gtk || -DNO_GTK:BOOL=
# qt4 || -DNO_QT4:BOOL=
- make
+ make -j1
make DESTDIR=$PKG install/strip
cd ..
@@ -136,7 +139,7 @@ cd build_plugins
-DAVIDEMUX_CORECONFIG_DIR=$(cd .. ; pwd)/build/config \
-DAVIDEMUX_INSTALL_PREFIX=$(cd .. ; pwd)/build \
../plugins
- make
+ make -j1
make DESTDIR=$PKG install/strip
cd -