From 60fa3cab5b2948630fa7faae4a7126c01806d58c Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Tue, 9 May 2017 13:16:50 -0400 Subject: 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 --- ext/webrtcdsp/meson.build | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'ext/webrtcdsp') 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, -- cgit v1.2.3