mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
7c1fc06919
Split plugin into features including dynamic types which can be indiviually registered during a static build. More details here: https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/199 https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/661 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2038>
32 lines
877 B
Meson
32 lines
877 B
Meson
curl_sources = [
|
|
'gstcurlbasesink.c',
|
|
'gstcurl.c',
|
|
'gstcurlelement.c',
|
|
'gstcurlfilesink.c',
|
|
'gstcurlftpsink.c',
|
|
'gstcurlhttpsink.c',
|
|
'gstcurlsftpsink.c',
|
|
'gstcurlsmtpsink.c',
|
|
'gstcurlsshsink.c',
|
|
'gstcurltlssink.c',
|
|
'gstcurlhttpsrc.c',
|
|
'gstcurlqueue.c',
|
|
]
|
|
|
|
curl_dep = dependency('libcurl', version : '>= 7.55.0', required : get_option('curl'))
|
|
|
|
if curl_dep.found()
|
|
ssh_dep = dependency('libssh2', version : '>= 1.4.3', required : get_option('curl-ssh2'))
|
|
cdata.set('HAVE_SSH2', ssh_dep.found())
|
|
|
|
gstcurl = library('gstcurl',
|
|
curl_sources,
|
|
c_args : gst_plugins_bad_args,
|
|
include_directories : [configinc, libsinc],
|
|
dependencies : [gstbase_dep, curl_dep] + winsock2,
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstcurl, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gstcurl]
|
|
endif
|