Build with Svt-Av1 only for x86_64

changed/i9/libheif-1.16.1-1.el9
Arkady L. Shane 2 months ago
parent c01b0a00e9
commit df21078bc1
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -21,9 +21,11 @@ BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libsharpyuv)
BuildRequires: pkgconfig(rav1e)
%endif
%ifarch x86_64
%if ! ((0%{?rhel} && 0%{?rhel} <= 8) || (0%{?fedora} && 0%{?fedora} < 38))
BuildRequires: pkgconfig(SvtAv1Enc)
%endif
%endif
%description
libheif is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File Format)
@ -37,9 +39,11 @@ file format decoder and encoder.
%if ! (0%{?rhel} && 0%{?rhel} <= 8)
%{_libdir}/%{name}/%{name}-rav1e.so
%endif
%ifarch x86_64
%if ! ((0%{?rhel} && 0%{?rhel} <= 8) || (0%{?fedora} && 0%{?fedora} < 38))
%{_libdir}/%{name}/%{name}-svtenc.so
%endif
%endif
# ----------------------------------------------------------------------

Loading…
Cancel
Save