summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-11-18 19:00:08 +0100
committerBoris Faure <billiob@gmail.com>2019-11-20 23:08:50 +0100
commit631aeeda970e9fa82074c13c74d991975ba5c4e3 (patch)
tree65f00119bd5fbf3da639daa76a31bed06d05cdde
parent35391f4c5e1cbf6c33ae49122f3284b375d80682 (diff)
terminology.desktop: set full path of icon
-rw-r--r--data/desktop/meson.build14
-rw-r--r--data/desktop/terminology.desktop.in (renamed from data/desktop/terminology.desktop)2
-rw-r--r--meson.build2
3 files changed, 15 insertions, 3 deletions
diff --git a/data/desktop/meson.build b/data/desktop/meson.build
index 1eb4019..8c16dbe 100644
--- a/data/desktop/meson.build
+++ b/data/desktop/meson.build
@@ -1,2 +1,12 @@
1install_data('terminology.desktop', 1icon_sed = 's~%ICON_PATH%~@0@~'.format(join_paths(get_option('prefix'),
2 install_dir: join_paths(get_option('datadir'), 'applications')) 2 get_option('datadir'),
3 'icons/hicolor/128x128/apps'))
4
5custom_target(
6 'terminology.desktop',
7 input : 'terminology.desktop.in',
8 output: 'terminology.desktop',
9 command : [sed, icon_sed, '@INPUT@'],
10 capture : true,
11 install : true,
12 install_dir : join_paths(get_option('datadir'), 'applications'))
diff --git a/data/desktop/terminology.desktop b/data/desktop/terminology.desktop.in
index 020891d..6d57027 100644
--- a/data/desktop/terminology.desktop
+++ b/data/desktop/terminology.desktop.in
@@ -19,6 +19,6 @@ Comment[ru]=Эмулятор терминала
19Comment[ko]=터미널 에뮬레이터 19Comment[ko]=터미널 에뮬레이터
20Keywords=shell;prompt;command;commandline; 20Keywords=shell;prompt;command;commandline;
21Exec=terminology 21Exec=terminology
22Icon=terminology 22Icon=%ICON_PATH%/terminology.png
23Categories=System;TerminalEmulator; 23Categories=System;TerminalEmulator;
24StartupWMClass=terminology 24StartupWMClass=terminology
diff --git a/meson.build b/meson.build
index b081ddc..baaf6e3 100644
--- a/meson.build
+++ b/meson.build
@@ -127,6 +127,8 @@ endif
127 127
128message('edje_cc set to:' + edje_cc) 128message('edje_cc set to:' + edje_cc)
129 129
130sed = find_program('sed')
131
130configure_file(output: 'terminology_config.h', 132configure_file(output: 'terminology_config.h',
131 configuration: config_data) 133 configuration: config_data)
132 134