forked from enlightenment/terminology
terminology.desktop: set full path of icon
This commit is contained in:
parent
35391f4c5e
commit
631aeeda97
|
@ -1,2 +1,12 @@
|
|||
install_data('terminology.desktop',
|
||||
install_dir: join_paths(get_option('datadir'), 'applications'))
|
||||
icon_sed = 's~%ICON_PATH%~@0@~'.format(join_paths(get_option('prefix'),
|
||||
get_option('datadir'),
|
||||
'icons/hicolor/128x128/apps'))
|
||||
|
||||
custom_target(
|
||||
'terminology.desktop',
|
||||
input : 'terminology.desktop.in',
|
||||
output: 'terminology.desktop',
|
||||
command : [sed, icon_sed, '@INPUT@'],
|
||||
capture : true,
|
||||
install : true,
|
||||
install_dir : join_paths(get_option('datadir'), 'applications'))
|
||||
|
|
|
@ -19,6 +19,6 @@ Comment[ru]=Эмулятор терминала
|
|||
Comment[ko]=터미널 에뮬레이터
|
||||
Keywords=shell;prompt;command;commandline;
|
||||
Exec=terminology
|
||||
Icon=terminology
|
||||
Icon=%ICON_PATH%/terminology.png
|
||||
Categories=System;TerminalEmulator;
|
||||
StartupWMClass=terminology
|
|
@ -127,6 +127,8 @@ endif
|
|||
|
||||
message('edje_cc set to:' + edje_cc)
|
||||
|
||||
sed = find_program('sed')
|
||||
|
||||
configure_file(output: 'terminology_config.h',
|
||||
configuration: config_data)
|
||||
|
||||
|
|
Loading…
Reference in New Issue