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
|
|
|
)
|
|
|
|
|
2020-02-27 19:42:26 +03:00
|
|
|
install_data(
|
|
|
|
'gala-daemon.desktop',
|
|
|
|
install_dir: join_paths(get_option('sysconfdir'), 'xdg', 'autostart')
|
|
|
|
)
|
|
|
|
|
2019-12-10 20:59:24 +03:00
|
|
|
i18n.merge_file(
|
|
|
|
input: 'gala.appdata.xml.in',
|
|
|
|
output: meson.project_name() + '.appdata.xml',
|
|
|
|
po_dir: join_paths(meson.source_root(), 'po'),
|
|
|
|
type: 'xml',
|
|
|
|
install: true,
|
|
|
|
install_dir: join_paths(get_option('datadir'), 'metainfo'),
|
|
|
|
)
|
|
|
|
|
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',
|
|
|
|
po_dir: join_paths(meson.source_root (), 'po'),
|
|
|
|
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',
|
|
|
|
po_dir: join_paths(meson.source_root (), 'po'),
|
|
|
|
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
|
|
|
|
|
|
|
icons_dir = join_paths(get_option('datadir'), 'icons', 'hicolor')
|
|
|
|
install_data('icons/32x32/multitasking-view.svg', install_dir: join_paths(icons_dir, '32x32', 'apps'))
|
|
|
|
install_data('icons/48x48/multitasking-view.svg', install_dir: join_paths(icons_dir, '48x48', 'apps'))
|
|
|
|
install_data('icons/64x64/multitasking-view.svg', install_dir: join_paths(icons_dir, '64x64', 'apps'))
|
2021-09-29 21:51:50 +03:00
|
|
|
|
|
|
|
if get_option('systemd')
|
|
|
|
dep_systemd = dependency('systemd', required: true)
|
|
|
|
systemd_userunitdir = dep_systemd.get_pkgconfig_variable('systemduserunitdir')
|
|
|
|
|
|
|
|
bindir = join_paths(get_option('prefix'), get_option('bindir'))
|
|
|
|
unit_conf = configuration_data()
|
|
|
|
unit_conf.set('bindir', bindir)
|
|
|
|
|
|
|
|
configure_file(
|
|
|
|
input: 'gala-x11.service.in',
|
|
|
|
output: 'gala-x11.service',
|
|
|
|
install: true,
|
|
|
|
install_dir: systemd_userunitdir,
|
|
|
|
configuration: unit_conf
|
|
|
|
)
|
|
|
|
|
|
|
|
install_data(
|
|
|
|
'gala-x11.target',
|
|
|
|
install_dir: systemd_userunitdir
|
|
|
|
)
|
|
|
|
endif
|