gala/data/meson.build
Daniel Foré a016adf68c Add AppData (#654)
* Add AppData

* fix amp and downgrade version number

* Update gala.appdata.xml.in
2019-12-10 10:59:24 -07:00

43 lines
1.6 KiB
Meson

gala_gschema = configure_file(
input: 'org.pantheon.desktop.gala.gschema.xml.in',
output: 'org.pantheon.desktop.gala.gschema.xml',
configuration: customconf,
install: true,
install_dir: join_paths(data_dir, 'glib-2.0', 'schemas')
)
gala_gschema_compile = gnome.compile_schemas()
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'),
)
i18n.merge_file(
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')
)
i18n.merge_file(
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')
)
install_data(['gala.desktop', 'gala-daemon.desktop', 'gala-wayland.desktop'], install_dir: join_paths(data_dir, 'applications'))
install_data(files('20_elementary.pantheon.wm.gschema.override'), install_dir: join_paths(data_dir, 'glib-2.0', 'schemas'))
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'))