Start working on a desktop file
This commit is contained in:
@ -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'
|
||||
)
|
||||
|
||||
9
data/sm.puri.Squeekboard.desktop.in
Normal file
9
data/sm.puri.Squeekboard.desktop.in
Normal file
@ -0,0 +1,9 @@
|
||||
[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')
|
||||
|
||||
9
po/meson.build
Normal file
9
po/meson.build
Normal file
@ -0,0 +1,9 @@
|
||||
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'
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user