aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-29 18:36:37 +0200
committerMatteo Bernardini <ponce@slackbuilds.org>2012-09-29 18:37:06 +0200
commitd0bbf893a0233d4b9d945349dab0367c06b180e9 (patch)
treecb01bb61af9750c3ed00db2aa857faf39b1f55d7 /multimedia
parent2142c29f376878125457aedbb732e6c06fac0399 (diff)
multimedia/avidemux: Forced -j1 (parallel building seems broken).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia')
-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 -