]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
wayland-utils: add libdrm PACKAGECONFIG
authorRoss Burton <ross.burton@arm.com>
Wed, 6 Sep 2023 18:14:20 +0000 (19:14 +0100)
committerSteve Sakoman <steve@sakoman.com>
Tue, 10 Oct 2023 15:14:28 +0000 (05:14 -1000)
wayland-utils has optional libdrm support, so add a PACKAGECONFIG and
enable it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c6c488c259d1f38a05a71e576ca2f32d412413f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-graphics/wayland/wayland-utils_1.1.0.bb

index dcee87e2cd2782b5d32c9ce25f57b492c8374720..48e1409be85b135f59d30b1d1a9d84c79a4b619f 100644 (file)
@@ -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"