[fractal/fractal-next] build:Do not add an unwanted dot to application id



commit 461fe38af4210b225f3ad1e5749f3357524d0990
Author: Rachit Keerti Das <rachitkdas gmail com>
Date:   Thu Feb 25 13:37:23 2021 +0530

    build:Do not add an unwanted dot to application id
    
    The current meson.build file adds an extra dot to the app id, especially
    when building the default profile.
    
    Fix this by using only the base app id when building the default profile.
    
    Fix backported from https://gitlab.gnome.org/bilelmoussaoui/gtk-rust-template/-/merge_requests/20

 meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 35b1cd27..b608324d 100644
--- a/meson.build
+++ b/meson.build
@@ -44,13 +44,13 @@ if get_option('profile') == 'development'
   else
     version_suffix = '-@0@'.format(vcs_tag)
   endif
+  application_id = '@0@.@1@'.format(base_id, profile)
 else
   profile = ''
   version_suffix = ''
+  application_id = base_id
 endif
 
-application_id = '@0@.@1@'.format(base_id, profile)
-
 meson.add_dist_script(
   'build-aux/dist-vendor.sh',
   meson.build_root() / 'meson-dist' / meson.project_name() + '-' + version,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]