1 deps = [ges_dep, gstpbutils_dep, gio_dep, gstvideo_dep, gstaudio_dep]
3 ges_tool_args = [ges_c_args, '-UG_LOG_DOMAIN']
4 if gstvalidate_dep.found()
5 deps = deps + [gstvalidate_dep]
6 ges_tool_args += ['-DGST_USE_UNSTABLE_API']
9 ges_launch = executable('ges-launch-@0@'.format(apiversion),
10 'ges-validate.c', 'ges-launch.c', 'ges-launcher.c', 'utils.c', 'ges-launcher-kb.c',
11 c_args : [ges_tool_args] + ['-DG_LOG_DOMAIN="ges-launch-@0@"'.format(apiversion)],
17 #install_man('ges-launch-1.0.1')
20 bashcomp_option = get_option('bash-completion')
21 bashcomp_dep = dependency('bash-completion', version : '>= 2.0', required : bashcomp_option)
22 bash_completions_dir = ''
25 bashcomp_found = false
26 if bashcomp_dep.found()
28 bashcomp_dir_override = bashcomp_dep.version().version_compare('>= 2.10') ? ['datadir', datadir] : ['prefix', prefix]
29 bash_completions_dir = bashcomp_dep.get_variable('completionsdir', pkgconfig_define: bashcomp_dir_override)
30 if bash_completions_dir == ''
31 msg = 'Found bash-completion but the .pc file did not set \'completionsdir\'.'
32 if bashcomp_option.enabled()
37 bashcomp_found = false
40 bash_helpers_dir = bashcomp_dep.get_variable('helpersdir', pkgconfig_define: bashcomp_dir_override)
41 if bash_helpers_dir == ''
42 msg = 'Found bash-completion, but the .pc file did not set \'helpersdir\'.'
43 if bashcomp_option.enabled()
48 bashcomp_found = false
52 install_data('../data/completions/ges-launch-1.0', install_dir : bash_completions_dir)