fractal/fractal-gtk/res/icons/meson.build

20 lines
594 B
Meson
Raw Normal View History

icon_sizes = ['16x16', '22x22', '24x24', '32x32', '48x48', '512x512']
foreach icon_size: icon_sizes
hicolor_dir = join_paths('hicolor', icon_size, 'apps')
install_data(
join_paths(hicolor_dir, 'org.gnome.Fractal.png'),
install_dir: join_paths(datadir, 'icons', hicolor_dir),
rename: '@0@.png'.format(application_id)
)
endforeach
hicolor_dir = join_paths('hicolor', 'scalable', 'apps')
install_data(
join_paths(hicolor_dir, 'org.gnome.Fractal-symbolic.svg'),
install_dir: join_paths(datadir, 'icons', hicolor_dir),
rename: '@0@-symbolic.svg'.format(application_id)
)