mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
filter-chain: disable lilv code when not available
This commit is contained in:
parent
597b332666
commit
bcd867f8eb
2 changed files with 5 additions and 0 deletions
|
|
@ -432,6 +432,9 @@ summary({'OpenSSL (for raop-sink)': openssl_lib.found()}, bool_yn: true)
|
||||||
|
|
||||||
lilv_lib = dependency('lilv-0', required: get_option('lv2'))
|
lilv_lib = dependency('lilv-0', required: get_option('lv2'))
|
||||||
summary({'lilv (for lv2 plugins)': lilv_lib.found()}, bool_yn: true)
|
summary({'lilv (for lv2 plugins)': lilv_lib.found()}, bool_yn: true)
|
||||||
|
if lilv_lib.found()
|
||||||
|
cdata.set('HAVE_LILV', 1)
|
||||||
|
endif
|
||||||
|
|
||||||
installed_tests_metadir = pipewire_datadir / 'installed-tests' / pipewire_name
|
installed_tests_metadir = pipewire_datadir / 'installed-tests' / pipewire_name
|
||||||
installed_tests_execdir = pipewire_libexecdir / 'installed-tests' / pipewire_name
|
installed_tests_execdir = pipewire_libexecdir / 'installed-tests' / pipewire_name
|
||||||
|
|
|
||||||
|
|
@ -754,9 +754,11 @@ static struct plugin *plugin_load(struct impl *impl, const char *type, const cha
|
||||||
else if (spa_streq(type, "ladspa")) {
|
else if (spa_streq(type, "ladspa")) {
|
||||||
pl = load_ladspa_plugin(path, NULL);
|
pl = load_ladspa_plugin(path, NULL);
|
||||||
}
|
}
|
||||||
|
#ifdef HAVE_LILV
|
||||||
else if (spa_streq(type, "lv2")) {
|
else if (spa_streq(type, "lv2")) {
|
||||||
pl = load_lv2_plugin(path, NULL);
|
pl = load_lv2_plugin(path, NULL);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if (pl == NULL)
|
if (pl == NULL)
|
||||||
goto exit;
|
goto exit;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue