mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-14 09:25:57 +01:00
b5a019d575
All of these projects use meson.override_dependency() so we can stop referencing their internal variable name to grab the depndencies we need.
28 lines
540 B
Meson
28 lines
540 B
Meson
wayland_client = dependency('wayland-client',
|
|
fallback: 'wayland',
|
|
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
|