mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	References: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/284
		
			
				
	
	
		
			30 lines
		
	
	
	
		
			551 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
	
		
			551 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',
 | 
						|
	'pointer.c',
 | 
						|
	'tablet_v2.c',
 | 
						|
)
 | 
						|
 | 
						|
client_protos = [
 | 
						|
	'drm',
 | 
						|
	'linux-dmabuf-v1',
 | 
						|
	'pointer-gestures-unstable-v1',
 | 
						|
	'presentation-time',
 | 
						|
	'relative-pointer-unstable-v1',
 | 
						|
	'tablet-v2',
 | 
						|
	'viewporter',
 | 
						|
	'xdg-activation-v1',
 | 
						|
	'xdg-decoration-unstable-v1',
 | 
						|
	'xdg-shell',
 | 
						|
]
 | 
						|
 | 
						|
foreach proto : client_protos
 | 
						|
	wlr_files += protocols_client_header[proto]
 | 
						|
endforeach
 |