1volume_deps = glib_deps + [audio_dep, gst_dep, gst_base_dep] 2orcsrc = 'gstvolumeorc' 3if have_orcc 4 volume_deps += [orc_dep] 5 orc_h = custom_target(orcsrc + '.h', 6 input : orcsrc + '.orc', 7 output : orcsrc + '.h', 8 command : orcc_args + ['--header', '-o', '@OUTPUT@', '@INPUT@']) 9 orc_c = custom_target(orcsrc + '.c', 10 input : orcsrc + '.orc', 11 output : orcsrc + '.c', 12 command : orcc_args + ['--implementation', '-o', '@OUTPUT@', '@INPUT@']) 13else 14 orc_h = configure_file(input : orcsrc + '-dist.h', 15 output : orcsrc + '.h', 16 copy : true) 17 orc_c = configure_file(input : orcsrc + '-dist.c', 18 output : orcsrc + '.c', 19 copy : true) 20endif 21 22gstvolume = library('gstvolume', 'gstvolume.c', orc_c, orc_h, 23 c_args : gst_plugins_base_args, 24 include_directories: [configinc, libsinc], 25 dependencies : volume_deps, 26 install : true, 27 install_dir : plugins_install_dir, 28) 29pkgconfig.generate(gstvolume, install_dir : plugins_pkgconfig_install_dir) 30