diff mbox series

[7/7] wayland-utils: add libdrm PACKAGECONFIG

Message ID 20230906181420.795510-7-ross.burton@arm.com
State Accepted, archived
Commit c6c488c259d1f38a05a71e576ca2f32d412413f1
Headers show
Series [1/7] glib-2.0: libelf has a configure option now, specify it | expand

Commit Message

Ross Burton Sept. 6, 2023, 6:14 p.m. UTC
From: Ross Burton <ross.burton@arm.com>

wayland-utils has optional libdrm support, so add a PACKAGECONFIG and
enable it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-graphics/wayland/wayland-utils_1.1.0.bb | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/wayland/wayland-utils_1.1.0.bb b/meta/recipes-graphics/wayland/wayland-utils_1.1.0.bb
index dcee87e2cd2..48e1409be85 100644
--- a/meta/recipes-graphics/wayland/wayland-utils_1.1.0.bb
+++ b/meta/recipes-graphics/wayland/wayland-utils_1.1.0.bb
@@ -19,3 +19,6 @@  UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
 inherit meson pkgconfig
 
 DEPENDS += "wayland wayland-native wayland-protocols"
+
+PACKAGECONFIG ??= "drm"
+PACKAGECONFIG[drm] = "-Ddrm=enabled,-Ddrm=disabled,libdrm"