commit e6d8d339120896273c588bbfda304d009ebcc48a Author: tigro Date: Fri May 3 00:13:00 2024 +0300 import libplacebo6-6.338.2-1.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bab7fdc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libplacebo-6.338.2.tar.gz diff --git a/.libplacebo6.metadata b/.libplacebo6.metadata new file mode 100644 index 0000000..9806711 --- /dev/null +++ b/.libplacebo6.metadata @@ -0,0 +1 @@ +35cbfe108eb54dcb08ff0a6d2684b2f12f15f6b6 SOURCES/libplacebo-6.338.2.tar.gz diff --git a/SPECS/libplacebo6.spec b/SPECS/libplacebo6.spec new file mode 100644 index 0000000..a1cd5d0 --- /dev/null +++ b/SPECS/libplacebo6.spec @@ -0,0 +1,96 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + 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 + +Name: libplacebo6 +Version: 6.338.2 +Release: %autorelease +Summary: Reusable library for GPU-accelerated video/image rendering primitives + +License: LGPL-2.0-or-later +URL: https://github.com/haasn/libplacebo +Source: %{url}/archive/v%{version}/libplacebo-%{version}.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 + +Conflicts: (libplacebo >= 6.338 with libplacebo < 6.339) + + +%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} +Conflicts: pkgconfig(libplacebo) + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%autosetup -p1 -n libplacebo-%{version} + + +%build +%meson \ + -Dd3d11=disabled \ + -Ddemos=False + +%meson_build + + +%install +%meson_install + + +%files +%license LICENSE +%doc README.md +%{_libdir}/libplacebo.so.338 + +%files devel +%{_includedir}/libplacebo +%{_libdir}/libplacebo.so +%{_libdir}/pkgconfig/libplacebo.pc + + +%changelog +* Fri May 03 2024 Arkady L. Shane - 6.338.2-1 +- Rebuilt for MSVSphere 9.3 + +## START: Generated by rpmautospec +* Wed May 01 2024 Carl George - 6.338.2-1 +- Initial libplacebo6 compat package based on libplacebo +## END: Generated by rpmautospec