mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fix(vvenc): Add upstreamed patches, disable x86 SIMD for now (#4770)
* fix?(vvenc): Add patch Signed-off-by: Gilver <rockgrub@disroot.org> * More patches and an extra build flag Signed-off-by: Gilver <rockgrub@disroot.org> * Update vvenc.spec Signed-off-by: Gilver <rockgrub@disroot.org> * ? Signed-off-by: Gilver <rockgrub@disroot.org> * ????????????? Signed-off-by: Gilver <rockgrub@disroot.org> * Try only PATCH0 for now Signed-off-by: Gilver <rockgrub@disroot.org> * Update vvenc.spec Signed-off-by: Gilver <rockgrub@disroot.org> * Update vvenc.spec Signed-off-by: Gilver <rockgrub@disroot.org> * ...? Signed-off-by: Gilver <rockgrub@disroot.org> * Add back Patch1 Signed-off-by: Gilver <rockgrub@disroot.org> * Update vvenc.spec Signed-off-by: Gilver <rockgrub@disroot.org> --------- Signed-off-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user