diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2017-05-09 13:16:50 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2017-05-09 13:18:45 -0400 |
commit | 60fa3cab5b2948630fa7faae4a7126c01806d58c (patch) | |
tree | 22e018cf2a2536b888c8fa1fd5952024e810d140 /ext/webrtcdsp | |
parent | 413406d28a39a088b4a4749af5f0523fcf92f094 (diff) |
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
Diffstat (limited to 'ext/webrtcdsp')
-rw-r--r-- | ext/webrtcdsp/meson.build | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/ext/webrtcdsp/meson.build b/ext/webrtcdsp/meson.build index 600bb1961..0bc53c5bd 100644 --- a/ext/webrtcdsp/meson.build +++ b/ext/webrtcdsp/meson.build @@ -3,14 +3,9 @@ webrtc_sources = [ 'gstwebrtcechoprobe.cpp' ] -webrtc_dep = dependency('webrtc-audio-processing', version : '>= 0.2', required : false) -webrtc_max_dep = dependency('webrtc-audio-processing', version : '>= 0.4', required : false) +webrtc_dep = dependency('webrtc-audio-processing', version : ['>= 0.2', '< 0.4'], required : false) -if (webrtc_max_dep.found()) - message('WebRTC Audio Processing library is not API stable,' - + ' we cannot support newer version ' + webrtc_max_dep.version() - + ' (we only support 0.2 and 0.3)') -elif (webrtc_dep.found()) +if webrtc_dep.found() gstwebrtcdsp = library('gstwebrtcdsp', webrtc_sources, cpp_args : gst_plugins_bad_args, |