From 79ed85e4cea2bcc4a91e65676f57161d0c0f27c2 Mon Sep 17 00:00:00 2001 From: Ashwin Prabhakar Date: Tue, 26 May 2026 08:23:33 +0200 Subject: [PATCH] chromium-ozone-wayland: add virtual/libgbm to DEPENDS for libglvnd setups The Chromium Ozone Wayland backend relies on minigbm, which executes a pkg-config check for 'gbm' during the configure task. In the current build configuration, virtual/egl is provided by libglvnd. Unlike some monolithic vendor graphics drivers, libglvnd only acts as a vendor-neutral dispatch layer and does not provide or implicitly pull in GBM headers or libraries. As a result, 'gbm.pc' is missing from the recipe sysroot, causing the GN build configuration to fail. Explicitly adding virtual/libgbm to DEPENDS ensures that the necessary GBM pkg-config files are populated into the Chromium recipe sysroot regardless of the chosen EGL provider. Signed-off-by: Ashwin Prabhakar --- .../chromium/chromium-ozone-wayland_148.0.7778.167.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-chromium/recipes-browser/chromium/chromium-ozone-wayland_148.0.7778.167.bb b/meta-chromium/recipes-browser/chromium/chromium-ozone-wayland_148.0.7778.167.bb index b18c9782e..a7b9c4ec1 100644 --- a/meta-chromium/recipes-browser/chromium/chromium-ozone-wayland_148.0.7778.167.bb +++ b/meta-chromium/recipes-browser/chromium/chromium-ozone-wayland_148.0.7778.167.bb @@ -5,6 +5,7 @@ REQUIRED_DISTRO_FEATURES = "wayland" DEPENDS += "\ at-spi2-atk \ virtual/egl \ + virtual/libgbm \ wayland \ wayland-native \ "