improve icons meson file

main
mirkobrombin 2 years ago
parent 7348b440cb
commit a05fc9c336

@ -1,28 +1,32 @@
application_id = 'io.github.vanilla-os.FirstSetup'
scalable_dir = join_paths('hicolor', 'scalable', 'apps')
symbolic_dir = join_paths('hicolor', 'symbolic')
actions_dir = join_paths(symbolic_dir, 'actions')
install_data(
join_paths(scalable_dir, ('@0@.svg').format(application_id)),
install_dir: join_paths(get_option('datadir'), 'icons', scalable_dir)
)
symbolic_dir = join_paths('hicolor', 'symbolic')
install_data(
join_paths(symbolic_dir, 'apps', ('@0@-symbolic.svg').format(application_id)),
install_dir: join_paths(get_option('datadir'), 'icons', symbolic_dir)
)
install_data(
join_paths(symbolic_dir, 'actions', 'vanilla-container-terminal-symbolic.svg'),
join_paths(actions_dir, 'vanilla-container-terminal-symbolic.svg'),
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'actions')
)
install_data(
join_paths(symbolic_dir, 'actions', 'vanilla-package-symbolic.svg'),
join_paths(actions_dir, 'vanilla-package-symbolic.svg'),
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'actions')
)
install_data(
join_paths(symbolic_dir, 'actions', 'vanilla-puzzle-piece-symbolic.svg'),
join_paths(actions_dir, 'vanilla-puzzle-piece-symbolic.svg'),
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'actions')
)

Loading…
Cancel
Save