Do not build SVT-AV1 plugin for Fedora < 38

epel9
Neal Gompa 2 years ago
parent 03670ea9c4
commit 0dcf872496

@ -24,6 +24,8 @@ BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libpng)
%if ! (0%{?rhel} && 0%{?rhel} <= 9)
BuildRequires: pkgconfig(rav1e)
%endif
%if ! ((0%{?rhel} && 0%{?rhel} <= 9) || (0%{?fedora} && 0%{?fedora} < 38))
BuildRequires: pkgconfig(SvtAv1Enc)
%endif
@ -38,6 +40,8 @@ file format decoder and encoder.
%dir %{_libdir}/%{name}
%if ! (0%{?rhel} && 0%{?rhel} < 9)
%{_libdir}/%{name}/%{name}-rav1e.so
%endif
%if ! ((0%{?rhel} && 0%{?rhel} <= 9) || (0%{?fedora} && 0%{?fedora} < 38))
%{_libdir}/%{name}/%{name}-svtenc.so
%endif

Loading…
Cancel
Save