meson: add drm by default

This commit is contained in:
sewn 2024-12-07 09:59:43 +03:00
parent 092fa93acd
commit 3a0b856848
No known key found for this signature in database
2 changed files with 10 additions and 9 deletions

View File

@ -12,7 +12,7 @@ unusual checks, such as requiring `hwdata` for the DRM backend.
### Download ### Download
- [git branch](/sewn/dwl/src/branch/meson) - [git branch](/sewn/dwl/src/branch/meson)
- [2024-08-27](/dwl/dwl-patches/raw/branch/main/patches/meson/meson.patch) - [2024-12-07](/dwl/dwl-patches/raw/branch/main/patches/meson/meson.patch)
### Authors ### Authors
- [sewn](/sewn) - [sewn](/sewn)

View File

@ -1,13 +1,13 @@
From 5343ca2873221f9586fabb380027ff2e271ffd6e Mon Sep 17 00:00:00 2001 From 136cdeb302fdfe28e5cd5c6a1693b05c3d1bfb58 Mon Sep 17 00:00:00 2001
From: sewn <sewn@disroot.org> From: sewn <sewn@disroot.org>
Date: Tue, 27 Aug 2024 16:28:07 +0300 Date: Sat, 7 Dec 2024 09:59:01 +0300
Subject: [PATCH] add meson Subject: [PATCH] add meson
--- ---
.gitignore | 1 + .gitignore | 1 +
meson.build | 92 ++++++++++++++++++++++++++++++++++++++++ meson.build | 93 ++++++++++++++++++++++++++++++++++++++++
subprojects/wlroots.wrap | 5 +++ subprojects/wlroots.wrap | 5 +++
3 files changed, 98 insertions(+) 3 files changed, 99 insertions(+)
create mode 100644 meson.build create mode 100644 meson.build
create mode 100644 subprojects/wlroots.wrap create mode 100644 subprojects/wlroots.wrap
@ -22,10 +22,10 @@ index 0dde90e..9246a31 100644
+subprojects/wlroots +subprojects/wlroots
diff --git a/meson.build b/meson.build diff --git a/meson.build b/meson.build
new file mode 100644 new file mode 100644
index 0000000..ceef1e0 index 0000000..e2219ec
--- /dev/null --- /dev/null
+++ b/meson.build +++ b/meson.build
@@ -0,0 +1,92 @@ @@ -0,0 +1,93 @@
+project( +project(
+ 'dwl', + 'dwl',
+ 'c', + 'c',
@ -57,9 +57,10 @@ index 0000000..ceef1e0
+ +
+wlroots = subproject('wlroots', +wlroots = subproject('wlroots',
+ default_options: [ + default_options: [
+ 'backends=libinput,auto', + 'backends=drm,libinput,auto',
+ 'default_library=static', + 'default_library=static',
+ 'examples=false', + 'examples=false',
+ 'session=enabled',
+ ], + ],
+) +)
+wlroots_has_xwlr = wlroots.get_variable('features').get('xwayland') +wlroots_has_xwlr = wlroots.get_variable('features').get('xwayland')
@ -130,5 +131,5 @@ index 0000000..3d9cbfa
+depth = 1 +depth = 1
+clone-recursive = true +clone-recursive = true
-- --
2.46.0 2.47.1