summaryrefslogtreecommitdiff
path: root/ext/spandsp/meson.build
blob: 0f10172754db334a75ebb8112cf131a7dfc067a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
spandsp_sources = [
  'gstdtmfdetect.c',
  'gstdtmfdetect.h',
  'gstspandsp.c',
  'gstspanplc.c',
  'gstspanplc.h',
  'gsttonegeneratesrc.c',
  'gsttonegeneratesrc.h',
]

spandsp_dep = dependency('spandsp', version : '>= 0.0.6', required : get_option('spandsp'))

if spandsp_dep.found()
  gstspandsp = library('gstspandsp',
    spandsp_sources,
    c_args : gst_plugins_bad_args,
    include_directories : [configinc],
    dependencies : [gstvideo_dep, spandsp_dep],
    install : true,
    install_dir : plugins_install_dir,
  )
  pkgconfig.generate(gstspandsp, install_dir : plugins_pkgconfig_install_dir)
endif