diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2017-12-18 11:34:13 -0500 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2017-12-18 11:34:13 -0500 |
commit | 387e229773d25d57301417229407931d3cdb884f (patch) | |
tree | c48dc7e5b80a9aaed4e5e70b172fdeb543dbd1a1 | |
parent | f995bcf85a5bb3eb94164ed6d60938b4de6e40ab (diff) |
meson: Enable building LV2
Note that I only support lilv 0.22+ for now, because it's simple and old
enough. If anyone needs to use the 0.16 support it will need to be
added.
-rw-r--r-- | ext/lv2/meson.build | 19 | ||||
-rw-r--r-- | ext/meson.build | 2 |
2 files changed, 20 insertions, 1 deletions
diff --git a/ext/lv2/meson.build b/ext/lv2/meson.build new file mode 100644 index 000000000..bcb6442d8 --- /dev/null +++ b/ext/lv2/meson.build @@ -0,0 +1,19 @@ +lv2_sources = [ + 'gstlv2.c', + 'gstlv2filter.c', + 'gstlv2source.c', + 'gstlv2utils.c', +] + +lv2_dep = dependency('lilv-0', version : '>= 0.22', required : false) +if lv2_dep.found() + gstrsvg = library('gstlv2', + lv2_sources, + c_args : gst_plugins_bad_args, + link_args : noseh_link_args, + include_directories : [configinc], + dependencies : [gstaudio_dep, gstbase_dep, lv2_dep, mathlib], + install : true, + install_dir : plugins_install_dir, + ) +endif diff --git a/ext/meson.build b/ext/meson.build index dce4e7480..c7d40a643 100644 --- a/ext/meson.build +++ b/ext/meson.build @@ -25,7 +25,7 @@ subdir('kate') #subdir('ladspa') subdir('libde265') subdir('libmms') -#subdir('lv2') +subdir('lv2') #subdir('modplug') subdir('mpeg2enc') subdir('mplex') |