diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..357804a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.cache/ \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..8c9ffd9 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "subprojects/wlroots"] + path = subprojects/wlroots + url = https://gitlab.freedesktop.org/wlroots/wlroots.git diff --git a/meson.build b/meson.build index 45b3f91..e3d5362 100644 --- a/meson.build +++ b/meson.build @@ -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') diff --git a/subprojects/wlroots b/subprojects/wlroots new file mode 160000 index 0000000..6dce6ae --- /dev/null +++ b/subprojects/wlroots @@ -0,0 +1 @@ +Subproject commit 6dce6ae2ed92544b9758b194618e21f4c97f1d6b