From b455f1b874c8ecc4e25c00b4d6698bfe26c6e088 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 23 Dec 2024 13:43:56 +0300 Subject: [PATCH] import libplacebo-7.349.0-4.el10 --- .gitignore | 1 + .libplacebo.metadata | 1 + SOURCES/README.md | 3 + SOURCES/libplacebo-OGLCompiler.patch | 12 ++ SPECS/libplacebo.spec | 257 +++++++++++++++++++++++++++ 5 files changed, 274 insertions(+) create mode 100644 .gitignore create mode 100644 .libplacebo.metadata create mode 100644 SOURCES/README.md create mode 100644 SOURCES/libplacebo-OGLCompiler.patch create mode 100644 SPECS/libplacebo.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2f2d2dc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libplacebo-7.349.0.tar.gz diff --git a/.libplacebo.metadata b/.libplacebo.metadata new file mode 100644 index 0000000..5e61b8a --- /dev/null +++ b/.libplacebo.metadata @@ -0,0 +1 @@ +f273dcccf15704c1b4efd84ca211d52328360447 SOURCES/libplacebo-7.349.0.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..463a556 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# libplacebo + +The libplacebo package \ No newline at end of file diff --git a/SOURCES/libplacebo-OGLCompiler.patch b/SOURCES/libplacebo-OGLCompiler.patch new file mode 100644 index 0000000..2761281 --- /dev/null +++ b/SOURCES/libplacebo-OGLCompiler.patch @@ -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), diff --git a/SPECS/libplacebo.spec b/SPECS/libplacebo.spec new file mode 100644 index 0000000..7c3a88e --- /dev/null +++ b/SPECS/libplacebo.spec @@ -0,0 +1,257 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 4; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +#global prerelease -rc1 + +Name: libplacebo +Version: 7.349.0 +Release: %autorelease +Summary: Reusable library for GPU-accelerated video/image rendering primitives + +License: LGPL-2.0-or-later +URL: https://github.com/haasn/libplacebo +Source0: %{url}/archive/v%{version}%{?prerelease}/%{name}-%{version}%{?prerelease}.tar.gz + +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: meson +BuildRequires: glad2 +BuildRequires: lcms2-devel +BuildRequires: libdovi-devel +BuildRequires: libepoxy-devel +BuildRequires: libunwind-devel +BuildRequires: libshaderc-devel +BuildRequires: python3-mako +BuildRequires: spirv-tools-devel +BuildRequires: vulkan-devel +BuildRequires: glslang-devel +BuildRequires: xxhash-devel + + +%description +libplacebo is essentially the core rendering algorithms and ideas of +mpv turned into a library. This grew out of an interest to accomplish +the following goals: + +- Clean up mpv's internal API and make it reusable for other projects. +- Provide a standard library of useful GPU-accelerated image processing + primitives based on GLSL, so projects like VLC or Firefox can use them + without incurring a heavy dependency on `libmpv`. +- Rewrite core parts of mpv's GPU-accelerated video renderer on top of + redesigned abstractions. (Basically, I wanted to eliminate code smell + like `shader_cache.c` and totally redesign `gpu/video.c`) + + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%autosetup -p1 -n %{name}-%{version}%{?prerelease} + + +%build +%meson \ + -Dd3d11=disabled \ + -Ddemos=False + +%meson_build + + +%install +%meson_install + + +%files +%license LICENSE +%doc README.md +%{_libdir}/libplacebo.so.349 + +%files devel +%{_includedir}/libplacebo +%{_libdir}/libplacebo.so +%{_libdir}/pkgconfig/libplacebo.pc + + +%changelog +* Mon Dec 23 2024 MSVSphere Packaging Team - 7.349.0-4 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Thu Jul 18 2024 Fedora Release Engineering - 7.349.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue Jul 16 2024 Nicolas Chauvet - 7.349.0-3 +- Add missing sources + +* Tue Jul 16 2024 Nicolas Chauvet - 7.349.0-2 +- Fix build + +* Wed Jul 10 2024 Nicolas Chauvet - 7.349.0-1 +- Update to 7.349.0 + +* Sun Apr 07 2024 Sérgio M. Basto - 6.338.2-5 +- Fix build failure due to OGLCompiler being removed from glslang and + shaderc + +* Sun Feb 25 2024 Carl George - 6.338.2-4 +- Switch to SPDX license identifier + +* Sun Feb 25 2024 Carl George - 6.338.2-3 +- Remove deprecated %%%%ldconfig_scriptlets + +* Sun Feb 25 2024 Carl George - 6.338.2-2 +- Remove globs from %%%%files + +* Tue Jan 30 2024 Nicolas Chauvet - 6.338.2-1 +- Update to 6.338.2 + +* Thu Jan 25 2024 Fedora Release Engineering - 6.338.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jan 24 2024 Nicolas Chauvet - 6.338.1-3 +- Drop version from BR + +* Sun Jan 21 2024 Fedora Release Engineering - 6.338.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Oct 23 2023 Nicolas Chauvet - 6.338.1-1 +- Update to 6.338.1 + +* Fri Sep 29 2023 Nicolas Chauvet - 6.338.0-1 +- Update to 6.338.0 + +* Sun Aug 06 2023 Nicolas Chauvet - 6.292.1-1 +- Update to 6.292.1 + +* Fri Jul 21 2023 Nicolas Chauvet - 6.292.0-1 +- Update to 6.292.0 + +* Thu Jul 20 2023 Fedora Release Engineering - 5.264.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Mar 24 2023 Nicolas Chauvet - 5.264.1-1 +- Update to 5.264.1 + +* Wed Mar 15 2023 Nicolas Chauvet - 5.264.0-1 +- Update to 5.264.0 + +* Thu Jan 19 2023 Fedora Release Engineering - 5.229.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jan 05 2023 Nicolas Chauvet - 5.229.2-1 +- Update to 5.229.2 + +* Thu Nov 03 2022 Nicolas Chauvet - 5.229.1-1 +- Update to 5.229.1 + +* Tue Oct 18 2022 Nicolas Chauvet - 5.228.0-1 +- Update to 5.228.0 + +* Wed Aug 10 2022 Nicolas Chauvet - 4.208.0-1 +- Update to 4.208.0 + +* Thu Jul 21 2022 Fedora Release Engineering - 4.208.0-0.2.rc1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jul 05 2022 Nicolas Chauvet - 4.208.0-0.1.rc1 +- Update to 4.208.0-rc1 + +* Thu Feb 03 2022 Nicolas Chauvet - 4.192.1-1 +- Update to 4.192.1 + +* Thu Jan 20 2022 Fedora Release Engineering - 4.192.0-1.rc1.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jan 18 2022 Nicolas Chauvet - 4.192.0~rc1-1 +- Update to 4.192.0-rc1 + +* Tue Oct 05 2021 Nicolas Chauvet - 4.157.0-1 +- Update to 4.157.0 (final) + +* Thu Aug 19 2021 Nicolas Chauvet - 4.157.0-0.1.rc1 +- Update to 4.157.0-rc1 + +* Thu Jul 22 2021 Fedora Release Engineering - 3.120.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sat May 08 2021 Nicolas Chauvet - 3.120.3-1 +- Update to 3.120.3 + +* Mon Apr 19 2021 Nicolas Chauvet - 3.120.2-1 +- Update to 3.120.2 + +* Tue Apr 06 2021 Nicolas Chauvet - 3.120.1-1 +- Update to 3.120.1 + +* Thu Apr 01 2021 Nicolas Chauvet - 3.120.0-1 +- Update to 3.120.0 + +* Tue Feb 09 2021 Nicolas Chauvet - 3.104.0-1 +- Update to 3.104.0 + +* Thu Jan 28 2021 Leigh Scott - 2.72.2-1 +- Update to 2.72.2 + +* Tue Jan 26 2021 Fedora Release Engineering - 2.72.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 2.72.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 01 2020 Leigh Scott - 2.72.0-1 +- Update to 2.72.0 + +* Sat Feb 08 2020 Leigh Scott - 1.29.1-1 +- Update to 1.29.1 + +* Wed Jan 29 2020 Fedora Release Engineering - 1.21.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Dec 19 2019 Leigh Scott - 1.21.0-1 +- Update to 1.21.0 + +* Thu Jul 25 2019 Fedora Release Engineering - 1.18.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Apr 16 2019 Adam Williamson - 1.18.0-2 +- Rebuild with Meson fix for #1699099 + +* Sat Apr 06 2019 Nicolas Chauvet - 1.18.0-1 +- Update to 1.18.0 + +* Fri Feb 01 2019 Fedora Release Engineering - 0.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Oct 03 2018 Nicolas Chauvet - 0.6.0-2 +- Drop WAR patch +- Enforce the shaderc version + +* Mon Oct 01 2018 Nicolas Chauvet - 0.6.0-1 +- Update to 0.6.0 + +* Tue Jul 17 2018 Nicolas Chauvet - 0.5.0-1 +- Update to 0.5.0 + +* Fri Jul 13 2018 Fedora Release Engineering - 0.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon May 21 2018 Nicolas Chauvet - 0.4.0-2 +- Fix build on EL7 + +* Mon Feb 12 2018 Nicolas Chauvet - 0.4.0-1 +- Initial spec file + +## END: Generated by rpmautospec