|
|
|
@ -51,6 +51,27 @@ if images_on_lists
|
|
|
|
|
cArgs += ['-DLIST_IMAGES']
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
# Install our icons in all the required sizes
|
|
|
|
|
icon_sizes = ['16', '24', '32', '48', '64', '128']
|
|
|
|
|
|
|
|
|
|
foreach i : icon_sizes
|
|
|
|
|
install_data(
|
|
|
|
|
'openmg.svg',
|
|
|
|
|
install_dir: get_option('datadir') / 'icons' / 'hicolor' / i + 'x' + i / 'apps',
|
|
|
|
|
rename: meson.project_name() + '.svg'
|
|
|
|
|
)
|
|
|
|
|
install_data(
|
|
|
|
|
'openmg.svg',
|
|
|
|
|
install_dir: get_option('datadir') / 'icons' / 'hicolor' / i + 'x' + i + '@2' / 'apps',
|
|
|
|
|
rename: meson.project_name() + '.svg'
|
|
|
|
|
)
|
|
|
|
|
endforeach
|
|
|
|
|
|
|
|
|
|
install_data(
|
|
|
|
|
'me.sergiotarxz.openmg.desktop',
|
|
|
|
|
install_dir: get_option('datadir') / 'applications',
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
executable('openmg',
|
|
|
|
|
sources,
|
|
|
|
|
dependencies : openmgdeps,
|
|
|
|
|