2016-08-12 15:51:45 +00:00
|
|
|
curl_sources = [
|
|
|
|
'gstcurlbasesink.c',
|
|
|
|
'gstcurl.c',
|
|
|
|
'gstcurlfilesink.c',
|
|
|
|
'gstcurlftpsink.c',
|
|
|
|
'gstcurlhttpsink.c',
|
|
|
|
'gstcurlsftpsink.c',
|
|
|
|
'gstcurlsmtpsink.c',
|
|
|
|
'gstcurlsshsink.c',
|
|
|
|
'gstcurltlssink.c',
|
2017-07-25 14:23:57 +00:00
|
|
|
'gstcurlhttpsrc.c',
|
|
|
|
'gstcurlqueue.c',
|
2016-08-12 15:51:45 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
curl_dep = dependency('libcurl', version : '>= 7.35.0', required : false)
|
|
|
|
|
|
|
|
if curl_dep.found()
|
|
|
|
gstcurl = library('gstcurl',
|
|
|
|
curl_sources,
|
|
|
|
c_args : gst_plugins_bad_args,
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstbase_dep, curl_dep] + winsock2,
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
|
|
|
endif
|