]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
wayland-utils: add libdrm PACKAGECONFIG
authorRoss Burton <ross.burton@arm.com>
Wed, 6 Sep 2023 18:14:20 +0000 (19:14 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Sep 2023 13:30:53 +0000 (14:30 +0100)
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>
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"