[meld/flatpak-ci: 26/31] Update application ID to be profile-based



commit 5a67a9cc45a962e679a32b91852da3b005893028
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Nov 17 06:24:32 2019 +1000

    Update application ID to be profile-based
    
    Note that this commit also changes the base application ID from
    `org.gnome.meld` to `org.gnome.Meld`, to match the wider convention.

 meson.build | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 4d9ad399..556b6b9a 100644
--- a/meson.build
+++ b/meson.build
@@ -4,8 +4,6 @@ project(
     meson_version: '>=0.47.0',
 )
 
-application_id = 'org.gnome.meld'
-
 python = import('python')
 i18n = import('i18n')
 gnome = import('gnome')
@@ -19,6 +17,18 @@ dependency('gtk+-3.0', version: '>= 3.20')
 dependency('glib-2.0', version: '>= 2.48')
 dependency('gtksourceview-4', version: '>= 4.0.0')
 
+
+if get_option('profile') == 'Devel'
+    name_suffix = ' (Development Snapshot)'
+    profile = 'Devel'
+else
+    name_suffix = ''
+    profile = ''
+endif
+
+resource_base_id = 'org.gnome.meld'
+application_id = 'org.gnome.Meld@0@'.format(profile)
+
 prefix = get_option('prefix')
 
 bindir = join_paths(prefix, get_option('bindir'))


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