webpin/data/meson.build

30 lines
865 B
Meson
Raw Permalink Normal View History

2018-10-11 20:56:34 +01:00
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')
)