mirror of
git://git.yoctoproject.org/poky
synced 2026-04-02 02:49:11 +00:00
New Vulkan CTS 1.4.4 started requiring glx.pc pkg-config file. Apply a patch adding one in order to let VK CTS and other programs find Mesa GLX implementation. (From OE-Core rev: 15c02892d9c00de3c9879d5ffcecfeba6f5ee1ab) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
42 lines
1.2 KiB
Diff
42 lines
1.2 KiB
Diff
From 4fed044aaed5911fdc58d2a634f34a7186836935 Mon Sep 17 00:00:00 2001
|
|
From: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
|
|
Date: Sun, 12 Oct 2025 23:54:25 +0300
|
|
Subject: [PATCH] glx: provide glx.pc
|
|
|
|
New Vulkan CTS 1.4.4 started requiring glx.pc pkg-config file. Provide
|
|
one if GLVND is not used in order to let VK CTS and other programs find
|
|
Mesa GLX implementation.
|
|
|
|
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
|
|
Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37834]
|
|
---
|
|
src/glx/meson.build | 12 ++++++++++++
|
|
1 file changed, 12 insertions(+)
|
|
|
|
diff --git a/src/glx/meson.build b/src/glx/meson.build
|
|
index 04fdf26ba6a2..28313f83a783 100644
|
|
--- a/src/glx/meson.build
|
|
+++ b/src/glx/meson.build
|
|
@@ -134,6 +134,18 @@ libgl = shared_library(
|
|
install : true,
|
|
)
|
|
|
|
+if not with_glvnd
|
|
+ pkg.generate(
|
|
+ name : 'glx',
|
|
+ description : 'Mesa GLX Library',
|
|
+ version : meson.project_version(),
|
|
+ libraries : libgl,
|
|
+ libraries_private : gl_priv_libs,
|
|
+ requires_private : gl_priv_reqs,
|
|
+ variables : ['glx_tls=yes'],
|
|
+ )
|
|
+endif
|
|
+
|
|
if with_symbols_check
|
|
libgl_symbols_file = with_glvnd ? 'glvnd-symbols.txt' : 'libgl-symbols.txt'
|
|
|
|
--
|
|
2.51.0
|
|
|