File: meson.build

package info (click to toggle)
cpupower-gui 0.7.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 368 kB
  • sloc: python: 213; xml: 11; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 822 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
pkglibdir = join_paths(get_option('prefix'), get_option('libdir'),
                       meson.project_name())

dbus_dir = join_paths(get_option('datadir'), 'dbus-1')

service_conf = configuration_data() 
service_conf.set('pkglibdir', pkglibdir)

systemd_service  = configure_file(
  input: 'cpupower-gui-helper.service.in',
  output: 'cpupower-gui-helper.service',
  configuration: service_conf,
  install: true,
  install_dir: join_paths('/lib', 'systemd', 'system')
)

dbus_service  = configure_file(
  input: 'org.rnd2.cpupower_gui.helper.service.in',
  output: 'org.rnd2.cpupower_gui.helper.service',
  configuration: service_conf,
  install: true,
  install_dir: join_paths(dbus_dir, 'system-services')
)

install_data(
    'org.rnd2.cpupower_gui.helper.conf', 
    install_dir : join_paths(dbus_dir, 'system.d')
)