commit ad642f12a6f2a49c59831f889cff9db72a4ddb25
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Tue Jan 9 16:54:08 2024 +0000
Enable codec2 support
ffmpeg.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index b885893..2689f6f 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -25,6 +25,7 @@
%global _without_lensfun 1
%ifnarch i686
%global _with_bs2b 1
+%global _with_codec2 1
%global _with_chromaprint 1
%global _with_ilbc 1
%global _with_openh264 1
@@ -134,6 +135,7 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release}
BuildRequires: alsa-lib-devel
BuildRequires: AMF-devel
BuildRequires: bzip2-devel
+%{?_with_codec2:BuildRequires: codec2-devel}
%{?_with_faac:BuildRequires: faac-devel}
%{?_with_fdk_aac:BuildRequires: fdk-aac-devel}
%{?_with_flite:BuildRequires: flite-devel}
@@ -327,6 +329,7 @@ Freeworld libavcodec to complement the distro counterparts
%{!?_without_bluray:--enable-libbluray} \\\
%{?_with_bs2b:--enable-libbs2b} \\\
%{?_with_caca:--enable-libcaca} \\\
+ %{?_with_codec2:--enable-libcodec2} \\\
%{?_with_cuda_nvcc:--enable-cuda-nvcc --enable-nonfree} \\\
%{?_with_cuvid:--enable-cuvid --enable-nonfree} \\\
%{!?_without_cdio:--enable-libcdio} \\\
Show replies by date