mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
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:
parent
2113425b8e
commit
cc5a4a97fe
4 changed files with 20 additions and 7 deletions
|
|
@ -6,8 +6,8 @@ v4l2_dependencies = [ spa_dep, libinotify_dep ]
|
|||
if libudev_dep.found()
|
||||
v4l2_sources += [ 'v4l2-udev.c' ]
|
||||
v4l2_dependencies += [ libudev_dep ]
|
||||
if systemd_dep.found()
|
||||
v4l2_dependencies += [ systemd_dep ]
|
||||
if logind_dep.found()
|
||||
v4l2_dependencies += [ logind_dep ]
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue