Skip to content

Commit

Permalink
GSD autostarts: Changes suggestion (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryonakano authored and danirabbit committed Oct 8, 2024
1 parent 893fea6 commit 66b38ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
env:
DESTDIR: out
run: |
meson setup build
meson setup build --prefix=/usr
ninja -C build install
ninja -C build test
Expand Down
5 changes: 3 additions & 2 deletions session/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,12 @@ install_data(
install_dir: schemadir
)

vendor_prefix = 'pantheon'
foreach component : gsd_components
original_filename = component + '.desktop'
original_autostart_file = autostartdir / original_filename

patched_filename = 'installer-' + component + '.desktop'
patched_filename = vendor_prefix + '-' + component + '.desktop'

custom_target('create-gsd-autostart' + patched_filename,
input: original_autostart_file,
Expand All @@ -65,7 +66,7 @@ foreach component : gsd_components
desktop_file_install,
'--set-key=OnlyShowIn',
'--set-value=X-Installer',
'--vendor=pantheon',
'--vendor=' + vendor_prefix,
'--dir=@OUTDIR@',
'@INPUT@',
],
Expand Down

0 comments on commit 66b38ee

Please sign in to comment.