mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-14 17:25:59 +01:00
f0375eed24
Some compositors are not interested in wlr_session, for instance nested compositors. Disabling wlr_session removes the udev dependency.
17 lines
488 B
Meson
17 lines
488 B
Meson
msg = 'Required for session support.'
|
|
udev = dependency('libudev', required: session_required, not_found_message: msg)
|
|
libseat = dependency(
|
|
'libseat',
|
|
version: '>=0.2.0',
|
|
fallback: 'seatd',
|
|
default_options: ['server=disabled', 'man-pages=disabled', 'examples=disabled'],
|
|
required: session_required,
|
|
not_found_message: msg,
|
|
)
|
|
if not (udev.found() and libseat.found())
|
|
subdir_done()
|
|
endif
|
|
|
|
wlr_files += files('session.c')
|
|
wlr_deps += [udev, libseat]
|
|
features += { 'session': true }
|