diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc index 463fb70482..ffd9e3c1cf 100644 --- a/gtk2_ardour/main.cc +++ b/gtk2_ardour/main.cc @@ -423,10 +423,6 @@ sigpipe_handler (int /*signal*/) } } -#ifdef HAVE_LV2 -void close_external_ui_windows(); -#endif - #ifdef WINDOWS_VST_SUPPORT extern int windows_vst_gui_init (int* argc, char** argv[]); @@ -534,9 +530,6 @@ int main (int argc, char *argv[]) ARDOUR::cleanup (); pthread_cancel_all (); -#ifdef HAVE_LV2 - close_external_ui_windows(); -#endif return 0; } #ifdef WINDOWS_VST_SUPPORT diff --git a/libs/ardour/wscript b/libs/ardour/wscript index c69673ed00..2312c363d2 100644 --- a/libs/ardour/wscript +++ b/libs/ardour/wscript @@ -256,11 +256,19 @@ def configure(conf): autowaf.check_pkg(conf, 'sigc++-2.0', uselib_store='SIGCPP', atleast_version='2.0') if Options.options.lv2: + autowaf.check_pkg(conf, 'lv2', uselib_store='LV2', + atleast_version='1.0.0', mandatory=True) + autowaf.check_pkg(conf, 'serd-0', uselib_store='SERD', + atleast_version='0.14.0', mandatory=True) + autowaf.check_pkg(conf, 'sord-0', uselib_store='SORD', + atleast_version='0.8.0', mandatory=True) + autowaf.check_pkg(conf, 'sratom-0', uselib_store='SRATOM', + atleast_version='0.2.0', mandatory=True) autowaf.check_pkg(conf, 'lilv-0', uselib_store='LILV', - atleast_version='0.14.0', mandatory=False) - if conf.is_defined('HAVE_LILV'): - autowaf.check_pkg(conf, 'suil-0', uselib_store='SUIL', - atleast_version='0.6.0', mandatory=False) + atleast_version='0.14.0', mandatory=True) + autowaf.check_pkg(conf, 'suil-0', uselib_store='SUIL', + atleast_version='0.6.0', mandatory=False) + conf.define ('LV2_SUPPORT', 1) # autowaf.check_pkg(conf, 'soundtouch-1.0', uselib_store='SOUNDTOUCH', # mandatory=False) @@ -332,9 +340,6 @@ int main(int argc, char **argv) { if ogg_supported(): conf.define ('HAVE_OGG', 1) - if Options.options.lv2 and conf.is_defined('HAVE_LILV'): - conf.define ('LV2_SUPPORT', 1) - conf.write_config_header('libardour-config.h', remove=False) # Boost headers