meson: Add optional SoX Resampler support

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
Arnaud Rebillout 2018-10-21 16:47:03 +07:00 committed by Arun Raghavan
parent b9a3437a5d
commit b839d3fb59
3 changed files with 13 additions and 1 deletions

View file

@ -252,6 +252,11 @@ if gtk_dep.found()
cdata.set('HAVE_GTK', 1)
endif
soxr_dep = dependency('soxr', version : '>= 0.1.1', required : get_option('soxr'))
if soxr_dep.found()
cdata.set('HAVE_SOXR', 1)
endif
x11_dep = dependency('x11-xcb', required : get_option('x11'))
if x11_dep.found()
xcb_dep = dependency('xcb', required : true, version : '>= 1.6')