2020-03-29 14:08:15 +00:00
|
|
|
application_id = 'io.github.mightycreak.Diffuse'
|
|
|
|
|
|
|
|
scalable_dir = join_paths('hicolor', 'scalable', 'apps')
|
|
|
|
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', 'apps')
|
|
|
|
install_data(
|
|
|
|
join_paths(symbolic_dir, ('@0@-symbolic.svg').format(application_id)),
|
|
|
|
install_dir: join_paths(get_option('datadir'), 'icons', symbolic_dir)
|
|
|
|
)
|
2022-09-02 12:27:42 +00:00
|
|
|
|
|
|
|
if build_machine.system() == 'darwin'
|
|
|
|
install_data('diffuse.icns', install_dir: '/Applications/Diffuse.app/Contents/Resources')
|
|
|
|
endif
|