mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
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>
This commit is contained in:
parent
d547e0f889
commit
ae70403685
2 changed files with 6 additions and 3 deletions
|
@ -16,6 +16,7 @@ JP2=yes|no (default: no), requires openjpeg
|
|||
LAME=yes|no (default: yes), requires lame
|
||||
OPENAL=yes|no (default: no), requires OpenAL
|
||||
OPENCORE=yes|no (default: no), requires opencore-amr
|
||||
OPENSSL=yes|no (default: no), creates non-redistributable binary
|
||||
RTMP=yes|no (default: no), requires rtmpdump
|
||||
SCHROEDINGER=yes|no (default: no), requires schroedinger
|
||||
SPEEX=yes|no (default: no), requires speex
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue