Also do some indent changes, and add `static` while we're at it. And move the libsoup wrap to 3.6.5, add nghttp2 wrap We need to disable libsoup 3.0 tests because they fail to build on Windows. Closes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1115 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8753>
33 lines
1.0 KiB
Meson
33 lines
1.0 KiB
Meson
gst_req = '>= 1.24.0'
|
|
gstsdp_dep = dependency('gstreamer-sdp-1.0', version : gst_req,
|
|
allow_fallback: true)
|
|
|
|
libsoup_dep = dependency('libsoup-3.0', version: '>=3.2', default_options: {'tests': false},
|
|
include_type: 'system', allow_fallback: true, required: false)
|
|
json_glib_dep = dependency('json-glib-1.0',
|
|
include_type: 'system', allow_fallback: true, required: false)
|
|
|
|
if not libsoup_dep.found() or not json_glib_dep.found()
|
|
message('WebRTC examples are disabled because some dependencies are missing.')
|
|
subdir_done()
|
|
endif
|
|
|
|
libgstwebrtcnice_dep = dependency('gstreamer-webrtc-nice-1.0', version : gst_req)
|
|
|
|
pymod = import('python')
|
|
py3 = pymod.find_installation('python3')
|
|
|
|
py3_version = py3.language_version()
|
|
if py3_version.version_compare('< 3.6')
|
|
error('Could not find a sufficient python version required: 3.6, found {}'.format(py3_version))
|
|
endif
|
|
|
|
subdir('multiparty-sendrecv')
|
|
subdir('signalling')
|
|
subdir('sendonly')
|
|
subdir('sendrecv')
|
|
|
|
if not get_option('tests').disabled()
|
|
subdir('check')
|
|
endif
|