Merge commit '23be4eebf8aaa7519b12b2a49e5c5c6c4d076e6a'
authorJames Almer <jamrial@gmail.com>
Sun, 2 Sep 2018 19:50:45 +0000 (16:50 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 2 Sep 2018 19:50:45 +0000 (16:50 -0300)
* commit '23be4eebf8aaa7519b12b2a49e5c5c6c4d076e6a':
  build: Group external library protocols separately

Merged-by: James Almer <jamrial@gmail.com>
1  2 
configure
libavformat/Makefile

diff --cc configure
+++ b/configure
@@@ -3328,34 -2546,21 +3318,46 @@@ udplite_protocol_select="network
  unix_protocol_deps="sys_un_h"
  unix_protocol_select="network"
  
+ # external library protocols
+ librtmp_protocol_deps="librtmp"
+ librtmpe_protocol_deps="librtmp"
+ librtmps_protocol_deps="librtmp"
+ librtmpt_protocol_deps="librtmp"
+ librtmpte_protocol_deps="librtmp"
++libsmbclient_protocol_deps="libsmbclient gplv3"
+ libsrt_protocol_deps="libsrt"
+ libsrt_protocol_select="network"
++libssh_protocol_deps="libssh"
++libtls_conflict="openssl gnutls mbedtls"
  # filters
 -asyncts_filter_deps="avresample"
 +afftfilt_filter_deps="avcodec"
 +afftfilt_filter_select="fft"
 +afir_filter_deps="avcodec"
 +afir_filter_select="fft"
 +amovie_filter_deps="avcodec avformat"
 +aresample_filter_deps="swresample"
 +ass_filter_deps="libass"
 +atempo_filter_deps="avcodec"
 +atempo_filter_select="rdft"
 +avgblur_opencl_filter_deps="opencl"
 +azmq_filter_deps="libzmq"
  blackframe_filter_deps="gpl"
  boxblur_filter_deps="gpl"
 +boxblur_opencl_filter_deps="opencl gpl"
  bs2b_filter_deps="libbs2b"
 +colormatrix_filter_deps="gpl"
 +convolution_opencl_filter_deps="opencl"
 +convolve_filter_deps="avcodec"
 +convolve_filter_select="fft"
 +coreimage_filter_deps="coreimage appkit"
 +coreimage_filter_extralibs="-framework OpenGL"
 +coreimagesrc_filter_deps="coreimage appkit"
 +coreimagesrc_filter_extralibs="-framework OpenGL"
 +cover_rect_filter_deps="avcodec avformat gpl"
  cropdetect_filter_deps="gpl"
 +deconvolve_filter_deps="avcodec"
 +deconvolve_filter_select="fft"
  deinterlace_qsv_filter_deps="libmfx"
  deinterlace_vaapi_filter_deps="vaapi"
  delogo_filter_deps="gpl"
@@@ -557,30 -377,13 +557,22 @@@ OBJS-$(CONFIG_YOP_DEMUXER
  OBJS-$(CONFIG_YUV4MPEGPIPE_DEMUXER)      += yuv4mpegdec.o
  OBJS-$(CONFIG_YUV4MPEGPIPE_MUXER)        += yuv4mpegenc.o
  
- # external libraries
+ # external library muxers/demuxers
  OBJS-$(CONFIG_AVISYNTH_DEMUXER)          += avisynth.o
- OBJS-$(CONFIG_LIBRTMP_PROTOCOL)          += librtmp.o
- OBJS-$(CONFIG_LIBRTMPE_PROTOCOL)         += librtmp.o
- OBJS-$(CONFIG_LIBRTMPS_PROTOCOL)         += librtmp.o
- OBJS-$(CONFIG_LIBRTMPT_PROTOCOL)         += librtmp.o
- OBJS-$(CONFIG_LIBRTMPTE_PROTOCOL)        += librtmp.o
- OBJS-$(CONFIG_LIBSRT_PROTOCOL)           += libsrt.o
- OBJS-$(CONFIG_LIBSSH_PROTOCOL)           += libssh.o
- OBJS-$(CONFIG_LIBSMBCLIENT_PROTOCOL)     += libsmbclient.o
 +OBJS-$(CONFIG_CHROMAPRINT_MUXER)         += chromaprint.o
 +OBJS-$(CONFIG_LIBGME_DEMUXER)            += libgme.o
 +OBJS-$(CONFIG_LIBMODPLUG_DEMUXER)        += libmodplug.o
 +OBJS-$(CONFIG_LIBOPENMPT_DEMUXER)        += libopenmpt.o
 +OBJS-$(CONFIG_VAPOURSYNTH_DEMUXER)       += vapoursynth.o
  
  # protocols I/O
 +OBJS-$(CONFIG_ASYNC_PROTOCOL)            += async.o
  OBJS-$(CONFIG_APPLEHTTP_PROTOCOL)        += hlsproto.o
 +OBJS-$(CONFIG_BLURAY_PROTOCOL)           += bluray.o
 +OBJS-$(CONFIG_CACHE_PROTOCOL)            += cache.o
  OBJS-$(CONFIG_CONCAT_PROTOCOL)           += concat.o
  OBJS-$(CONFIG_CRYPTO_PROTOCOL)           += crypto.o
 +OBJS-$(CONFIG_DATA_PROTOCOL)             += data_uri.o
  OBJS-$(CONFIG_FFRTMPCRYPT_PROTOCOL)      += rtmpcrypt.o rtmpdigest.o rtmpdh.o
  OBJS-$(CONFIG_FFRTMPHTTP_PROTOCOL)       += rtmphttp.o
  OBJS-$(CONFIG_FILE_PROTOCOL)             += file.o
@@@ -605,25 -406,16 +597,35 @@@ OBJS-$(CONFIG_RTMPTS_PROTOCOL
  OBJS-$(CONFIG_RTP_PROTOCOL)              += rtpproto.o
  OBJS-$(CONFIG_SCTP_PROTOCOL)             += sctp.o
  OBJS-$(CONFIG_SRTP_PROTOCOL)             += srtpproto.o srtp.o
 +OBJS-$(CONFIG_SUBFILE_PROTOCOL)          += subfile.o
 +OBJS-$(CONFIG_TEE_PROTOCOL)              += teeproto.o tee_common.o
  OBJS-$(CONFIG_TCP_PROTOCOL)              += tcp.o
  TLS-OBJS-$(CONFIG_GNUTLS)                += tls_gnutls.o
 +TLS-OBJS-$(CONFIG_LIBTLS)                += tls_libtls.o
 +TLS-OBJS-$(CONFIG_MBEDTLS)               += tls_mbedtls.o
  TLS-OBJS-$(CONFIG_OPENSSL)               += tls_openssl.o
 +TLS-OBJS-$(CONFIG_SECURETRANSPORT)       += tls_securetransport.o
 +TLS-OBJS-$(CONFIG_SCHANNEL)              += tls_schannel.o
  OBJS-$(CONFIG_TLS_PROTOCOL)              += tls.o $(TLS-OBJS-yes)
  OBJS-$(CONFIG_UDP_PROTOCOL)              += udp.o
 +OBJS-$(CONFIG_UDPLITE_PROTOCOL)          += udp.o
  OBJS-$(CONFIG_UNIX_PROTOCOL)             += unix.o
  
 -OBJS-$(CONFIG_LIBRTMP)                   += librtmp.o
+ # external library protocols
++OBJS-$(CONFIG_LIBRTMP_PROTOCOL)          += librtmp.o
++OBJS-$(CONFIG_LIBRTMPE_PROTOCOL)         += librtmp.o
++OBJS-$(CONFIG_LIBRTMPS_PROTOCOL)         += librtmp.o
++OBJS-$(CONFIG_LIBRTMPT_PROTOCOL)         += librtmp.o
++OBJS-$(CONFIG_LIBRTMPTE_PROTOCOL)        += librtmp.o
++OBJS-$(CONFIG_LIBSMBCLIENT_PROTOCOL)     += libsmbclient.o
+ OBJS-$(CONFIG_LIBSRT_PROTOCOL)           += libsrt.o
++OBJS-$(CONFIG_LIBSSH_PROTOCOL)           += libssh.o
++
 +# libavdevice dependencies
 +OBJS-$(CONFIG_IEC61883_INDEV)            += dv.o
 +
 +# Windows resource file
 +SLIBOBJS-$(HAVE_GNU_WINDRES)             += avformatres.o
  
  SKIPHEADERS-$(CONFIG_FFRTMPCRYPT_PROTOCOL) += rtmpdh.h
  SKIPHEADERS-$(CONFIG_NETWORK)            += network.h rtsp.h