mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
meson: add 'curl-ssh2' option for curl libssh2 support
https://bugzilla.gnome.org/show_bug.cgi?id=797346
This commit is contained in:
parent
8dfe0dd9ce
commit
a4cfb1fa14
2 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,7 @@ curl_sources = [
|
||||||
curl_dep = dependency('libcurl', version : '>= 7.35.0', required : get_option('curl'))
|
curl_dep = dependency('libcurl', version : '>= 7.35.0', required : get_option('curl'))
|
||||||
|
|
||||||
if curl_dep.found()
|
if curl_dep.found()
|
||||||
ssh_dep = dependency('libssh2', version : '>= 1.4.3', required : false)
|
ssh_dep = dependency('libssh2', version : '>= 1.4.3', required : get_option('curl-ssh2'))
|
||||||
cdata.set('HAVE_SSH2', ssh_dep.found())
|
cdata.set('HAVE_SSH2', ssh_dep.found())
|
||||||
|
|
||||||
gstcurl = library('gstcurl',
|
gstcurl = library('gstcurl',
|
||||||
|
|
|
@ -83,6 +83,7 @@ option('bz2', type : 'feature', value : 'auto', description : 'bz2 stream encode
|
||||||
option('chromaprint', type : 'feature', value : 'auto', description : 'Chromaprint fingerprint audio plugin')
|
option('chromaprint', type : 'feature', value : 'auto', description : 'Chromaprint fingerprint audio plugin')
|
||||||
option('closedcaption', type : 'feature', value : 'auto', description : 'Closed caption extractor, decoder, and overlay plugin')
|
option('closedcaption', type : 'feature', value : 'auto', description : 'Closed caption extractor, decoder, and overlay plugin')
|
||||||
option('curl', type : 'feature', value : 'auto', description : 'cURL network source and sink plugin')
|
option('curl', type : 'feature', value : 'auto', description : 'cURL network source and sink plugin')
|
||||||
|
option('curl-ssh2', type : 'feature', value : 'auto', description : 'cURL network source and sink plugin libssh2 support')
|
||||||
option('d3dvideosink', type : 'feature', value : 'auto', description : 'Direct3D video sink plugin')
|
option('d3dvideosink', type : 'feature', value : 'auto', description : 'Direct3D video sink plugin')
|
||||||
option('dash', type : 'feature', value : 'auto', description : 'DASH demuxer plugin')
|
option('dash', type : 'feature', value : 'auto', description : 'DASH demuxer plugin')
|
||||||
option('decklink', type : 'feature', value : 'auto', description : 'DeckLink audio/video source/sink plugin')
|
option('decklink', type : 'feature', value : 'auto', description : 'DeckLink audio/video source/sink plugin')
|
||||||
|
|
Loading…
Reference in a new issue