2017-12-18 16:34:13 +00:00
|
|
|
lv2_sources = [
|
|
|
|
'gstlv2.c',
|
|
|
|
'gstlv2filter.c',
|
|
|
|
'gstlv2source.c',
|
|
|
|
'gstlv2utils.c',
|
|
|
|
]
|
|
|
|
|
2018-07-27 13:29:23 +00:00
|
|
|
lv2_dep = dependency('lilv-0', version : '>= 0.22', required : get_option('lv2'))
|
2017-12-18 16:34:13 +00:00
|
|
|
if lv2_dep.found()
|
2019-05-29 10:28:00 +00:00
|
|
|
gstlv2 = library('gstlv2',
|
2017-12-18 16:34:13 +00:00
|
|
|
lv2_sources,
|
|
|
|
c_args : gst_plugins_bad_args,
|
|
|
|
link_args : noseh_link_args,
|
|
|
|
include_directories : [configinc],
|
2018-07-27 13:29:23 +00:00
|
|
|
dependencies : [gstaudio_dep, gstbase_dep, lv2_dep, libm],
|
2017-12-18 16:34:13 +00:00
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2019-05-29 10:28:00 +00:00
|
|
|
pkgconfig.generate(gstlv2, install_dir : plugins_pkgconfig_install_dir)
|
|
|
|
plugins += [gstlv2]
|
2017-12-18 16:34:13 +00:00
|
|
|
endif
|