Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Timo Jyrinki
calls
Commits
f6f9e3f0
Commit
f6f9e3f0
authored
Nov 16, 2020
by
Evangelos Ribeiro Tzaras
Browse files
meson: allow internationalization of desktop files
parent
b2176be8
Changes
4
Hide whitespace changes
Inline
Side-by-side
data/meson.build
View file @
f6f9e3f0
...
...
@@ -2,11 +2,23 @@ datadir = get_option('datadir')
sysconfdir = get_option('sysconfdir')
# Desktop file
install_data('sm.puri.Calls.desktop',
install_dir : join_paths(datadir, 'applications'))
install_data('sm.puri.Calls-daemon.desktop',
rename : 'sm.puri.Calls.desktop',
install_dir : join_paths(sysconfdir, 'xdg/autostart'))
desktop_file = i18n.merge_file(
input : 'sm.puri.Calls.desktop.in',
output : 'sm.puri.Calls.desktop',
type : 'desktop',
po_dir : '../po',
install : true,
install_dir : join_paths(datadir, 'applications')
)
desktop_file = i18n.merge_file(
input : 'sm.puri.Calls-daemon.desktop.in',
output : 'sm.puri.Calls-daemon.desktop',
type : 'desktop',
po_dir : '../po',
install : true,
install_dir : join_paths(sysconfdir, 'xdg/autostart')
)
desktop_utils = find_program('desktop-file-validate', required: false)
if desktop_utils.found()
...
...
data/sm.puri.Calls-daemon.desktop
→
data/sm.puri.Calls-daemon.desktop
.in
View file @
f6f9e3f0
File moved
data/sm.puri.Calls.desktop
→
data/sm.puri.Calls.desktop
.in
View file @
f6f9e3f0
File moved
po/POTFILES.in
View file @
f6f9e3f0
data/sm.puri.Calls.desktop.in
data/sm.puri.Calls-daemon.desktop.in
src/calls-application.c
src/calls-best-match.c
src/calls-call.c
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment