webpin/data/meson.build
2018-10-11 21:56:34 +02:00

30 lines
865 B
Meson

icon_sizes = ['32', '48', '64']
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')
)
endforeach
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, 'mimetypes')
)
endforeach
install_data(
'icons/64/' + meson.project_name() + '.svg',
install_dir: join_paths(get_option('datadir'), 'icons/hicolor/scalable/apps')
)
install_data(
meson.project_name() + '.desktop',
install_dir: join_paths(get_option('datadir'), 'applications')
)
install_data(
meson.project_name() + '.appdata.xml',
install_dir: join_paths(get_option('datadir'), 'metainfo')
)