fractal/fractal-gtk/res/icons/meson.build
Alexander Mikhaylenko 63943648cd build: Allow parallel installation
Use 'org.gnome.FractalDevel' appid for development versions. This is
specified at build time by passing '-Dprofile=development' option to Meson.
2018-08-24 13:54:47 +05:00

19 lines
594 B
Meson

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)
)