fix(vvenc): Add upstreamed patches, disable x86 SIMD for now (#4770) (#4782)

* fix?(vvenc): Add patch



* More patches and an extra build flag



* Update vvenc.spec



* ?



* ?????????????



* Try only PATCH0 for now



* Update vvenc.spec



* Update vvenc.spec



* ...?



* Add back Patch1



* Update vvenc.spec



---------


(cherry picked from commit ed198d59ee)

Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Raboneko
2025-05-11 02:00:45 -07:00
committed by GitHub
parent 7110aae363
commit 29530e2eec
+8 -5
View File
@@ -2,12 +2,15 @@
Name: vvenc
Version: 1.13.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: VVenC, the Fraunhofer Versatile Video Encoder
License: BSD-3-Clause
URL: https://github.com/fraunhoferhhi/%{name}
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# Fixes for i386/ARM32 builds
Patch0: %{url}/commit/ebce395254d9d7be7dc00cec7b49c7ed1d9eebec.patch
Patch1: %{url}/commit/bfd55ee783bfe30fc73f6f314b066b84bb1e5b60.patch
BuildRequires: cmake
BuildRequires: gcc-c++
@@ -45,12 +48,12 @@ developing applications that use %{name}.
%autosetup -p1
%build
%ifarch %ix86
export LDFLAGS="%{optflags} -Wl,--unresolved-symbols=ignore-all"
%endif
%cmake \
-DCMAKE_SKIP_INSTALL_RPATH=OFF \
-DVVENC_INSTALL_FULLFEATURE_APP=ON
-DVVENC_INSTALL_FULLFEATURE_APP=ON \
%ifarch %ix86
-DVVENC_ENABLE_X86_SIMD=FALSE
%endif
%cmake_build
%install