summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg/ffmpeg.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2012-09-02 15:43:45 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2012-09-02 15:43:45 +0200
commitae70403685d984519e670f5a71e0211a88058212 (patch)
tree41a4a198b2657e6f6340f363df8f53bd9d8e3e53 /multimedia/ffmpeg/ffmpeg.SlackBuild
parentd547e0f889bcb383506b591bc6931c299bad4454 (diff)
downloadslackbuilds-ae70403685d984519e670f5a71e0211a88058212.tar.gz
multimedia/ffmpeg: Make building with openssl optional.
Linking against openssl creates a non redistributable binary, and thus requires --enable-nonfree passed to configure. Make building with support for openssl optional because of that. Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'multimedia/ffmpeg/ffmpeg.SlackBuild')
-rw-r--r--multimedia/ffmpeg/ffmpeg.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/multimedia/ffmpeg/ffmpeg.SlackBuild b/multimedia/ffmpeg/ffmpeg.SlackBuild
index f64058375f..77523e7b5c 100644
--- a/multimedia/ffmpeg/ffmpeg.SlackBuild
+++ b/multimedia/ffmpeg/ffmpeg.SlackBuild
@@ -8,7 +8,7 @@
PRGNAM=ffmpeg
VERSION=${VERSION:-0.11.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -74,6 +74,8 @@ opencore_amr="" ; [ "${OPENCORE:-no}" != "no" ] && \
opencore_amr="--enable-libopencore-amrnb --enable-libopencore-amrwb"
libfaac="" ; [ "${FAAC:-no}" != "no" ] && \
{ libfaac="--enable-libfaac" ; non_free="--enable-nonfree" ; }
+ssl="" ; [ "${OPENSSL:-no}" != "no" ] && \
+ { ssl="--enable-openssl" ; non_free="--enable-nonfree" ; }
openjpeg="" ; [ "${JP2:-no}" != "no" ] && \
{ openjpeg="--enable-libopenjpeg" ; \
SLKCFLAGS="$SLKCFLAGS -I/usr/include/openjpeg-1.5" ; }
@@ -115,7 +117,6 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-x11grab \
--enable-avfilter \
--enable-gnutls \
- --enable-openssl \
--enable-libcdio \
--arch=$ARCH \
$openjpeg \
@@ -136,7 +137,8 @@ CXXFLAGS="$SLKCFLAGS" \
$libcelt \
$libbluray \
$libass \
- $libopenal
+ $libopenal \
+ $ssl
make
make install DESTDIR=$PKG