mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
60fa3cab5b
This patch bumps the required meson to 0.40.1 as gstreamer core just did, and cleanup some code to use a feature from 0.37 that allow specifying version range when checking dependency. https://bugzilla.gnome.org/show_bug.cgi?id=780654
18 lines
493 B
Meson
18 lines
493 B
Meson
webrtc_sources = [
|
|
'gstwebrtcdsp.cpp',
|
|
'gstwebrtcechoprobe.cpp'
|
|
]
|
|
|
|
webrtc_dep = dependency('webrtc-audio-processing', version : ['>= 0.2', '< 0.4'], required : false)
|
|
|
|
if webrtc_dep.found()
|
|
gstwebrtcdsp = library('gstwebrtcdsp',
|
|
webrtc_sources,
|
|
cpp_args : gst_plugins_bad_args,
|
|
link_args : noseh_link_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gstbase_dep, gstaudio_dep, webrtc_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
endif
|