
Allow package maintainers to explicitly select a logind provider by passing -Dlogind=systemd or -Dlogind=elogind. In case both are available (e.g. for distributions which support both), this makes it possible to gte deterministic behavior. By default, auto-detect the logind provider. That way, users which have systemd or elogind installed get the backend built by default.
7 lines
698 B
Meson
7 lines
698 B
Meson
option('logind', type: 'combo', choices: ['auto', 'disabled', 'elogind', 'systemd'], value: 'auto', description: 'logind support')
|
|
option('seatd', type: 'feature', value: 'enabled', description: 'seatd support')
|
|
option('builtin', type: 'feature', value: 'disabled', description: 'builtin seatd server')
|
|
option('server', type: 'feature', value: 'enabled', description: 'seatd server')
|
|
option('examples', type: 'feature', value: 'disabled', description: 'libseat example programs')
|
|
option('man-pages', type: 'feature', value: 'auto', description: 'Generate and install man pages')
|
|
option('defaultpath', type: 'string', value: '', description: 'Default location for seatd socket (empty for default)')
|