[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/13: gnu: ungoogled-chromium: Improve Vulkan support.
From: |
guix-commits |
Subject: |
03/13: gnu: ungoogled-chromium: Improve Vulkan support. |
Date: |
Thu, 16 Dec 2021 16:23:11 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit fdd71babc73a3e5706f6d0c7aed579971109cf3e
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Dec 15 18:24:17 2021 +0100
gnu: ungoogled-chromium: Improve Vulkan support.
* gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Add absolute
reference to libvulkan.so.1. Install SwiftShader support files.
[inputs]: Add VULKAN-LOADER.
---
gnu/packages/chromium.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index 1a9a35e..263f46a 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -669,6 +669,10 @@
(("libudev\\.so\\.1")
(string-append udev "/lib/libudev.so.1")))
+ (substitute*
"third_party/dawn/src/dawn_native/vulkan/BackendVk.cpp"
+ (("libvulkan\\.so\\.1")
+ (search-input-file inputs "/lib/libvulkan.so.1")))
+
(substitute*
'("ui/ozone/platform/x11/gl_ozone_glx.cc"
"ui/ozone/common/egl_util.cc"
@@ -766,6 +770,10 @@
"resources.pak"
"v8_context_snapshot.bin"
+ ;; Swiftshader ICD.
+ "libvk_swiftshader.so"
+ "vk_swiftshader_icd.json"
+
;; Chromium ships its own libGL
;; implementation called ANGLE.
"libEGL.so" "libGLESv2.so"))
@@ -894,6 +902,7 @@
("udev" ,eudev)
("valgrind" ,valgrind)
("vulkan-headers" ,vulkan-headers)
+ ("vulkan-loader" ,vulkan-loader)
("wayland" ,wayland)
("xdg-utils" ,xdg-utils)))
(native-search-paths
- branch master updated (d2af1df -> 00ec9e3), guix-commits, 2021/12/16
- 04/13: chromium-extension: Simplify builder code., guix-commits, 2021/12/16
- 03/13: gnu: ungoogled-chromium: Improve Vulkan support.,
guix-commits <=
- 10/13: gnu: file: Add 5.41., guix-commits, 2021/12/16
- 12/13: gnu: python-vcrpy: Fix test failure., guix-commits, 2021/12/16
- 08/13: gnu: python-daemon: Fix test failure., guix-commits, 2021/12/16
- 11/13: gnu: python-magic: Work around crash on .crx files., guix-commits, 2021/12/16
- 09/13: gnu: python-magic: Run more tests., guix-commits, 2021/12/16
- 05/13: chromium-extension: Reduce imported-modules scope., guix-commits, 2021/12/16
- 01/13: gnu: ungoogled-chromium: Enable RUNPATH validation., guix-commits, 2021/12/16
- 07/13: chromium-extension: Build .crx files in a deterministic fashion., guix-commits, 2021/12/16
- 13/13: gnu: rtv: Disable sanity check., guix-commits, 2021/12/16
- 02/13: gnu: ungoogled-chromium: Unexpire accelerated video decoding., guix-commits, 2021/12/16