drm-info: upgrade 2.9.0 -> 2.10.0

Changelog:
https://gitlab.freedesktop.org/emersion/drm_info/-/tags/v2.10.0

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Ankur Tyagi
2026-08-03 23:20:50 +12:00
committed by Khem Raj
parent de818f92b4
commit c683fc0fdb
2 changed files with 31 additions and 2 deletions
@@ -0,0 +1,27 @@
From a0acb0561be3176e2a1d2fb9ca629ab9b25d0057 Mon Sep 17 00:00:00 2001
From: Ankur Tyagi <ankur.tyagi85@gmail.com>
Date: Mon, 3 Aug 2026 20:59:24 +1200
Subject: [PATCH] Reapply "Find drm_fourcc.h in sysroot"
This reverts commit https://gitlab.freedesktop.org/emersion/drm_info/-/commit/154d17ec47baa9f66528d81d73788ddbde5000e1
Upstream-Status: Inappropriate [oe-specific]
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index aa9e951..21ab150 100644
--- a/meson.build
+++ b/meson.build
@@ -68,7 +68,7 @@ if libdrm.version().version_compare('<2.4.134')
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: 'includedir') / 'libdrm/drm_fourcc.h'
+ fourcc_h = libdrm.get_variable(pkgconfig: 'pc_sysrootdir') + 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
@@ -3,8 +3,10 @@ HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c"
SRC_URI = "git://gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https;tag=v${PV}"
SRCREV = "67a49ad122e8fa5c85430a8e22f20b7f56e750d5"
SRC_URI = "git://gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https;tag=v${PV} \
file://0001-Reapply-Find-drm_fourcc.h-in-sysroot.patch \
"
SRCREV = "462458e0f292145b2a9d5a8b65c392eaeef7362d"
inherit meson pkgconfig