commit 7d4c249e9d7797189734724e1a1fae57bda8fb06
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Wed Jun 24 12:21:34 2020 +0100
Fix conditionals
ffmpeg.spec | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index b772898..33b907e 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -14,10 +14,12 @@
%global _without_opus 1
%global _without_srt 1
%global _without_vpx 1
-%global _without_vapoursynth 1
%endif
%if 0%{?fedora} || 0%{?rhel} > 7
+%ifarch x86_64 i686
+%global _with_vapoursynth 1
+%endif
%ifarch x86_64
%global _with_mfx 1
%global _with_vmaf 1
@@ -142,7 +144,7 @@ BuildRequires: libv4l-devel
%{?!_without_vaapi:BuildRequires: libva-devel >= 0.31.0}
BuildRequires: libvdpau-devel
BuildRequires: libvorbis-devel
-%{?!_without_vapoursynth:BuildRequires: vapoursynth-devel}
+%{?_with_vapoursynth:BuildRequires: vapoursynth-devel}
%{?!_without_vpx:BuildRequires: libvpx-devel >= 1.4.0}
%{?_with_mfx:BuildRequires: pkgconfig(libmfx) >= 1.23-1}
%ifarch %{ix86} x86_64
@@ -300,7 +302,7 @@ This package contains development files for %{name}
--enable-libv4l2 \\\
%{!?_without_vidstab:--enable-libvidstab} \\\
%{?_with_vmaf:--enable-libvmaf --enable-version3} \\\
- %{!?_without_vapoursynth:--enable-vapoursynth} \\\
+ %{?_with_vapoursynth:--enable-vapoursynth} \\\
%{!?_without_vpx:--enable-libvpx} \\\
%{?_with_webp:--enable-libwebp} \\\
%{!?_without_x264:--enable-libx264} \\\
Show replies by date