|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
Name: libplacebo
|
|
|
|
|
Version: 3.104.0
|
|
|
|
|
Version: 3.120.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Reusable library for GPU-accelerated video/image rendering primitives
|
|
|
|
|
|
|
|
|
@ -14,17 +14,8 @@ BuildRequires: lcms2-devel
|
|
|
|
|
BuildRequires: libepoxy-devel
|
|
|
|
|
BuildRequires: libshaderc-devel >= 2018.0-1
|
|
|
|
|
BuildRequires: python3-mako
|
|
|
|
|
# Use a more modern compiler toolchain on EL7
|
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
|
BuildRequires: devtoolset-7-toolchain, devtoolset-7-libatomic-devel
|
|
|
|
|
# Vulkan is optional, but only available on theses arches for EL7
|
|
|
|
|
%ifarch x86_64 ppc64le
|
|
|
|
|
BuildRequires: vulkan-devel
|
|
|
|
|
%endif
|
|
|
|
|
%else # Fedora
|
|
|
|
|
BuildRequires: vulkan-devel
|
|
|
|
|
BuildRequires: glslang-devel
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -53,17 +44,8 @@ developing applications that use %{name}.
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
|
. /opt/rh/devtoolset-7/enable
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
|
. /opt/rh/devtoolset-7/enable
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%meson
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
@ -78,7 +60,7 @@ developing applications that use %{name}.
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{_libdir}/libplacebo.so.104
|
|
|
|
|
%{_libdir}/libplacebo.so.120
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/*
|
|
|
|
@ -87,6 +69,9 @@ developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Apr 01 2021 Nicolas Chauvet <kwizart@gmail.com> - 3.120.0-1
|
|
|
|
|
- Update to 3.120.0
|
|
|
|
|
|
|
|
|
|
* Tue Feb 09 2021 Nicolas Chauvet <kwizart@gmail.com> - 3.104.0-1
|
|
|
|
|
- Update to 3.104.0
|
|
|
|
|
|
|
|
|
|