1fielda_sources = [ 2 'gstfieldanalysis.c' 3] 4 5orcsrc = 'gstfieldanalysisorc' 6if have_orcc 7 orc_h = custom_target(orcsrc + '.h', 8 input : orcsrc + '.orc', 9 output : orcsrc + '.h', 10 command : orcc_args + ['--header', '-o', '@OUTPUT@', '@INPUT@']) 11 orc_c = custom_target(orcsrc + '.c', 12 input : orcsrc + '.orc', 13 output : orcsrc + '.c', 14 command : orcc_args + ['--implementation', '-o', '@OUTPUT@', '@INPUT@']) 15 orc_targets += {'name': orcsrc, 'orc-source': files(orcsrc + '.orc'), 'header': orc_h, 'source': orc_c} 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 25gstfieldanalysis = library('gstfieldanalysis', 26 fielda_sources, orc_c, orc_h, 27 c_args : gst_plugins_bad_args, 28 include_directories : [configinc], 29 dependencies : [gstbase_dep, gstvideo_dep, orc_dep], 30 install : true, 31 install_dir : plugins_install_dir, 32) 33pkgconfig.generate(gstfieldanalysis, install_dir : plugins_pkgconfig_install_dir) 34plugins += [gstfieldanalysis] 35