Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
virtboard
Commits
8bef318e
Commit
8bef318e
authored
Sep 11, 2018
by
Dorota Czaplejewicz
Browse files
Add desktop file
parent
4c4a38b7
Pipeline
#1015
passed with stage
in 1 minute and 49 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
data/meson.build
0 → 100644
View file @
8bef318e
desktopconf = configuration_data()
desktopconf.set('bindir', bindir)
desktop_files = [
'sm.puri.Virtboard.desktop',
]
foreach desktop_file : desktop_files
i18n.merge_file('desktop',
input: configure_file(
input: desktop_file + '.in.in',
output: desktop_file + '.in',
configuration: desktopconf
),
output: desktop_file,
po_dir: '../po',
install: true,
install_dir: desktopdir,
type: 'desktop'
)
endforeach
data/sm.puri.Virtboard.desktop.in.in
0 → 100644
View file @
8bef318e
[Desktop Entry]
Type=Application
Name=Virtual keyboard
Comment=Basic virtual keyboard
Exec=@bindir@/virtboard
Categories=GNOME;Core;
OnlyShowIn=GNOME;
NoDisplay=true
X-GNOME-Autostart-Phase=Panel
X-GNOME-Provides=inputmethod
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=true
meson.build
View file @
8bef318e
...
...
@@ -87,3 +87,11 @@ add_global_arguments('-DDATADIR=""', language : 'c')
executable(
'virtboard', sources, dependencies: [png, math, pixman, wayland_cursor, wayland_client, wayland_protos, xkbcommon, cairo], install: true,
)
prefix = get_option('prefix')
bindir = join_paths(prefix, get_option('bindir'))
datadir = join_paths(prefix, get_option('datadir'))
desktopdir = join_paths(datadir, 'applications')
i18n = import('i18n')
subdir('data')
Write
Preview
Supports
Markdown
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