Fix build failure due to OGLCompiler being removed from glslang and shaderc

epel10
Sérgio M. Basto 9 months ago
parent ef5cfba50d
commit b9cdfca7ea

@ -0,0 +1,12 @@
https://github.com/haasn/libplacebo/issues/226
--- libplacebo/src/glsl/meson.build 2023-12-02 20:48:51.445273381 -0400
+++ libplacebo_patch/src/glsl/meson.build 2023-12-05 10:56:49.083295970 -0400
@@ -44,7 +44,7 @@ elif not glslang_req.disabled()
# Always required for static linking
cxx.find_library('MachineIndependent', required: true, static: true),
cxx.find_library('OSDependent', required: true, static: true),
- cxx.find_library('OGLCompiler', required: true, static: true),
+# cxx.find_library('OGLCompiler', required: true, static: true),
cxx.find_library('GenericCodeGen', required: true, static: true),
# SPIRV-Tools are required only if optimizer is enabled in glslang build
cxx.find_library('SPIRV-Tools', required: false, static: true),

@ -8,6 +8,8 @@ Summary: Reusable library for GPU-accelerated video/image rendering primi
License: LGPL-2.0-or-later
URL: https://github.com/haasn/libplacebo
Source0: %{url}/archive/v%{version}%{?prerelease}/%{name}-%{version}%{?prerelease}.tar.gz
# https://github.com/haasn/libplacebo/issues/226
Patch1: https://github.com/haasn/libplacebo/files/13562418/libplacebo-OGLCompiler.patch
BuildRequires: gcc
BuildRequires: gcc-c++

Loading…
Cancel
Save