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@']) 15else 16 orc_h = configure_file(input : orcsrc + '-dist.h', 17 output : orcsrc + '.h', 18 copy : true) 19 orc_c = configure_file(input : orcsrc + '-dist.c', 20 output : orcsrc + '.c', 21 copy : true) 22endif 23 24gstfieldanalysis = library('gstfieldanalysis', 25 fielda_sources, orc_c, orc_h, 26 c_args : gst_plugins_bad_args, 27 include_directories : [configinc], 28 dependencies : [gstbase_dep, gstvideo_dep, orc_dep], 29 install : true, 30 install_dir : plugins_install_dir, 31) 32pkgconfig.generate(gstfieldanalysis, install_dir : plugins_pkgconfig_install_dir) 33