| 1 |
if get_option('gstreamer_plugin') |
| 2 |
subdir('gstreamer-plugin') |
| 3 |
endif |
| 4 |
|
| 5 |
if get_option('gtk_module') |
| 6 |
subdir('gtk-module') |
| 7 |
endif |
| 8 |
|
| 9 |
if get_option('bash_command_not_found') |
| 10 |
subdir('command-not-found') |
| 11 |
endif |
| 12 |
|
| 13 |
if get_option('bash_completion') |
| 14 |
bash_completion_dep = dependency('bash-completion', version: '>=2.0') |
| 15 |
install_data( |
| 16 |
'pkgcli', |
| 17 |
install_dir: bash_completion_dep.get_variable( |
| 18 |
pkgconfig: 'completionsdir', |
| 19 |
pkgconfig_define: ['prefix', get_option('prefix')]) |
| 20 |
) |
| 21 |
|
| 22 |
if get_option('legacy_tools') |
| 23 |
install_data( |
| 24 |
'pkcon', |
| 25 |
install_dir: bash_completion_dep.get_variable( |
| 26 |
pkgconfig: 'completionsdir', |
| 27 |
pkgconfig_define: ['prefix', get_option('prefix')]) |
| 28 |
) |
| 29 |
endif |
| 30 |
endif |
| 31 |
|
| 32 |
if get_option('cron') |
| 33 |
subdir('cron') |
| 34 |
endif |