gstreamer/subprojects/gst-plugins-bad/ext/fluidsynth/meson.build

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
736 B
Meson
Raw Normal View History

fluidsynth_dep = dependency('fluidsynth', version : '>= 2.1', required : get_option('fluidsynth'))
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)
}
if fluidsynth_dep.found()
gstfluidsynth = library('gstfluidsynthmidi',
fluidsynthmidi_sources,
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]
endif