meson: fix ladspa dependencies
authorPatrik Nilsson <asavartzeth@gmail.com>
Mon, 5 Mar 2018 16:43:26 +0000 (17:43 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 22 Mar 2018 07:50:50 +0000 (09:50 +0200)
commite61e840d099b6624cde54993780378564649a23d
treebc1bd4dbf5a180dc5a6d1bbbeb4ab0137bafe2ad
parent3fdcdf270517d76f4a5ed43037c84e30aa7b13b7
meson: fix ladspa dependencies

There are two issues, both related to dependency checking with the meson
support for the ladspa plugin.

With autotools, lrdf is handled like an optional dependency. But with
meson it is required. This makes the meson support less flexible and
inconsistent with autotools.

When autotools is used it properly checks if ladspa.h is available.
But with meson it does not, instead it treats lrdf as the main
dependency. This could cause a build failure if lrdf is installed, but
the ladspa sdk is not.

https://bugzilla.gnome.org/show_bug.cgi?id=794350
ext/ladspa/meson.build