mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 18:39:48 +01:00
ad28490cf4
wayland-client isn't really used by wlroots core, so let's move the dep to where it's needed in the Wayland backend.
28 lines
564 B
Meson
28 lines
564 B
Meson
wayland_client = dependency('wayland-client',
|
|
fallback: ['wayland', 'wayland_client_dep'],
|
|
default_options: wayland_project_options,
|
|
)
|
|
wlr_deps += wayland_client
|
|
|
|
wlr_files += files(
|
|
'backend.c',
|
|
'output.c',
|
|
'seat.c',
|
|
'tablet_v2.c',
|
|
)
|
|
|
|
client_protos = [
|
|
'drm',
|
|
'linux-dmabuf-unstable-v1',
|
|
'pointer-gestures-unstable-v1',
|
|
'presentation-time',
|
|
'relative-pointer-unstable-v1',
|
|
'tablet-unstable-v2',
|
|
'xdg-activation-v1',
|
|
'xdg-decoration-unstable-v1',
|
|
'xdg-shell',
|
|
]
|
|
|
|
foreach proto : client_protos
|
|
wlr_files += protocols_client_header[proto]
|
|
endforeach
|