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
This commit is contained in:
parent
21dc10e36a
commit
461fe38af4
1 changed files with 2 additions and 2 deletions
|
@ -44,13 +44,13 @@ if get_option('profile') == 'development'
|
||||||
else
|
else
|
||||||
version_suffix = '-@0@'.format(vcs_tag)
|
version_suffix = '-@0@'.format(vcs_tag)
|
||||||
endif
|
endif
|
||||||
|
application_id = '@0@.@1@'.format(base_id, profile)
|
||||||
else
|
else
|
||||||
profile = ''
|
profile = ''
|
||||||
version_suffix = ''
|
version_suffix = ''
|
||||||
|
application_id = base_id
|
||||||
endif
|
endif
|
||||||
|
|
||||||
application_id = '@0@.@1@'.format(base_id, profile)
|
|
||||||
|
|
||||||
meson.add_dist_script(
|
meson.add_dist_script(
|
||||||
'build-aux/dist-vendor.sh',
|
'build-aux/dist-vendor.sh',
|
||||||
meson.build_root() / 'meson-dist' / meson.project_name() + '-' + version,
|
meson.build_root() / 'meson-dist' / meson.project_name() + '-' + version,
|
||||||
|
|
Loading…
Reference in a new issue