From 171d95ba0b92c8806731547ffa08450d4554d162 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 25 Sep 2019 17:01:06 +0200 Subject: build: Add support for building Nightly version This includes renaming a few files that mentioned org.gnome.Totem directly as we want the new nightly build to be parallel installable with a stable version, as org.gnome.Totem.Devel. Closes: #359 --- meson.build | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 0685d55e0..bd4e87d72 100644 --- a/meson.build +++ b/meson.build @@ -41,6 +41,16 @@ totem_debug = get_option('buildtype').contains('debug') cc = meson.get_compiler('c') +if get_option('profile') == 'development' + profile = '.Devel' + name_suffix = ' ☢️' +else + profile = '' + name_suffix = '' +endif + +application_id = 'org.gnome.Totem@0@'.format(profile) + config_h = configuration_data() # debug options @@ -51,6 +61,7 @@ set_defines = [ # package ['PACKAGE', meson.project_name()], ['TOTEM_API_VERSION', totem_api_version], + ['APPLICATION_ID', application_id], ['VERSION', totem_version], # i18n ['GETTEXT_PACKAGE', meson.project_name()] @@ -229,6 +240,13 @@ meson.add_dist_script( message('Totem was configured with the following options:') message('** Using the GStreamer-1.0 backend') +str = 'Development build' +if get_option('profile') == 'development' + message('** ' + str + ' enabled') +else + message(' ' + str + ' disabled') +endif + str = 'Easy codec installation support' if have_easy_codec message('** ' + str + ' enabled') -- cgit v1.2.1