diff --git a/bootstrap.d/sys-apps.yml b/bootstrap.d/sys-apps.yml index 57c190453..53e3f4220 100644 --- a/bootstrap.d/sys-apps.yml +++ b/bootstrap.d/sys-apps.yml @@ -201,7 +201,6 @@ packages: DESTDIR: '@THIS_COLLECT_DIR@' - name: drm_info - stability_level: 'broken' # Unsure what happened, leo must fix this architecture: '@OPTION:arch@' metadata: summary: Small utility to dump info about DRM devices. @@ -215,6 +214,7 @@ packages: git: 'https://gitlab.freedesktop.org/emersion/drm_info.git' tag: 'v2.5.0' version: '2.5.0' + revision: 2 tools_required: - system-gcc - virtual: pkgconfig-for-target @@ -230,7 +230,7 @@ packages: - '--cross-file' - '@SOURCE_ROOT@/scripts/meson-@OPTION:arch-triple@.cross-file' - '--prefix=/usr' - - '--buildtype=release' + - '--buildtype=debugoptimized' - '--wrap-mode=nofallback' - '@THIS_SOURCE_DIR@' build: diff --git a/patches/drm_info/0001-fix-libdrm-pkgconfig-issue.patch b/patches/drm_info/0001-fix-libdrm-pkgconfig-issue.patch new file mode 100644 index 000000000..e7a6c1f14 --- /dev/null +++ b/patches/drm_info/0001-fix-libdrm-pkgconfig-issue.patch @@ -0,0 +1,25 @@ +From 75c75ec1b2732d700922749fba3a82c08fcc17a4 Mon Sep 17 00:00:00 2001 +From: no92 +Date: Wed, 4 Oct 2023 00:58:35 +0200 +Subject: [PATCH] fix libdrm pkgconfig issue + +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 1943e4c..e107c6e 100644 +--- a/meson.build ++++ b/meson.build +@@ -62,7 +62,7 @@ if libdrm.version().version_compare('<2.4.115') + elif libdrm.type_name() == 'internal' + fourcc_h = meson.current_source_dir() / 'subprojects/libdrm/include/drm/drm_fourcc.h' + else +- fourcc_h = libdrm.get_pkgconfig_variable('pc_sysrootdir') + libdrm.get_pkgconfig_variable('includedir') / 'libdrm/drm_fourcc.h' ++ fourcc_h = libdrm.get_pkgconfig_variable('includedir') / 'libdrm/drm_fourcc.h' + endif + + if libpci.found() +-- +2.42.0 +