Browse Source

meson - ethumb - fix build and install of service files for ethumb

devs/jaehyun/efl_ui_theme
Carsten Haitzler 4 years ago
parent
commit
6eb608b9cc
  1. 18
      dbus-services/meson.build
  2. 3
      meson.build
  3. 13
      systemd-services/meson.build

18
dbus-services/meson.build

@ -0,0 +1,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'))

3
meson.build

@ -384,3 +384,6 @@ configure_file(
configuration: config_h,
install_dir : join_paths(dir_include,'elementary-'+version_major)
)
subdir(join_paths('systemd-services'))
subdir(join_paths('dbus-services'))

13
systemd-services/meson.build

@ -0,0 +1,13 @@
if get_option('systemd') == true
dep = dependency('systemd')
ethumb_service_config = configuration_data()
ethumb_service_config.set('prefix', dir_prefix)
configure_file(
input: 'ethumb.service.in',
output: 'ethumb.service',
configuration: ethumb_service_config,
install_dir: dep.get_pkgconfig_variable('systemduserunitdir'))
endif
Loading…
Cancel
Save