gstreamer/ext/webrtcdsp/meson.build
Nicolas Dufresne 60fa3cab5b Bump and update for meson 0.40.1
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
2017-05-09 13:18:45 -04:00

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