]> git.pld-linux.org Git - packages/dconf.git/blame - dconf-bash-completion.patch
- added bash-completion patch (use explicit bash_compdir patch, don't buildrequire...
[packages/dconf.git] / dconf-bash-completion.patch
CommitLineData
517c8d5d
JB
1--- dconf-0.30.1/meson_options.txt.orig 2018-10-22 23:53:04.000000000 +0200
2+++ dconf-0.30.1/meson_options.txt 2018-10-30 20:32:08.195263612 +0100
3@@ -1,3 +1,4 @@
4 option('bash_completion', type: 'boolean', value: true, description: 'install bash completion files')
5+option('bash_completion_dir', type: 'string', value: '')
6 option('man', type: 'boolean', value: true, description: 'generate man pages')
7 option('gtk_doc', type: 'boolean', value: false, description: 'use gtk-doc to build documentation')
8--- dconf-0.30.1/meson.build.orig 2018-10-22 23:53:04.000000000 +0200
9+++ dconf-0.30.1/meson.build 2018-10-30 21:08:19.195238826 +0100
10@@ -52,8 +52,12 @@
11
12 enable_bash_completion = get_option('bash_completion')
13 if enable_bash_completion
14+ if get_option('bash_completion_dir') != ''
15+ completions_dir = get_option('bash_completion_dir')
16+ else
17 # FIXME: the `.pc` file is wrong because `completionsdir` should be relative to `datadir`, not `prefix`
18 completions_dir = dependency('bash-completion').get_pkgconfig_variable('completionsdir', define_variable: ['prefix', dconf_prefix])
19+ endif
20 endif
21
22 configure_file(
This page took 0.182377 seconds and 4 git commands to generate.