• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1speex_sources = [
2  'gstspeexelement.c',
3  'gstspeex.c',
4  'gstspeexdec.c',
5  'gstspeexenc.c',
6]
7
8speex_dep = dependency('speex', version : '>=1.1.6', required : get_option('speex'))
9windows_args = []
10if host_system == 'windows'
11  windows_args = ['-DWIN32']
12endif
13
14if speex_dep.found()
15  gstspeex = library('gstspeex',
16    speex_sources,
17    c_args : gst_plugins_good_args + ['-DGST_USE_UNSTABLE_API'] + windows_args,
18    link_args : noseh_link_args,
19    include_directories : [configinc],
20    dependencies : [gstbase_dep, gsttag_dep, gstaudio_dep, speex_dep, libm],
21    install : true,
22    install_dir : plugins_install_dir,
23  )
24  pkgconfig.generate(gstspeex, install_dir : plugins_pkgconfig_install_dir)
25  plugins += [gstspeex]
26endif
27