From 1385fcbdb75b1b68743ccbe190553d0d327cbddb Mon Sep 17 00:00:00 2001 From: tigro Date: Tue, 14 Jan 2025 17:40:33 +0300 Subject: [PATCH] Fix build --- SOURCES/0001-Fix-build-HLSL.patch | 27 +++++++++++++++++++++++++++ SPECS/libplacebo.spec | 6 +++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 SOURCES/0001-Fix-build-HLSL.patch diff --git a/SOURCES/0001-Fix-build-HLSL.patch b/SOURCES/0001-Fix-build-HLSL.patch new file mode 100644 index 0000000..5926cf3 --- /dev/null +++ b/SOURCES/0001-Fix-build-HLSL.patch @@ -0,0 +1,27 @@ +From 9bdcaacd40d93e7452cd5d05877e68fba385903e Mon Sep 17 00:00:00 2001 +From: tigro +Date: Tue, 14 Jan 2025 17:16:47 +0300 +Subject: [PATCH] Fix build HLSL + +--- + src/meson.build | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/meson.build b/src/meson.build +index 4ef7d2a..4bfbe71 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -95,8 +95,8 @@ else + cxx.find_library('glslang', required: glslang_req), + cxx.find_library('MachineIndependent', required: false), + cxx.find_library('OSDependent', required: glslang_req), +- cxx.find_library('HLSL', required: glslang_req), +- cxx.find_library('OGLCompiler', required: glslang_req), ++ # cxx.find_library('HLSL', required: glslang_req), ++ # cxx.find_library('OGLCompiler', required: glslang_req), + cxx.find_library('GenericCodeGen', required: false), + cxx.find_library('SPVRemapper', required: glslang_req), + cxx.find_library('SPIRV', required: glslang_req), +-- +2.47.1 + diff --git a/SPECS/libplacebo.spec b/SPECS/libplacebo.spec index a0cddbe..3eac60d 100644 --- a/SPECS/libplacebo.spec +++ b/SPECS/libplacebo.spec @@ -2,7 +2,7 @@ Name: libplacebo Version: 4.208.0 -Release: 1%{?dist}.inferit +Release: 1%{?dist}.inferit.1 Summary: Reusable library for GPU-accelerated video/image rendering primitives License: LGPLv2+ @@ -10,6 +10,7 @@ URL: https://github.com/haasn/libplacebo Source0: %{url}/archive/v%{version}%{?prerelease}/%{name}-%{version}%{?prerelease}.tar.gz Patch0: 0001-move-resources-declaration-to-c-file.patch Patch1: 0001-Fix-build-on-vulkan-headers-1.3.241.patch +Patch2: 0001-Fix-build-HLSL.patch BuildRequires: gcc BuildRequires: gcc-c++ @@ -77,6 +78,9 @@ developing applications that use %{name}. %changelog +* Tue Jan 14 2025 Arkady L. Shane - 4.208.0-1.inferit.1 +- Fix Build + * Tue Jan 16 2024 Arkady L. Shane - 4.208.0-1.inferit - Fix build on vulkan-headers 1.3.241