2022-07-05 14:32:12 +00:00
|
|
|
fluidsynth_dep = dependency('fluidsynth', version : '>= 2.1', required : get_option('fluidsynth'))
|
2016-08-12 15:51:45 +00:00
|
|
|
|
2025-01-13 17:10:31 +00:00
|
|
|
fluidsynthmidi_sources = [
|
|
|
|
'gstfluiddec.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
fluidsynthmidi_headers = [
|
|
|
|
'gstfluiddec.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
doc_sources = []
|
|
|
|
foreach s: fluidsynthmidi_sources + fluidsynthmidi_headers
|
|
|
|
doc_sources += meson.current_source_dir() / s
|
|
|
|
endforeach
|
|
|
|
|
|
|
|
plugin_sources += {
|
|
|
|
'fluidsynthmidi': pathsep.join(doc_sources)
|
|
|
|
}
|
|
|
|
|
2016-08-12 15:51:45 +00:00
|
|
|
if fluidsynth_dep.found()
|
2017-03-04 16:03:53 +00:00
|
|
|
gstfluidsynth = library('gstfluidsynthmidi',
|
2025-01-13 17:10:31 +00:00
|
|
|
fluidsynthmidi_sources,
|
2016-08-12 15:51:45 +00:00
|
|
|
c_args : gst_plugins_bad_args,
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstaudio_dep, gst_dep, fluidsynth_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-10-22 09:30:45 +00:00
|
|
|
plugins += [gstfluidsynth]
|
2016-08-12 15:51:45 +00:00
|
|
|
endif
|