diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ff2511 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/libplacebo-0.4.0.tar.gz diff --git a/libplacebo.spec b/libplacebo.spec new file mode 100644 index 0000000..8d08ec7 --- /dev/null +++ b/libplacebo.spec @@ -0,0 +1,66 @@ +Name: libplacebo +Version: 0.4.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: meson +BuildRequires: vulkan-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 + + +%build +%meson +%meson_build + + +%install +%meson_install + + +%ldconfig_scriptlets + + +%files +%license LICENSE +%doc README.md +%{_libdir}/*.so.* + +%files devel +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/libplacebo.pc + + +%changelog +* Mon Feb 12 2018 Nicolas Chauvet - 0.4.0-1 +- Initial spec file diff --git a/sources b/sources new file mode 100644 index 0000000..f8fbdeb --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (libplacebo-0.4.0.tar.gz) = 4dfcdfaa2e52d68b65219ed6ba8895388a6caadd996212cbe5389b7a2ed54296422ead3ad5b4f4495209e7bfb132cc15d6e6a0ac2edcf0ecae5562912c026710