refactor: embedding wlroots

This commit is contained in:
Xtr126 2024-04-25 23:41:12 +05:30
parent e7d8780f46
commit 82f3853d69
4 changed files with 11 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/.cache/

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "subprojects/wlroots"]
path = subprojects/wlroots
url = https://gitlab.freedesktop.org/wlroots/wlroots.git

View file

@ -35,7 +35,12 @@ if is_freebsd
)
endif
wlroots = dependency('wlroots', version: '>= 0.17.0', fallback: ['wlroots', 'wlroots'])
wlroots_proj = subproject(
'wlroots',
default_options: ['examples=false', 'xwayland=disabled'],
)
wlroots = wlroots_proj.get_variable('wlroots')
wayland_protos = dependency('wayland-protocols', version: '>=1.14')
wayland_server = dependency('wayland-server')
xkbcommon = dependency('xkbcommon')

1
subprojects/wlroots Submodule

@ -0,0 +1 @@
Subproject commit 6dce6ae2ed92544b9758b194618e21f4c97f1d6b