From 9766cd1858e380ca3ed5b68e0a5f911d5bb2f801 Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@gnome.org>
Date: Fri, 6 Dec 2019 14:06:41 -0600
Subject: [PATCH] Fix app ID outside devel profile
We accidentally have a trailing period here except when the Devel
profile is selected, which is not a valid app ID.
---
meson.build | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index ecf1dc96..3adc3af4 100644
--- a/meson.build
+++ b/meson.build
@@ -46,7 +46,11 @@ else
rev = ''
endif
-application_id = 'org.gnome.Calendar.@0@'.format(profile)
+if profile == ''
+ application_id = 'org.gnome.Calendar'
+else
+ application_id = 'org.gnome.Calendar.@0@'.format(profile)
+endif
calendar_buildtype = get_option('buildtype')
calendar_debug = calendar_minor_version.is_odd() or calendar_buildtype.contains('debug')
enable_tracing = get_option('tracing')
--
2.24.1