You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libplacebo/libplacebo.spec

83 lines
2.0 KiB

#global prerelease -rc1
7 years ago
Name: libplacebo
Version: 6.338.1
Release: %autorelease
7 years ago
Summary: Reusable library for GPU-accelerated video/image rendering primitives
License: LGPLv2+
URL: https://github.com/haasn/libplacebo
Source0: %{url}/archive/v%{version}%{?prerelease}/%{name}-%{version}%{?prerelease}.tar.gz
7 years ago
7 years ago
BuildRequires: gcc
6 years ago
BuildRequires: gcc-c++
7 years ago
BuildRequires: meson
BuildRequires: glad2 >= 2.0.0
6 years ago
BuildRequires: lcms2-devel
BuildRequires: libdovi-devel
BuildRequires: libepoxy-devel
3 years ago
BuildRequires: libunwind-devel
BuildRequires: libshaderc-devel >= 2018.0-1
BuildRequires: python3-mako
BuildRequires: spirv-tools-devel
7 years ago
BuildRequires: vulkan-devel
BuildRequires: glslang-devel
BuildRequires: xxhash-devel
7 years ago
%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}%{?prerelease}
7 years ago
%build
%meson \
-Dd3d11=disabled \
-Ddemos=False
7 years ago
%meson_build
%install
%meson_install
%ldconfig_scriptlets
%files
%license LICENSE
%doc README.md
%{_libdir}/libplacebo.so.338
7 years ago
%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/libplacebo.pc
%changelog
%autochangelog