--- /dev/null
+--- SVT-VP9-0.3.0/Source/Lib/ASM_SSE2/x86inc.asm.orig 2020-10-30 02:51:10.000000000 +0100
++++ SVT-VP9-0.3.0/Source/Lib/ASM_SSE2/x86inc.asm 2022-04-04 21:14:18.238979753 +0200
+@@ -158,6 +158,8 @@ CONFIG_NON_GREEDY_MV equ 0
+ %define FORMAT_ELF 1
+ %elifidn __OUTPUT_FORMAT__,elf64
+ %define FORMAT_ELF 1
++%elifidn __OUTPUT_FORMAT__,elfx32
++ %define FORMAT_ELF 1
+ %endif
+
+ %define FORMAT_MACHO 0
#Source0Download: https://github.com/OpenVisualCloud/SVT-VP9/releases
Source0: https://github.com/OpenVisualCloud/SVT-VP9/archive/v%{version}/SVT-VP9-%{version}.tar.gz
# Source0-md5: 1490ef3d1ce01ff06fd289a0df46870f
+Patch0: %{name}-x32.patch
URL: https://github.com/OpenVisualCloud/SVT-VP9
BuildRequires: cmake >= 2.8
BuildRequires: rpmbuild(macros) >= 1.605
%prep
%setup -q -n SVT-VP9-%{version}
+%patch0 -p1
%build
install -d build