commit 5dc5d6b081e84887dbda9305398e59c2522ed2df
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Sep 5 08:45:38 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 153663b..9ed5632 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -148,7 +148,7 @@ BuildRequires: opencl-headers ocl-icd-devel
%endif
%{!?_without_opencv:BuildRequires: opencv-devel}
BuildRequires: openjpeg2-devel
-BuildRequires: opus-devel
+%{!?_without_opus:BuildRequires: opus-devel}
%{!?_without_pulse:BuildRequires: pulseaudio-libs-devel}
BuildRequires: perl(Pod::Man)
%{?_with_rubberband:BuildRequires: rubberband-devel}
@@ -262,7 +262,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} \\\
%{?_with_rtmp:--enable-librtmp} \\\
%{?_with_rubberband:--enable-librubberband} \\\