add subprojects

This commit is contained in:
Artur Mukhamadiev 2025-07-03 23:49:31 +03:00
parent 0bb5e3953c
commit bbab8d3b4f
2 changed files with 14 additions and 1 deletions

View File

@ -1,7 +1,7 @@
project('hello-wayland', 'c') project('hello-wayland', 'c')
wl_dep = dependency('wayland-client') wl_dep = dependency('wayland-client')
wl_mod = import('wayland') wl_mod = import('unstable-wayland')
xml = wl_mod.find_protocol('xdg-shell') xml = wl_mod.find_protocol('xdg-shell')
xdg_shell = wl_mod.scan_xml(xml) xdg_shell = wl_mod.scan_xml(xml)

13
subprojects/wayland.wrap Normal file
View File

@ -0,0 +1,13 @@
[wrap-file]
directory = wayland-1.23.1
source_url = https://gitlab.freedesktop.org/wayland/wayland/-/releases/1.23.1/downloads/wayland-1.23.1.tar.xz
source_filename = wayland-1.23.1.tar.xz
source_hash = 864fb2a8399e2d0ec39d56e9d9b753c093775beadc6022ce81f441929a81e5ed
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/wayland_1.23.1-1/wayland-1.23.1.tar.xz
wrapdb_version = 1.23.1-1
[provide]
wayland-cursor = wayland_cursor_dep
wayland-egl = wayland_egl_dep
wayland-server = wayland_server_dep
wayland-client = wayland_client_dep