Commit 346ed453 authored by David Boddie's avatar David Boddie

Start working on a desktop file

parent 664f05ed
......@@ -56,3 +56,13 @@ foreach symbol: symbols
)
endforeach
desktop_file = 'sm.puri.Squeekboard.desktop'
i18n.merge_file('desktop',
input: desktop_file + '.in',
output: desktop_file,
po_dir: '../po',
install: true,
install_dir: join_paths(datadir, 'applications'),
type: 'desktop'
)
[Desktop Entry]
Name=Squeekboard
GenericName=Squeekboard Virtual Keyboard
Comment=Virtual Keyboard
Exec=squeekboard
Icon=squeekboard
Terminal=false
Type=Application
Categories=GTK;Utility;
......@@ -7,6 +7,8 @@ project(
default_options: [ 'warning_level=1', 'buildtype=debugoptimized', 'c_std=gnu11' ],
)
i18n = import('i18n')
if get_option('buildtype').startswith('debug')
add_project_arguments('-DDEBUG=1', language : 'c')
endif
......@@ -23,3 +25,4 @@ subdir('data')
subdir('protocols')
subdir('eek')
subdir('src')
subdir('po')
i18n.gettext('squeekboard',
preset: 'glib',
args: [
'--copyright-holder=Purism SPC',
'--package-name=Squeekboard',
'--package-version=' + meson.project_version(),
'--msgid-bugs-address=dorota.czaplejewicz@puri.sm'
]
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment