From 8d74a586d5d61bd2c9d9bde18ee0d18c3b7f791c Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 2 Dec 2024 14:32:37 +0300 Subject: [PATCH] Fix condition for svt-av1 --- SPECS/libheif.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SPECS/libheif.spec b/SPECS/libheif.spec index fad0726..42de621 100644 --- a/SPECS/libheif.spec +++ b/SPECS/libheif.spec @@ -23,7 +23,9 @@ BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libsharpyuv) BuildRequires: pkgconfig(rav1e) %endif +%ifnarch aarch64 BuildRequires: pkgconfig(SvtAv1Enc) +%endif Recommends: %{name}-hevc = %{version}-%{release} @@ -39,7 +41,9 @@ file format decoder and encoder. %if ! (0%{?rhel} && 0%{?rhel} <= 9) %{_libdir}/%{name}/%{name}-rav1e.so %endif +%ifnarch aarch64 %{_libdir}/%{name}/%{name}-svtenc.so +%endif # ---------------------------------------------------------------------- @@ -135,7 +139,7 @@ rm -rf third-party/ %changelog * Mon Dec 2 2024 Arkady L. Shane - 1.16.1-2.el9.2 -- Build with hevc and svt-av1 +- Build with hevc and svt-av1 (for x86_64) * Fri Nov 29 2024 Eduard Basov - 1.16.1-2.el9.1 - Rebuilt against new dav1d