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 (28 lines) | stat: -rw-r--r-- 893 bytes parent folder | download | duplicates (3)
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
executable(
  'pk-command-not-found',
  'pk-command-not-found.c',
  dependencies: packagekit_glib2_dep,
  install: true,
  install_dir: get_option('libexecdir'),
  c_args: [
    '-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
    '-DG_LOG_DOMAIN="PackageKit"',
    '-DPACKAGE_LOCALE_DIR="@0@"'.format(join_paths(get_option('prefix'), get_option('localedir'))),
    '-DSYSCONFDIR="@0@"'.format(get_option('sysconfdir')),
  ]
)

bashprofile_config_data = configuration_data()
bashprofile_config_data.set('LIBEXECDIR', join_paths(get_option('prefix'), get_option('libexecdir')))
configure_file(
  input: 'PackageKit.sh.in',
  output: 'PackageKit.sh',
  configuration: bashprofile_config_data,
  install: true,
  install_dir: join_paths(get_option('sysconfdir'), 'profile.d'),
)

install_data(
  'CommandNotFound.conf',
  install_dir: join_paths(get_option('sysconfdir'), 'PackageKit'),
)