1bayer_sources = [ 2 'gstbayer.c', 3 'gstbayer2rgb.c', 4 'gstrgb2bayer.c', 5] 6 7orcsrc = 'gstbayerorc' 8if have_orcc 9 orc_h = custom_target(orcsrc + '.h', 10 input : orcsrc + '.orc', 11 output : orcsrc + '.h', 12 command : orcc_args + ['--header', '-o', '@OUTPUT@', '@INPUT@']) 13 orc_c = custom_target(orcsrc + '.c', 14 input : orcsrc + '.orc', 15 output : orcsrc + '.c', 16 command : orcc_args + ['--implementation', '-o', '@OUTPUT@', '@INPUT@']) 17 orc_targets += {'name': orcsrc, 'orc-source': files(orcsrc + '.orc'), 'header': orc_h, 'source': orc_c} 18else 19 orc_h = configure_file(input : orcsrc + '-dist.h', 20 output : orcsrc + '.h', 21 copy : true) 22 orc_c = configure_file(input : orcsrc + '-dist.c', 23 output : orcsrc + '.c', 24 copy : true) 25endif 26 27gstbayer = library('gstbayer', 28 bayer_sources, orc_c, orc_h, 29 c_args : gst_plugins_bad_args, 30 include_directories : [configinc, libsinc], 31 dependencies : [gstbase_dep, gstvideo_dep, orc_dep], 32 install : true, 33 install_dir : plugins_install_dir, 34) 35pkgconfig.generate(gstbayer, install_dir : plugins_pkgconfig_install_dir) 36plugins += [gstbayer] 37