summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2015-10-17 21:38:56 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-10-18 15:36:24 +0200
commit5f7411e171d81f5fa87d16e6c370cdb2df1b8c57 (patch)
tree25e16ca75fbcebd0ab6b08c3080b5a0762476931
parenta2cc96556e4ce910b397181c222a116ebf04465d (diff)
downloadbuildroot-5f7411e171d81f5fa87d16e6c370cdb2df1b8c57.tar.gz
buildroot-5f7411e171d81f5fa87d16e6c370cdb2df1b8c57.zip
package/ffmpeg: Add support for GnuTLS
Besides OpenSSL ffmpeg also supports GnuTLS. If both GnuTLS and OpenSSL are enabled, the former takes precedence over the latter: http://git.videolan.org/?p=ffmpeg.git;a=blob;f=configure;h=7f9fed31a491ed0991aee2d354dba82e54e3291e;hb=refs/heads/release/2.8#l2719 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/ffmpeg/ffmpeg.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk
index 287338d955..d4815cac68 100644
--- a/package/ffmpeg/ffmpeg.mk
+++ b/package/ffmpeg/ffmpeg.mk
@@ -200,6 +200,11 @@ else
FFMPEG_CONF_OPTS += --disable-libfdk-aac
endif
+ifeq ($(BR2_PACKAGE_GNUTLS),y)
+FFMPEG_CONF_OPTS += --enable-gnutls --disable-openssl
+FFMPEG_DEPENDENCIES += gnutls
+else
+FFMPEG_CONF_OPTS += --disable-gnutls
ifeq ($(BR2_PACKAGE_OPENSSL),y)
# openssl isn't license compatible with GPL
ifeq ($(BR2_PACKAGE_FFMPEG_GPL)x$(BR2_PACKAGE_FFMPEG_NONFREE),yx)
@@ -211,6 +216,7 @@ endif
else
FFMPEG_CONF_OPTS += --disable-openssl
endif
+endif
ifeq ($(BR2_PACKAGE_LIBDCADEC),y)
FFMPEG_CONF_OPTS += --enable-libdcadec
OpenPOWER on IntegriCloud