summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2018-03-16 17:24:11 +0200
committerErnestas Kulik <ernestask@gnome.org>2018-03-18 22:28:08 +0200
commitdf583c2e4aded65da329a9e14279be40d9c397f2 (patch)
tree224287e6f8378eca5b97814a3019f4696d0c7d48 /meson_options.txt
parent30a76b3033af7d937380c3c77a2665bf979e4bc9 (diff)
downloadnautilus-df583c2e4aded65da329a9e14279be40d9c397f2.tar.gz
general: Allow running in separate instance
When hacking on Nautilus, it is very inconvenient to have to close any running instance before running the built version. This commit enables running three different instances by changing the application ID. Beside the default “profile” is one crafted for stable flatpak releases and one for development. The stable flatpak profile adds an identifying mark to the about dialog to aid collecting information in bug reports. The development profile is that plus additional styling to help visually identify the development instance. It also will be used when generating Flatpak bundles with the help of CI. Generally, the implementation is slightly hacky to allow all the different workflows, spanning from regular installations to GNOME Builder flatpak builds, as each comes with its own quirks.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 7b6cc6946..9d514eb76 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -4,3 +4,13 @@ option('extensions', type: 'boolean', value: true)
option('packagekit', type: 'boolean', value: true)
option('selinux', type: 'boolean', value: false)
option('tests', type: 'combo', choices: ['none', 'headless', 'all'], value: 'headless')
+option(
+ 'profile',
+ type: 'combo',
+ choices: [
+ 'default',
+ 'stable-flatpak',
+ 'development'
+ ],
+ value: 'default'
+)