sm.puri.Squeekboard.desktop: make path to Exec= absolute

This uses the same logic from Phosh to render absolute paths in .desktop
files.
This commit is contained in:
Florian Klink
2020-05-26 11:27:21 +02:00
parent fe22fc2271
commit c1737c763f
3 changed files with 11 additions and 3 deletions

View File

@ -42,6 +42,7 @@ endif
prefix = get_option('prefix')
bindir = join_paths(prefix, get_option('bindir'))
datadir = join_paths(prefix, get_option('datadir'))
desktopdir = join_paths(datadir, 'applications')
pkgdatadir = join_paths(datadir, meson.project_name())
if get_option('depdatadir') == ''
depdatadir = datadir