summaryrefslogtreecommitdiff
path: root/ext/webrtcdsp
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2017-05-09 13:16:50 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2017-05-09 13:18:45 -0400
commit60fa3cab5b2948630fa7faae4a7126c01806d58c (patch)
tree22e018cf2a2536b888c8fa1fd5952024e810d140 /ext/webrtcdsp
parent413406d28a39a088b4a4749af5f0523fcf92f094 (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.build9
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,