1vmixer_sources = [
2  'blend.c',
3  'videomixer2.c',
4]
5
6orcsrc = 'videomixerorc'
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
25gstvideomixer = library('gstvideomixer',
26  vmixer_sources, orc_c, orc_h,
27  c_args : gst_plugins_good_args,
28  include_directories : [configinc],
29  dependencies : [orc_dep, gstvideo_dep, gstbase_dep, libm],
30  install : true,
31  install_dir : plugins_install_dir,
32)
33pkgconfig.generate(gstvideomixer, install_dir : plugins_pkgconfig_install_dir)
34