diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2017-04-04 14:25:52 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2017-04-04 14:46:48 -0400 |
commit | 35c4428083ddf80e67af33b959f845c593945dbc (patch) | |
tree | c192193920db057990ba419195ffe23a49ba18f9 /data | |
parent | bae1fe254a0f730a82cd14dfd3deab06c753a8c7 (diff) |
meson: Add bash completion support
Diffstat (limited to 'data')
-rw-r--r-- | data/bash-completion/helpers/meson.build | 9 | ||||
-rw-r--r-- | data/meson.build | 5 |
2 files changed, 14 insertions, 0 deletions
diff --git a/data/bash-completion/helpers/meson.build b/data/bash-completion/helpers/meson.build new file mode 100644 index 000000000..0a7ed7be6 --- /dev/null +++ b/data/bash-completion/helpers/meson.build @@ -0,0 +1,9 @@ +bash_helper_conf = configuration_data() +bash_helper_conf.set('GST_COMPLETION_HELPER_INSTALLED', + '@0@/@1@/gst-completion-helper'.format(prefix, helpers_install_dir)) +bash_helper_conf.set('GST_API_VERSION', apiversion) + +configure_file(input : 'gst.in', + output : 'gst', + install_dir : bash_helpers_dir, + configuration : bash_helper_conf) diff --git a/data/meson.build b/data/meson.build new file mode 100644 index 000000000..c9130e029 --- /dev/null +++ b/data/meson.build @@ -0,0 +1,5 @@ +if (bashcomp_found) + subdir('bash-completion/helpers') + install_data('bash-completion/completions/gst-launch-1.0', install_dir : bash_completions_dir) + install_data('bash-completion/completions/gst-inspect-1.0', install_dir : bash_completions_dir) +endif |