forked from sergiotarxz/mangareader
Adding desktop icon.
This commit is contained in:
parent
8f9be2a656
commit
02048bf41d
@ -3,7 +3,7 @@ Name=OpenMG
|
|||||||
GenericName=Manga Reader
|
GenericName=Manga Reader
|
||||||
Comment=A manga reader
|
Comment=A manga reader
|
||||||
Comment[es]=A manga reader
|
Comment[es]=A manga reader
|
||||||
Exec=OPENMGEXEC
|
Exec=openmg
|
||||||
Icon=openmg
|
Icon=openmg
|
||||||
Type=Application
|
Type=Application
|
||||||
Terminal=false
|
Terminal=false
|
21
meson.build
21
meson.build
@ -51,6 +51,27 @@ if images_on_lists
|
|||||||
cArgs += ['-DLIST_IMAGES']
|
cArgs += ['-DLIST_IMAGES']
|
||||||
endif
|
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',
|
executable('openmg',
|
||||||
sources,
|
sources,
|
||||||
dependencies : openmgdeps,
|
dependencies : openmgdeps,
|
||||||
|
Loading…
Reference in New Issue
Block a user