meson.build: Define missing sndfile dependency

The audioconvert tool checks for sndfile dependency, which is missing in
case pw-cat option is disabled.

Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
This commit is contained in:
Ariel D'Alessandro 2020-03-05 18:29:33 -03:00
parent 74a1632f07
commit 80ea7d230c

View file

@ -198,9 +198,7 @@ dl_lib = cc.find_library('dl', required : false)
pthread_lib = dependency('threads')
dbus_dep = dependency('dbus-1')
sdl_dep = dependency('sdl2', required : false)
if get_option('pw-cat')
sndfile_dep = dependency('sndfile', version : '>= 1.0.20', required : false)
endif
sndfile_dep = dependency('sndfile', version : '>= 1.0.20', required : false)
if get_option('gstreamer') or get_option('pipewire-pulseaudio')
glib_dep = dependency('glib-2.0', version : '>=2.32.0')