• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1opus_sources = [
2  'gstopus.c',
3  'gstopuselement.c',
4  'gstopuscommon.c',
5  'gstopusdec.c',
6  'gstopusenc.c',
7  'gstopusheader.c',
8]
9
10opus_dep = dependency('opus', version: '>= 0.9.4', required: get_option('opus'),
11                      fallback: ['opus', 'opus_dep'], default_options: ['docs=disabled'])
12
13if opus_dep.found()
14  gstopus = library('gstopus',
15    opus_sources,
16    c_args : gst_plugins_base_args,
17    link_args : noseh_link_args,
18    include_directories: [configinc, libsinc],
19    dependencies : glib_deps + [pbutils_dep, tag_dep, audio_dep, gst_dep, gst_base_dep, opus_dep, libm],
20    install : true,
21    install_dir : plugins_install_dir,
22  )
23  pkgconfig.generate(gstopus, install_dir : plugins_pkgconfig_install_dir)
24  plugins += [gstopus]
25endif
26