1fluidsynth_dep = dependency('fluidsynth', version : '>= 1.0', required : get_option('fluidsynth')) 2 3if fluidsynth_dep.found() 4 gstfluidsynth = library('gstfluidsynthmidi', 5 'gstfluiddec.c', 6 c_args : gst_plugins_bad_args, 7 include_directories : [configinc], 8 dependencies : [gstaudio_dep, gst_dep, fluidsynth_dep], 9 install : true, 10 install_dir : plugins_install_dir, 11 ) 12 pkgconfig.generate(gstfluidsynth, install_dir : plugins_pkgconfig_install_dir) 13 plugins += [gstfluidsynth] 14endif 15