diff mbox series

[2/2] mesa-demos: use glut feature instead of deprecated with-glut string option

Message ID 20250422-mesa-demos-git-v1-2-87eac5e3af26@cherry.de
State New
Headers show
Series mesa-demos: bump to latest commit in git, remove use of deprecated option | expand

Commit Message

Quentin Schulz April 22, 2025, 2:26 p.m. UTC
From: Quentin Schulz <quentin.schulz@cherry.de>

with-glut meson option has been marked as deprecated since commit
b19fd22db283 ("meson: deprecate with-glut option"), part of the 9.0.0
release. Use pkgconfig instead via the typical glut meson feature
option.

The sysroot-destdir, package, image and build/src directories are
identical before and after applying this patch.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
 meta/recipes-graphics/mesa/mesa-demos_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/mesa/mesa-demos_git.bb b/meta/recipes-graphics/mesa/mesa-demos_git.bb
index 9dbb19d4696aa3b4812c60850d72a44a48d65d99..d3456cf9143e9861baa0108886db33f04d45f052 100644
--- a/meta/recipes-graphics/mesa/mesa-demos_git.bb
+++ b/meta/recipes-graphics/mesa/mesa-demos_git.bb
@@ -31,7 +31,7 @@  PACKAGECONFIG[drm] = "-Dlibdrm=enabled,-Dlibdrm=disabled,libdrm"
 PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl"
 PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1"
 PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2"
-PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},,freeglut"
+PACKAGECONFIG[glut] = "-Dglut=enabled,-Dglut=disabled,freeglut"
 PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
 PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader glslang-native"
 PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols libxkbcommon libdecor"