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']
10 ges_launch_files = files('ges-validate.c', 'ges-launch.c', 'ges-launcher.c', 'utils.c', 'ges-launcher-kb.c')
11 man_page = files('ges-launch-1.0.1')
12 gst_tools = {'ges-launch':
14 'files': ges_launch_files,
16 'extra_c_args': ges_tool_args,
21 if not get_option('tools').disabled()
22 ges_launch = executable('ges-launch-@0@'.format(apiversion),
24 c_args : [ges_tool_args] + ['-DG_LOG_DOMAIN="ges-launch-@0@"'.format(apiversion)],
32 bashcomp_option = get_option('bash-completion')
33 bashcomp_dep = dependency('bash-completion', version : '>= 2.0', required : bashcomp_option)
34 bash_completions_dir = ''
37 bashcomp_found = false
38 if bashcomp_dep.found()
40 bashcomp_dir_override = bashcomp_dep.version().version_compare('>= 2.10') ? ['datadir', datadir] : ['prefix', prefix]
41 bash_completions_dir = bashcomp_dep.get_variable('completionsdir', pkgconfig_define: bashcomp_dir_override)
42 if bash_completions_dir == ''
43 msg = 'Found bash-completion but the .pc file did not set \'completionsdir\'.'
44 if bashcomp_option.enabled()
49 bashcomp_found = false
52 bash_helpers_dir = bashcomp_dep.get_variable('helpersdir', pkgconfig_define: bashcomp_dir_override)
53 if bash_helpers_dir == ''
54 msg = 'Found bash-completion, but the .pc file did not set \'helpersdir\'.'
55 if bashcomp_option.enabled()
60 bashcomp_found = false
64 install_data('../data/completions/ges-launch-1.0', install_dir : bash_completions_dir)