2017-09-13 09:00:56 -07:00
|
|
|
desktop_config = configuration_data()
|
|
|
|
desktop_config.set('prefix', dir_prefix)
|
2017-09-26 09:26:18 -07:00
|
|
|
desktop_config.set('VERSION', e_version_rev)
|
2017-09-13 09:00:56 -07:00
|
|
|
e_desktop = configure_file(input : 'enlightenment.desktop.in',
|
|
|
|
output : 'enlightenment.desktop',
|
|
|
|
configuration: desktop_config
|
|
|
|
)
|
|
|
|
|
2019-09-11 05:30:57 -07:00
|
|
|
if config_h.has('HAVE_WAYLAND') == true
|
2017-09-13 09:00:56 -07:00
|
|
|
install_data(e_desktop,
|
2019-09-11 05:30:57 -07:00
|
|
|
install_dir : join_paths(dir_data, 'wayland-sessions'))
|
2017-09-13 09:00:56 -07:00
|
|
|
endif
|
2017-09-13 09:00:56 -07:00
|
|
|
|
2019-09-11 05:30:57 -07:00
|
|
|
if config_h.has('HAVE_WAYLAND_ONLY') == false
|
2017-09-13 09:00:56 -07:00
|
|
|
install_data(e_desktop,
|
2019-09-11 05:30:57 -07:00
|
|
|
install_dir : join_paths(dir_data, 'xsessions'))
|
2017-09-13 09:00:56 -07:00
|
|
|
endif
|