summaryrefslogtreecommitdiff
path: root/ext/fluidsynth/meson.build
blob: 278b697f2bbac0dcc8b497f4f24821ce456829c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fluidsynth_dep = dependency('fluidsynth', version : '>= 1.0', required : get_option('fluidsynth'))

if fluidsynth_dep.found()
  gstfluidsynth = library('gstfluidsynthmidi',
    'gstfluiddec.c',
    c_args : gst_plugins_bad_args,
    include_directories : [configinc],
    dependencies : [gstaudio_dep, gst_dep, fluidsynth_dep],
    install : true,
    install_dir : plugins_install_dir,
  )
  pkgconfig.generate(gstfluidsynth, install_dir : plugins_pkgconfig_install_dir)
  plugins += [gstfluidsynth]
endif