From 76d2718dacdd57b6329cb8395aadff1e34757fbd Mon Sep 17 00:00:00 2001 From: tigro Date: Tue, 18 Jul 2023 14:53:31 +0300 Subject: [PATCH] import libplacebo-4.157.0-1.el9 --- .gitignore | 1 + .libplacebo.metadata | 1 + SPECS/libplacebo.spec | 154 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 156 insertions(+) create mode 100644 .gitignore create mode 100644 .libplacebo.metadata create mode 100644 SPECS/libplacebo.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9e8db67 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libplacebo-4.157.0.tar.gz diff --git a/.libplacebo.metadata b/.libplacebo.metadata new file mode 100644 index 0000000..f21117f --- /dev/null +++ b/.libplacebo.metadata @@ -0,0 +1 @@ +fbea95cee068c4f3410593644b7a8d912974a77f SOURCES/libplacebo-4.157.0.tar.gz diff --git a/SPECS/libplacebo.spec b/SPECS/libplacebo.spec new file mode 100644 index 0000000..d3a94f0 --- /dev/null +++ b/SPECS/libplacebo.spec @@ -0,0 +1,154 @@ +#global prerelease rc1 + +Name: libplacebo +Version: 4.157.0 +Release: 1%{?dist} +Summary: Reusable library for GPU-accelerated video/image rendering primitives + +License: LGPLv2+ +URL: https://github.com/haasn/libplacebo +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: meson +BuildRequires: lcms2-devel +BuildRequires: libepoxy-devel +BuildRequires: libshaderc-devel >= 2018.0-1 +BuildRequires: python3-mako +BuildRequires: vulkan-devel +BuildRequires: glslang-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} + + +%build +%meson \ + -Dd3d11=disabled \ + -Ddemos=False + +%meson_build + + +%install +%meson_install + + +%ldconfig_scriptlets + + +%files +%license LICENSE +%doc README.md +%{_libdir}/libplacebo.so.157 + +%files devel +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/libplacebo.pc + + +%changelog +* Tue Jul 18 2023 Arkady L. Shane - 4.157.0-1 +- Rebuilt for MSVSphere 9.2 + +* 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