18 lines
615 B
Meson
18 lines
615 B
Meson
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)
|
|
)
|
|
|
|
if build_machine.system() == 'darwin'
|
|
install_data('diffuse.icns', install_dir: '/Applications/Diffuse.app/Contents/Resources')
|
|
endif
|