88 lines
2.3 KiB
RPMSpec
88 lines
2.3 KiB
RPMSpec
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
|