commit e72bb6dca7dc81ccbde037b2da46b034d9f39328
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Sep 5 15:22:41 2022 +0100
Enable everything we can for el9
ffmpeg.spec | 41 +++++++++--------------------------------
1 file changed, 9 insertions(+), 32 deletions(-)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index c431d38..943a58a 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -15,14 +15,19 @@
# Cuda and others are only available on some arches
%global cuda_arches x86_64
-%if 0%{?fedora}
# Disable because of gcc issue
%global _without_lensfun 1
%ifnarch i686
%global _with_bs2b 1
-#global _with_chromaprint 1
+%global _with_chromaprint 1
%global _with_ilbc 1
+%if 0%{?fedora}
%global _with_rav1e 1
+%else
+%global _without_vulkan 1
+%global _without_frei0r 1
+%global _without_lv2 1
+%endif
%global _with_rtmp 1
%global _with_rubberband 1
%global _with_smb 1
@@ -38,40 +43,12 @@
%endif
%ifarch x86_64
%global _with_mfx 1
+%if 0%{?fedora}
%global _with_svtav1 1
-%global _with_vapoursynth 1
-%global _with_vmaf 1
%endif
-%endif
-
-%if 0%{?rhel}
-%global _without_lensfun 1
-%global _without_lv2 1
-%global _without_vulkan 1
-%if 0%{?el7}
-%global _without_aom 1
-%global _without_dav1d 1
-%global _without_frei0r 1
-%global _without_opus 1
-%global _without_vpx 1
-%endif
-%if 0%{?rhel} > 7
-%ifarch x86_64
-%global _with_mfx 1
-%global _with_svtav1 1
%global _with_vapoursynth 1
%global _with_vmaf 1
%endif
-%endif
-%if 0%{?el9}
-%global _without_frei0r 1
-%global _without_jack 1
-%undefine _with_caca
-%ifnarch x86_64
-%global _without_vaapi 1
-%endif
-%endif
-%endif
# flavor nonfree
%if 0%{?_with_cuda:1}
@@ -228,7 +205,7 @@ BuildRequires: perl(Pod::Man)
BuildRequires: soxr-devel
BuildRequires: speex-devel
BuildRequires: pkgconfig(srt)
-%{?_with_svtav1:BuildRequires: svt-av1-devel}
+%{?_with_svtav1:BuildRequires: svt-av1-devel >= 0.9.0}
%{?_with_tesseract:BuildRequires: tesseract-devel}
#BuildRequires: texi2html
BuildRequires: texinfo
Show replies by date