mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
e74b3a02dd
Merged from https://github.com/bbc/gst-curlhttpsrc commit f8aabcfc5c50a44f3362de831377d6e86dcd2d49 https://bugzilla.gnome.org/show_bug.cgi?id=744261
26 lines
600 B
Meson
26 lines
600 B
Meson
curl_sources = [
|
|
'gstcurlbasesink.c',
|
|
'gstcurl.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.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
|