webpin/data/meson.build

42 lines
1.5 KiB
Meson
Raw Normal View History

icon_sizes = ['32', '48', '64']
2018-10-11 20:56:34 +01:00
foreach i : icon_sizes
install_data(
join_paths('icons/', i, meson.project_name() + '.svg'),
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', i + 'x' + i, 'apps')
)
2019-04-18 10:39:55 +01:00
install_data(
join_paths('icons/', i, meson.project_name() + '.svg'),
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', i + 'x' + i + '@2', 'apps')
)
2018-10-11 20:56:34 +01:00
install_data(
join_paths('icons/', i, meson.project_name() + '.svg'),
install_dir: join_paths(get_option('datadir'), 'icons/hicolor', i + 'x' + i, 'mimetypes')
)
2019-04-18 10:39:55 +01:00
install_data(
join_paths('icons/', i, meson.project_name() + '.svg'),
install_dir: join_paths(get_option('datadir'), 'icons/hicolor', i + 'x' + i + '@2', 'mimetypes')
)
2018-10-11 20:56:34 +01:00
endforeach
install_data(
join_paths('icons', '64', meson.project_name() + '.svg'),
2018-10-11 20:56:34 +01:00
install_dir: join_paths(get_option('datadir'), 'icons/hicolor/scalable/apps')
)
2019-04-18 10:39:55 +01:00
i18n.merge_file(
input: meson.project_name() + '.desktop.in',
output: meson.project_name() + '.desktop',
po_dir: join_paths(meson.source_root(), 'po', 'extra'),
type: 'desktop',
install: true,
2018-10-11 20:56:34 +01:00
install_dir: join_paths(get_option('datadir'), 'applications')
)
2019-04-18 10:39:55 +01:00
i18n.merge_file(
input: meson.project_name() + '.appdata.xml.in',
output: meson.project_name() + '.appdata.xml',
po_dir: join_paths(meson.source_root(), 'po', 'extra'),
install: true,
2018-10-11 20:56:34 +01:00
install_dir: join_paths(get_option('datadir'), 'metainfo')
)