summaryrefslogtreecommitdiff
path: root/dbus-services/meson.build
blob: 29fe3924111eec41ef4529c6a27c6b440dbfdc0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
dep = dependency('dbus-1')

org_enlightenment_ethumb_service_config = configuration_data()

org_enlightenment_ethumb_service_config.set('prefix', dir_prefix)

systemd_dbus_prefix = '# '
if get_option('systemd') == true
  systemd_dbus_prefix = ''
endif
org_enlightenment_ethumb_service_config.set('systemd_dbus_prefix',
                                            systemd_dbus_prefix)

configure_file(
  input: 'org.enlightenment.Ethumb.service.in',
  output: 'org.enlightenment.Ethumb.service',
  configuration: org_enlightenment_ethumb_service_config,
  install_dir: dep.get_pkgconfig_variable('session_bus_services_dir'))