2016-08-12 15:51:45 +00:00
|
|
|
curl_sources = [
|
|
|
|
'gstcurlbasesink.c',
|
|
|
|
'gstcurl.c',
|
2021-02-17 10:55:14 +00:00
|
|
|
'gstcurlelement.c',
|
2016-08-12 15:51:45 +00:00
|
|
|
'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
|
|
|
]
|
|
|
|
|
2019-11-20 10:34:15 +00:00
|
|
|
curl_dep = dependency('libcurl', version : '>= 7.55.0', required : get_option('curl'))
|
2016-08-12 15:51:45 +00:00
|
|
|
|
|
|
|
if curl_dep.found()
|
2018-10-28 11:53:42 +00:00
|
|
|
ssh_dep = dependency('libssh2', version : '>= 1.4.3', required : get_option('curl-ssh2'))
|
2018-01-22 18:53:22 +00:00
|
|
|
cdata.set('HAVE_SSH2', ssh_dep.found())
|
|
|
|
|
2016-08-12 15:51:45 +00:00
|
|
|
gstcurl = library('gstcurl',
|
|
|
|
curl_sources,
|
|
|
|
c_args : gst_plugins_bad_args,
|
2017-11-21 19:56:38 +00:00
|
|
|
include_directories : [configinc, libsinc],
|
2022-01-15 06:04:05 +00:00
|
|
|
dependencies : [gstbase_dep, curl_dep] + winsock2 + network_deps,
|
2016-08-12 15:51:45 +00:00
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-10-22 09:30:45 +00:00
|
|
|
plugins += [gstcurl]
|
2016-08-12 15:51:45 +00:00
|
|
|
endif
|