summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg/ffmpeg.SlackBuild
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2016-07-18 05:43:19 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-18 05:43:52 +0700
commit26db74af39aba2a31974d159a4d9c5ea4167f546 (patch)
treec45853288ef2d20253541f0a9a252490c8d70537 /multimedia/ffmpeg/ffmpeg.SlackBuild
parenta2eab214aa4e2657c47178bd505c170ba7f2862e (diff)
downloadslackbuilds-26db74af39aba2a31974d159a4d9c5ea4167f546.tar.gz
multimedia/ffmpeg: Enable zeromq support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/ffmpeg/ffmpeg.SlackBuild')
-rw-r--r--multimedia/ffmpeg/ffmpeg.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/multimedia/ffmpeg/ffmpeg.SlackBuild b/multimedia/ffmpeg/ffmpeg.SlackBuild
index 69f488b49d..93ff35efd1 100644
--- a/multimedia/ffmpeg/ffmpeg.SlackBuild
+++ b/multimedia/ffmpeg/ffmpeg.SlackBuild
@@ -118,7 +118,7 @@ decklink="" ; [ "${DECKLINK:-no}" != "no" ] && \
SLKCFLAGS="$SLKCFLAGS -I/usr/include/decklink" ; }
# zeromq support requires zeromq > 3.x
-#libzmq="" ; [ "${ZMQ:-no}" != "no" ] && libzmq="--enable-libzmq"
+libzmq="" ; [ "${ZMQ:-no}" != "no" ] && libzmq="--enable-libzmq"
set -e
@@ -133,7 +133,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix linking with flite
sed -i "s| -lflite\"| -lflite -lm -lasound\"|" \
@@ -207,7 +207,8 @@ CXXFLAGS="$SLKCFLAGS -I/usr/include/openmj2-2.1" \
$libgme \
$libsnappy \
$libwebp \
- $ssl
+ $ssl \
+ $libzmq
make
make install DESTDIR=$PKG