mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 19:21:53 +03:00
8feca2472c
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>
31 lines
772 B
Meson
31 lines
772 B
Meson
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
units = [
|
|
'basic.target',
|
|
'bluetooth.target',
|
|
'default.target',
|
|
'exit.target',
|
|
'graphical-session-pre.target',
|
|
'graphical-session.target',
|
|
'paths.target',
|
|
'printer.target',
|
|
'shutdown.target',
|
|
'smartcard.target',
|
|
'sockets.target',
|
|
'sound.target',
|
|
'systemd-exit.service',
|
|
'systemd-tmpfiles-clean.service',
|
|
'systemd-tmpfiles-clean.timer',
|
|
'systemd-tmpfiles-setup.service',
|
|
'timers.target',
|
|
]
|
|
|
|
if conf.get('ENABLE_XDG_AUTOSTART') == 1
|
|
units += [ 'xdg-desktop-autostart.target', ]
|
|
endif
|
|
|
|
foreach file : units
|
|
install_data(file,
|
|
install_dir : userunitdir)
|
|
endforeach
|