commit 2b906ac1fe789a1032230b312f9473904581a01d
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Apr 10 13:18:10 2020 +0200
Enable libsrt by default
ffmpeg.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index bd6dae0..7596a14 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -12,6 +12,7 @@
%global _without_dav1d 1
%global _without_frei0r 1
%global _without_opus 1
+%global _without_srt 1
%global _without_vpx 1
%endif
@@ -132,6 +133,7 @@ BuildRequires: libmodplug-devel
BuildRequires: librsvg2-devel
%{?_with_rtmp:BuildRequires: librtmp-devel}
%{?_with_smb:BuildRequires: libsmbclient-devel}
+%{!?_without_srt:BuildRequires: srt-devel > 1.3.0}
BuildRequires: libssh-devel
BuildRequires: libtheora-devel
BuildRequires: libv4l-devel
@@ -284,6 +286,7 @@ This package contains development files for %{name}
%{?_with_rubberband:--enable-librubberband} \\\
%{?_with_smb:--enable-libsmbclient} \\\
%{?_with_snappy:--enable-libsnappy} \\\
+ %{!?_without_srt:--enable-libsrt} \\\
--enable-libsoxr \\\
--enable-libspeex \\\
--enable-libssh \\\