File: meson.build

package info (click to toggle)
phosh 0.51.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 9,620 kB
  • sloc: ansic: 81,727; xml: 3,903; python: 502; sh: 456; makefile: 34; lisp: 22; javascript: 6
file content (34 lines) | stat: -rw-r--r-- 902 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
29
30
31
32
33
34
gsd_wants = ''
foreach component : gsd_required_components
  gsd_wants += 'Wants=' + component + '.target\n'
endforeach

session_dropins = ['gnome-session@phosh.target.d']

sessionconf = configuration_data()
sessionconf.set('gsd_wants', gsd_wants)
sessionconf.set('app_id', app_id)

foreach session_dropin : session_dropins
  configure_file(
    input: 'phosh.session.conf.in',
    output: 'session.conf',
    install_dir: join_paths(systemduserdir, session_dropin),
    configuration: sessionconf,
    install: true,
  )
endforeach

serviceconf = configuration_data()
serviceconf.set('libexecdir', libexecdir)
configure_file(
  input: 'mobi.phosh.Shell.service.in',
  output: 'mobi.phosh.Shell.service',
  install_dir: systemduserdir,
  configuration: serviceconf,
  install: true,
)

foreach type : ['Shell', 'OSK']
  install_data(f'mobi.phosh.@type@.target', install_dir: systemduserdir)
endforeach