-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path0001-refactor-embedding-wlroots.patch
More file actions
61 lines (57 loc) · 1.7 KB
/
0001-refactor-embedding-wlroots.patch
File metadata and controls
61 lines (57 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
From f1ca5197c136bcf4198efdf94c8ce3419cb74d30 Mon Sep 17 00:00:00 2001
From: Xtr126 <80520774+Xtr126@users.noreply.github.com>
Date: Thu, 25 Apr 2024 23:41:12 +0530
Subject: [PATCH 1/9] refactor: embedding wlroots
enable only x11 backend for wlroots
---
.gitignore | 1 +
.gitmodules | 3 +++
meson.build | 7 ++++++-
subprojects/wlroots | 1 +
4 files changed, 11 insertions(+), 1 deletion(-)
create mode 100644 .gitignore
create mode 100644 .gitmodules
create mode 160000 subprojects/wlroots
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 7b58cd8..f5301fe 100644
--- a/meson.build
+++ b/meson.build
@@ -35,7 +35,12 @@ if is_freebsd
)
endif
-wlroots = dependency('wlroots-0.18', fallback: ['wlroots', 'wlroots'])
+wlroots_proj = subproject(
+ 'wlroots',
+ default_options: ['examples=false', 'xwayland=disabled', 'backends=x11'],
+)
+
+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..5bc3907
--- /dev/null
+++ b/subprojects/wlroots
@@ -0,0 +1 @@
+Subproject commit 5bc39071d173301eb8b2cd652c711075526dfbd9
--
2.53.0