mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-04-05 07:15:39 -04:00
Add wlr-layer-shell-unstable-v1 protocol
This commit is contained in:
parent
f9626f7951
commit
a617d62354
3 changed files with 430 additions and 22 deletions
23
meson.build
23
meson.build
|
|
@ -41,28 +41,7 @@ wayland_server = dependency('wayland-server')
|
|||
xkbcommon = dependency('xkbcommon')
|
||||
math = cc.find_library('m')
|
||||
|
||||
wl_protocol_dir = wayland_protos.get_variable('pkgdatadir')
|
||||
wayland_scanner = find_program('wayland-scanner')
|
||||
wayland_scanner_server = generator(
|
||||
wayland_scanner,
|
||||
output: '@BASENAME@-protocol.h',
|
||||
arguments: ['server-header', '@INPUT@', '@OUTPUT@'],
|
||||
)
|
||||
|
||||
server_protocols = [
|
||||
[wl_protocol_dir, 'stable/xdg-shell/xdg-shell.xml'],
|
||||
]
|
||||
|
||||
server_protos_headers = []
|
||||
|
||||
foreach p : server_protocols
|
||||
xml = join_paths(p)
|
||||
server_protos_headers += wayland_scanner_server.process(xml)
|
||||
endforeach
|
||||
|
||||
server_protos = declare_dependency(
|
||||
sources: server_protos_headers,
|
||||
)
|
||||
subdir('protocols')
|
||||
|
||||
have_xwayland = wlroots.get_variable(pkgconfig: 'have_xwayland', internal: 'have_xwayland') == 'true'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue