2017-12-18 21:09:53 +00:00
|
|
|
ladspa_sources = [
|
|
|
|
'gstladspa.c',
|
|
|
|
'gstladspafilter.c',
|
|
|
|
'gstladspasource.c',
|
|
|
|
'gstladspasink.c',
|
|
|
|
'gstladspautils.c',
|
|
|
|
]
|
|
|
|
|
2018-03-05 16:43:26 +00:00
|
|
|
ladspa_cargs = []
|
|
|
|
|
|
|
|
lrdf_dep = dependency('lrdf', required : false)
|
|
|
|
if lrdf_dep.found()
|
|
|
|
ladspa_cargs = ['-DHAVE_LRDF']
|
|
|
|
endif
|
|
|
|
|
|
|
|
if cc.has_header('ladspa.h')
|
|
|
|
gstladspa = library('gstladspa',
|
2017-12-18 21:09:53 +00:00
|
|
|
ladspa_sources,
|
2018-03-05 16:43:26 +00:00
|
|
|
c_args : gst_plugins_bad_args + ladspa_cargs,
|
2017-12-18 21:09:53 +00:00
|
|
|
link_args : noseh_link_args,
|
|
|
|
include_directories : [configinc, libsinc],
|
2018-03-05 16:43:26 +00:00
|
|
|
dependencies : [gstaudio_dep, gstbase_dep, gmodule_dep, mathlib],
|
2017-12-18 21:09:53 +00:00
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
|
|
|
endif
|