2020-05-29 14:19:35 +02:00
|
|
|
icons_dir = join_paths(get_option('datadir'), 'icons', 'hicolor')
|
|
|
|
scalable_dir = join_paths(icons_dir, 'scalable', 'apps')
|
|
|
|
symbolic_dir = join_paths(icons_dir, 'symbolic', 'apps')
|
2018-04-14 14:09:06 +02:00
|
|
|
|
2020-05-29 14:19:35 +02:00
|
|
|
install_data(
|
2021-02-02 16:56:47 +01:00
|
|
|
join_paths('icons', 'color.svg'),
|
2020-05-29 14:19:35 +02:00
|
|
|
install_dir: scalable_dir,
|
|
|
|
rename: meson.project_name() + '.svg'
|
|
|
|
)
|
|
|
|
install_data(
|
|
|
|
join_paths('icons', 'symbolic.svg'),
|
|
|
|
install_dir: symbolic_dir,
|
|
|
|
rename: meson.project_name() + '-symbolic.svg'
|
|
|
|
)
|
2018-04-14 14:09:06 +02:00
|
|
|
|
|
|
|
install_data(
|
|
|
|
meson.project_name() + '.gschema.xml',
|
|
|
|
install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'glib-2.0', 'schemas')
|
|
|
|
)
|
|
|
|
|
|
|
|
i18n.merge_file(
|
|
|
|
input: meson.project_name() + '.desktop.in',
|
|
|
|
output: meson.project_name() + '.desktop',
|
|
|
|
po_dir: join_paths(meson.source_root(), 'po'),
|
|
|
|
type: 'desktop',
|
|
|
|
install: true,
|
|
|
|
install_dir: join_paths(get_option('datadir'), 'applications')
|
|
|
|
)
|
|
|
|
|
|
|
|
i18n.merge_file(
|
|
|
|
input: meson.project_name() + '.appdata.xml.in',
|
|
|
|
output: meson.project_name() + '.appdata.xml',
|
|
|
|
po_dir: join_paths(meson.source_root(), 'po'),
|
|
|
|
install: true,
|
|
|
|
install_dir: join_paths(get_option('datadir'), 'metainfo')
|
|
|
|
)
|
2020-09-10 19:10:24 +02:00
|
|
|
|