package created using the webbuild interface [release 6.338.2-1mamba;Fri Mar 15 2024]

This commit is contained in:
Silvan Calarco 2024-03-17 21:00:33 +01:00
parent 3d17b263db
commit 1bc261d44a
2 changed files with 89 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libplacebo
The core rendering algorithms and ideas of mpv rewritten as an independent library.

87
libplacebo.spec Normal file
View File

@ -0,0 +1,87 @@
Name: libplacebo
Version: 6.338.2
Release: 1mamba
Summary: The core rendering algorithms and ideas of mpv rewritten as an independent library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://libplacebo.org/
Source: https://github.com/haasn/libplacebo.git/v%{version}/libplacebo-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libSDL2-devel
BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libgcc
BuildRequires: libglfw-devel
BuildRequires: liblcms2-devel
BuildRequires: libshaderc-devel
BuildRequires: libstdc++6-devel
BuildRequires: libunwind-devel
BuildRequires: libvulkan-devel
## AUTOBUILDREQ-END
BuildRequires: meson
%description
The core rendering algorithms and ideas of mpv rewritten as an independent library.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
## note: you can add this requirement if .pc files are provided by this package
#Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package tools
Group: Applications/Multimedia
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%debug_package
%prep
%setup -q
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libplacebo.so.*
%doc LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libplacebo
%{_includedir}/libplacebo/*
%{_libdir}/libplacebo.so
%{_libdir}/pkgconfig/libplacebo.pc
%doc README.md
%files tools
%defattr(-,root,root)
%{_bindir}/plplay
%changelog
* Fri Mar 15 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.338.2-1mamba
- package created using the webbuild interface