summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2020-03-25 16:59:40 +0100
committerBenjamin Berg <bberg@redhat.com>2020-05-27 09:02:10 +0200
commit8feca2472ccb71d49716a37e86db2fc3a485ae4e (patch)
tree8fbc9062edf1a620a4236523abaa9676e1479453 /meson_options.txt
parent8746820b87020358e10a258a3fa42f8ca1c6a453 (diff)
downloadsystemd-8feca2472ccb71d49716a37e86db2fc3a485ae4e.tar.gz
xdg-autostart-generator: Add a generator for XDG autostart files
This generator can be used by desktop environments to launch autostart applications and services. The feature is an opt-in, triggered by xdg-desktop-autostart.target being activated. Also included is the new binary xdg-autostart-condition. This binary is used as an ExecCondition to test the OnlyShowIn and NotShowIn XDG desktop file keys. These need to be evaluated against the XDG_CURRENT_DESKTOP environment variable which may not be known at generation time. Co-authored-by: Henri Chain <henri.chain@enioka.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index d5ed2a7a42..2a2597912f 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -142,6 +142,8 @@ option('hwdb', type : 'boolean',
description : 'support for the hardware database')
option('rfkill', type : 'boolean',
description : 'support for the rfkill tools')
+option('xdg-autostart', type : 'boolean',
+ description : 'install the xdg-autostart-generator and unit')
option('man', type : 'combo', choices : ['auto', 'true', 'false'],
value : 'false',
description : 'build and install man pages')