Skip to content

Commit

Permalink
Use variable for future edit
Browse files Browse the repository at this point in the history
  • Loading branch information
ryonakano committed Oct 5, 2024
1 parent 5f580c2 commit 7edb37e
Showing 1 changed file with 3 additions and 2 deletions.
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 = 'pantheon-' + 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 7edb37e

Please sign in to comment.