Skip to content
Snippets Groups Projects
Commit 5d3412e1 authored by Vladimir Stoiakin's avatar Vladimir Stoiakin
Browse files

meson: make a Speex audio processor a feature

Change-Id: I6542e049809ab2526fa652986a4078f3a9969733
parent 8105fa0d
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,6 @@ deplibavformat = dependency('libavformat', version: '>= 56.40.101') ...@@ -29,7 +29,6 @@ deplibavformat = dependency('libavformat', version: '>= 56.40.101')
deplibswscale = dependency('libswscale', version: '>= 3.1.101') deplibswscale = dependency('libswscale', version: '>= 3.1.101')
deplibswresample = dependency('libswresample', version: '>= 1.2.101') deplibswresample = dependency('libswresample', version: '>= 1.2.101')
deplibavutil = dependency('libavutil', version: '>= 55.75.100') deplibavutil = dependency('libavutil', version: '>= 55.75.100')
depfmt = dependency('fmt', version: '>= 5.3') depfmt = dependency('fmt', version: '>= 5.3')
depyamlcpp = dependency('yaml-cpp', version: '>= 0.5.1', required: false) depyamlcpp = dependency('yaml-cpp', version: '>= 0.5.1', required: false)
...@@ -110,10 +109,10 @@ conf.set10('HAVE_LIBNATPMP', depnatpmp.found()) ...@@ -110,10 +109,10 @@ conf.set10('HAVE_LIBNATPMP', depnatpmp.found())
depopenssl = dependency('openssl', required: get_option('name_service')) depopenssl = dependency('openssl', required: get_option('name_service'))
conf.set10('HAVE_RINGNS', depopenssl.found()) conf.set10('HAVE_RINGNS', depopenssl.found())
depwebrtcap = dependency('webrtc-audio-processing', required: get_option('aec')) depwebrtcap = dependency('webrtc-audio-processing', required: get_option('webrtc_ap'))
conf.set10('HAVE_WEBRTC_AP', depwebrtcap.found()) conf.set10('HAVE_WEBRTC_AP', depwebrtcap.found())
depspeexdsp = dependency('speexdsp') depspeexdsp = dependency('speexdsp', required: get_option('speex_ap'))
conf.set10('HAVE_SPEEXDSP', depspeexdsp.found()) conf.set10('HAVE_SPEEXDSP', depspeexdsp.found())
if get_option('video') if get_option('video')
...@@ -161,7 +160,6 @@ endif ...@@ -161,7 +160,6 @@ endif
if get_option('tracepoints') if get_option('tracepoints')
conf.set('ENABLE_TRACEPOINTS', true) conf.set('ENABLE_TRACEPOINTS', true)
deplttngust = dependency('lttng-ust', version: '>= 2.13') deplttngust = dependency('lttng-ust', version: '>= 2.13')
#depliburcu = dependency('liburcu', version: '>= 0.13.1')
else else
conf.set('ENABLE_TRACEPOINTS', false) conf.set('ENABLE_TRACEPOINTS', false)
endif endif
......
...@@ -11,7 +11,8 @@ option('jack', type: 'feature', value: 'auto', description: 'Enable support for ...@@ -11,7 +11,8 @@ option('jack', type: 'feature', value: 'auto', description: 'Enable support for
option('portaudio', type: 'feature', value: 'auto', description: 'Enable support for PortAudio') option('portaudio', type: 'feature', value: 'auto', description: 'Enable support for PortAudio')
option('upnp', type: 'feature', value: 'auto', description: 'Enable support for UPnP') option('upnp', type: 'feature', value: 'auto', description: 'Enable support for UPnP')
option('natpmp', type: 'feature', value: 'auto', description: 'Enable support for NAT-PMP') option('natpmp', type: 'feature', value: 'auto', description: 'Enable support for NAT-PMP')
option('aec', type: 'feature', value: 'auto', description: 'Enable Acoustic Echo Cancellation') option('webrtc_ap', type: 'feature', value: 'auto', description: 'Enable support for WebRTC audio processing')
option('speex_ap', type: 'feature', value: 'auto', description: 'Enable support for Speex audio processing')
option('natpmp_prefix', type: 'string', value: '', description: 'Override a system directory to search for the library "natpmp"') option('natpmp_prefix', type: 'string', value: '', description: 'Override a system directory to search for the library "natpmp"')
option('tests', type: 'boolean', value: false, description: 'Build tests') option('tests', type: 'boolean', value: false, description: 'Build tests')
......
...@@ -145,7 +145,6 @@ libjami_dependencies = [ ...@@ -145,7 +145,6 @@ libjami_dependencies = [
deplibswscale, deplibswscale,
deplibswresample, deplibswresample,
deplibavutil, deplibavutil,
depspeexdsp,
depfmt, depfmt,
depyamlcpp, depyamlcpp,
depjsoncpp, depjsoncpp,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment