File: meson.build

package info (click to toggle)
packagekit 1.3.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,824 kB
  • sloc: ansic: 56,491; cpp: 15,652; xml: 5,532; python: 4,932; sh: 316; perl: 60; makefile: 56
file content (34 lines) | stat: -rw-r--r-- 834 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
if get_option('gstreamer_plugin')
  subdir('gstreamer-plugin')
endif

if get_option('gtk_module')
  subdir('gtk-module')
endif

if get_option('bash_command_not_found')
  subdir('command-not-found')
endif

if get_option('bash_completion')
  bash_completion_dep = dependency('bash-completion', version: '>=2.0')
  install_data(
    'pkgcli',
    install_dir: bash_completion_dep.get_variable(
                    pkgconfig: 'completionsdir',
                    pkgconfig_define: ['prefix', get_option('prefix')])
  )

  if get_option('legacy_tools')
    install_data(
        'pkcon',
        install_dir: bash_completion_dep.get_variable(
                        pkgconfig: 'completionsdir',
                        pkgconfig_define: ['prefix', get_option('prefix')])
    )
  endif
endif

if get_option('cron')
  subdir('cron')
endif