spa: use a separate logind dependency separate from systemd

non-systemd systems also have logind, in the form of elogind, which works to
resolve the v4l2 video source race just as well. permit finding elogind, by
using a separate dep object.
This commit is contained in:
psykose 2024-09-20 03:12:04 +02:00 committed by Wim Taymans
parent bdd4d3a8fc
commit 2d071d658f
4 changed files with 20 additions and 7 deletions

View file

@ -34,6 +34,15 @@ option('systemd',
description: 'Enable systemd integration',
type: 'feature',
value: 'auto')
option('logind',
description: 'Enable logind integration',
type: 'feature',
value: 'auto')
option('logind-provider',
description: 'Provider for logind integration',
type: 'combo',
choices: ['libelogind', 'libsystemd'],
value: 'libsystemd')
option('systemd-system-service',
description: 'Install systemd system service file',
type: 'feature',