mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-30 08:38:43 +08:00
Add drm_info
This commit is contained in:
parent
5a5c95a63d
commit
70821d875f
11
recipes/wip/x11/drm-info/recipe.toml
Normal file
11
recipes/wip/x11/drm-info/recipe.toml
Normal file
@ -0,0 +1,11 @@
|
||||
[source]
|
||||
tar = "https://gitlab.freedesktop.org/emersion/drm_info/-/archive/v2.9.0/drm_info-v2.9.0.tar.gz"
|
||||
blake3 = "48ff592b206a85c1d946abfe2f8a4e7ef40f9f1ee7d3d5ee454a33390f86d8cb"
|
||||
patches = ["redox.patch"]
|
||||
|
||||
[build]
|
||||
dependencies = [
|
||||
"json-c",
|
||||
"libdrm",
|
||||
]
|
||||
template = "meson"
|
||||
12
recipes/wip/x11/drm-info/redox.patch
Normal file
12
recipes/wip/x11/drm-info/redox.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ruwN source-old/meson.build source/meson.build
|
||||
--- source-old/meson.build 2025-11-16 10:35:59.000000000 -0700
|
||||
+++ source/meson.build 2025-12-11 15:29:28.845861423 -0700
|
||||
@@ -68,7 +68,7 @@
|
||||
elif libdrm.type_name() == 'internal'
|
||||
fourcc_h = meson.current_source_dir() / 'subprojects/libdrm/include/drm/drm_fourcc.h'
|
||||
else
|
||||
- fourcc_h = libdrm.get_variable(pkgconfig: 'pc_sysrootdir') + libdrm.get_variable(pkgconfig: 'includedir') / 'libdrm/drm_fourcc.h'
|
||||
+ fourcc_h = libdrm.get_variable(pkgconfig: 'includedir') / 'libdrm/drm_fourcc.h'
|
||||
endif
|
||||
|
||||
# The DRM_BUS_FAUX bus and its information is included in libdrm v2.4.127
|
||||
Loading…
Reference in New Issue
Block a user