File: meson.build

package info (click to toggle)
policykit-1 126-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,584 kB
  • sloc: ansic: 19,434; xml: 3,606; sh: 534; python: 111; javascript: 83; makefile: 48; exp: 37; perl: 11
file content (67 lines) | stat: -rw-r--r-- 1,387 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
service_conf = {
  'libprivdir': pk_prefix / pk_libprivdir,
  'polkitd_user': polkitd_user,
  'polkitd_uid': polkitd_uid,
}

configure_file(
  input: 'org.freedesktop.PolicyKit1.service.in',
  output: '@BASENAME@',
  configuration: service_conf,
  install: true,
  install_dir: dbus_system_bus_services_dir,
)

configure_file(
  input: 'org.freedesktop.PolicyKit1.conf.in',
  output: '@BASENAME@',
  configuration: {'polkitd_user': polkitd_user},
  install: true,
  install_dir: dbus_policydir,
)

if enable_pam
  if os_type == 'debian' and pam_include == ''
    install_data(
      'polkit-1.debian',
      rename: 'polkit-1',
      install_dir: pam_prefix
    )
  else
    configure_file(
      input: 'polkit-1.in',
      output: '@BASENAME@',
      configuration: pam_conf,
      install: true,
      install_dir: pam_prefix,
    )
  endif
endif

if not get_option('libs-only')
  configure_file(
    input: 'polkit.service.in',
    output: '@BASENAME@',
    configuration: service_conf,
    install: true,
    install_dir: systemdsystemunitdir,
  )

  configure_file(
    input: 'polkit.conf.in',
    output: '@BASENAME@',
    configuration: service_conf,
    install: true,
    install_dir: sysusers_dir,
  )

  install_data(
    'policyconfig-1.dtd',
    install_dir: pk_datadir / 'polkit-1'
  )

  install_data(
    'polkit-tmpfiles.conf',
    install_dir: tmpfiles_dir
  )
endif