Subject: [bug#74522] [PATCH 06/73] move libgl provider from mesa to libglvnd+mesa

From: The Man <[email-masked]>
Date: Sun, 24 Nov 2024 21:40:59 -0600

Change-Id: Ib881b39f41ee964fcec5d1a96115b1d273888919
---
 gnu/packages/chromium.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index cf1703cecb..b41f5aa091 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -796,7 +796,7 @@ (define-public ungoogled-chromium
                           "chromium/master-preferences.json")))
                      (gtk (dirname (dirname
                                     (search-input-file inputs "lib/libgtk-3.so"))))
-                     (mesa (dirname (search-input-file inputs "lib/libGL.so")))
+                     (libgl (dirname (search-input-file inputs "lib/libGL.so")))
                      (vulkan (dirname (search-input-file inputs "lib/libvulkan.so")))
                      (xdg-utils (dirname (search-input-file inputs "bin/xdg-open"))))
 
@@ -838,7 +838,7 @@ (define-public ungoogled-chromium
                     ;; Provide libGL and libvulkan without patching all references.
                     ;; XXX: How to add on RUNPATH instead of this hack?
                     `("LD_LIBRARY_PATH" ":" prefix
-                      (,(string-append mesa ":" vulkan)))
+                      (,(string-append libgl ":" vulkan)))
                     ;; Ensure xdg-open et al. is found.
                     `("PATH" ":" prefix (,xdg-utils))))
 
@@ -908,7 +908,7 @@ (define-public ungoogled-chromium
            libxscrnsaver
            libxslt
            libxtst
-           mesa
+           libgl
            minizip
            mit-krb5
            nss
-- 
2.46.0