1audiomixer_sources = [
2  'gstaudiomixer.c',
3  'gstaudiointerleave.c',
4]
5
6orcsrc = 'gstaudiomixerorc'
7if have_orcc
8  orc_h = custom_target(orcsrc + '.h',
9    input : orcsrc + '.orc',
10    output : orcsrc + '.h',
11    command : orcc_args + ['--header', '-o', '@OUTPUT@', '@INPUT@'])
12  orc_c = custom_target(orcsrc + '.c',
13    input : orcsrc + '.orc',
14    output : orcsrc + '.c',
15    command : orcc_args + ['--implementation', '-o', '@OUTPUT@', '@INPUT@'])
16else
17  orc_h = configure_file(input : orcsrc + '-dist.h',
18    output : orcsrc + '.h',
19    copy : true)
20  orc_c = configure_file(input : orcsrc + '-dist.c',
21    output : orcsrc + '.c',
22    copy : true)
23endif
24
25gstaudiomixer = library('gstaudiomixer',
26  audiomixer_sources, orc_c, orc_h,
27  c_args : gst_plugins_base_args,
28  include_directories : [configinc],
29  dependencies : [audio_dep, gst_base_dep, orc_dep],
30  install : true,
31  install_dir : plugins_install_dir,
32)
33pkgconfig.generate(gstaudiomixer, install_dir : plugins_pkgconfig_install_dir)
34