• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1gaudio_sources = [
2  'gstburn.c',
3  'gstchromium.c',
4  'gstdilate.c',
5  'gstdodge.c',
6  'gstexclusion.c',
7  'gstgaussblur.c',
8  'gstsolarize.c',
9  'gstplugin.c',
10]
11
12orcsrc = 'gstgaudieffectsorc'
13if have_orcc
14  orc_h = custom_target(orcsrc + '.h',
15    input : orcsrc + '.orc',
16    output : orcsrc + '.h',
17    command : orcc_args + ['--header', '-o', '@OUTPUT@', '@INPUT@'])
18  orc_c = custom_target(orcsrc + '.c',
19    input : orcsrc + '.orc',
20    output : orcsrc + '.c',
21    command : orcc_args + ['--implementation', '-o', '@OUTPUT@', '@INPUT@'])
22else
23  orc_h = configure_file(input : orcsrc + '-dist.h',
24    output : orcsrc + '.h',
25    copy : true)
26  orc_c = configure_file(input : orcsrc + '-dist.c',
27    output : orcsrc + '.c',
28    copy : true)
29endif
30
31gstgaudioeffects = library('gstgaudieffects',
32  gaudio_sources, orc_c, orc_h,
33  c_args : gst_plugins_bad_args,
34  include_directories : [configinc],
35  dependencies : [gstbase_dep, gstvideo_dep, orc_dep, libm],
36  install : true,
37  install_dir : plugins_install_dir,
38)
39pkgconfig.generate(gstgaudioeffects, install_dir : plugins_pkgconfig_install_dir)
40