commit a4a20021515b80f29bf0451b3126873e3de37c9a
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Sep 5 10:52:22 2018 +0200
Add without_opus switch
ffmpeg.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 67d5385..7935dba 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -141,7 +141,7 @@ BuildRequires: opencl-headers ocl-icd-devel
%endif
%{!?_without_opencv:BuildRequires: opencv-devel}
BuildRequires: openjpeg2-devel
-BuildRequires: opus-devel >= 1.1.3
+%{!?_without_opus:BuildRequires: opus-devel >= 1.1.3}
%{!?_without_pulse:BuildRequires: pulseaudio-libs-devel}
BuildRequires: perl(Pod::Man)
%{?_with_rubberband:BuildRequires: rubberband-devel}
@@ -255,7 +255,7 @@ This package contains development files for %{name}
%{!?_without_opencv:--enable-libopencv} \\\
%{!?_without_opengl:--enable-opengl} \\\
--enable-libopenjpeg \\\
- --enable-libopus \\\
+ %{!?_without_opus:--enable-libopus} \\\
%{!?_without_pulse:--enable-libpulse} \\\
--enable-librsvg \\\
%{?_with_rtmp:--enable-librtmp} \\\