2020-01-07 20:40:48 +03:00
|
|
|
install_data(
|
|
|
|
'gala.gschema.xml',
|
|
|
|
install_dir: join_paths(data_dir, 'glib-2.0', 'schemas'),
|
|
|
|
rename: 'org.pantheon.desktop.gala.gschema.xml'
|
2017-09-08 09:37:54 +03:00
|
|
|
)
|
|
|
|
|
2024-07-02 18:36:34 +03:00
|
|
|
install_data(
|
|
|
|
'io.elementary.desktop.wm.shell',
|
|
|
|
install_dir: get_option('sysconfdir') / 'xdg',
|
|
|
|
)
|
|
|
|
|
2019-12-10 20:59:24 +03:00
|
|
|
i18n.merge_file(
|
2023-06-21 21:50:30 +03:00
|
|
|
input: 'gala.metainfo.xml.in',
|
|
|
|
output: meson.project_name() + '.metainfo.xml',
|
|
|
|
po_dir: meson.global_source_root() / 'po',
|
2019-12-10 20:59:24 +03:00
|
|
|
type: 'xml',
|
|
|
|
install: true,
|
2023-06-21 21:50:30 +03:00
|
|
|
install_dir: get_option('datadir') / 'metainfo',
|
2019-12-10 20:59:24 +03:00
|
|
|
)
|
|
|
|
|
2017-09-08 09:37:54 +03:00
|
|
|
i18n.merge_file(
|
2020-07-20 23:06:57 +03:00
|
|
|
input: 'gala-multitaskingview.desktop.in',
|
|
|
|
output: 'gala-multitaskingview.desktop',
|
2023-02-21 22:05:43 +03:00
|
|
|
po_dir: join_paths(meson.global_source_root (), 'po'),
|
2020-07-20 23:06:57 +03:00
|
|
|
type: 'desktop',
|
|
|
|
install: true,
|
|
|
|
install_dir: join_paths(data_dir, 'applications')
|
2017-09-08 09:37:54 +03:00
|
|
|
)
|
2020-07-20 23:06:57 +03:00
|
|
|
|
2017-09-08 09:37:54 +03:00
|
|
|
i18n.merge_file(
|
2020-07-20 23:06:57 +03:00
|
|
|
input: 'gala-other.desktop.in',
|
|
|
|
output: 'gala-other.desktop',
|
2023-02-21 22:05:43 +03:00
|
|
|
po_dir: join_paths(meson.global_source_root (), 'po'),
|
2020-07-20 23:06:57 +03:00
|
|
|
type: 'desktop',
|
|
|
|
install: true,
|
|
|
|
install_dir: join_paths(data_dir, 'applications')
|
2017-09-08 09:37:54 +03:00
|
|
|
)
|
2020-02-27 19:42:26 +03:00
|
|
|
install_data(['gala.desktop', 'gala-wayland.desktop'], install_dir: join_paths(data_dir, 'applications'))
|
2019-11-13 23:55:15 +03:00
|
|
|
install_data(files('20_elementary.pantheon.wm.gschema.override'), install_dir: join_paths(data_dir, 'glib-2.0', 'schemas'))
|
2017-09-08 09:37:54 +03:00
|
|
|
|
2021-09-29 21:51:50 +03:00
|
|
|
if get_option('systemd')
|
|
|
|
dep_systemd = dependency('systemd', required: true)
|
2021-11-11 16:14:58 +03:00
|
|
|
systemd_userunitdir = get_option('systemduserunitdir')
|
|
|
|
if systemd_userunitdir == ''
|
2023-02-21 22:05:43 +03:00
|
|
|
systemd_userunitdir = dep_systemd.get_variable('systemduserunitdir', pkgconfig_define: ['prefix', get_option('prefix')])
|
2021-11-11 16:14:58 +03:00
|
|
|
endif
|
2021-09-29 21:51:50 +03:00
|
|
|
|
|
|
|
bindir = join_paths(get_option('prefix'), get_option('bindir'))
|
|
|
|
unit_conf = configuration_data()
|
|
|
|
unit_conf.set('bindir', bindir)
|
|
|
|
|
|
|
|
configure_file(
|
2023-06-18 19:11:44 +03:00
|
|
|
input: 'gala@x11.service.in',
|
|
|
|
output: 'io.elementary.gala@x11.service',
|
|
|
|
install: true,
|
|
|
|
install_dir: systemd_userunitdir,
|
|
|
|
configuration: unit_conf
|
|
|
|
)
|
|
|
|
|
|
|
|
configure_file(
|
|
|
|
input: 'gala@wayland.service.in',
|
|
|
|
output: 'io.elementary.gala@wayland.service',
|
2021-09-29 21:51:50 +03:00
|
|
|
install: true,
|
|
|
|
install_dir: systemd_userunitdir,
|
|
|
|
configuration: unit_conf
|
|
|
|
)
|
|
|
|
|
|
|
|
install_data(
|
2023-06-18 19:11:44 +03:00
|
|
|
'gala.target',
|
|
|
|
rename: 'io.elementary.gala.target',
|
2021-09-29 21:51:50 +03:00
|
|
|
install_dir: systemd_userunitdir
|
|
|
|
)
|
|
|
|
endif
|