From 7edb37eb5a0532fc8627e6d29995a79856959532 Mon Sep 17 00:00:00 2001 From: Ryo Nakano Date: Sat, 5 Oct 2024 19:42:09 +0900 Subject: [PATCH] Use variable for future edit --- session/meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/session/meson.build b/session/meson.build index c9f6e7c43..0c9e5b5e5 100644 --- a/session/meson.build +++ b/session/meson.build @@ -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, @@ -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@', ],