summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik 'Rathann' Mierzejewski <rpm@greysector.net>2016-07-16 00:15:38 +0200
committerDominik 'Rathann' Mierzejewski <rpm@greysector.net>2016-07-16 00:15:38 +0200
commit1c686737ff9ad8e2fdf08aef3c1216c1d5dc32bd (patch)
tree117d2a1b7f90d745adc8e183eff16a1330b153b8
parentf349d0c030b43b8d95ab4da86326bb18dc96972e (diff)
downloadffmpeg-1c686737ff9ad8e2fdf08aef3c1216c1d5dc32bd.tar.gz
ffmpeg-1c686737ff9ad8e2fdf08aef3c1216c1d5dc32bd.tar.xz
ffmpeg-1c686737ff9ad8e2fdf08aef3c1216c1d5dc32bd.zip
make xvidcore support optional
-rw-r--r--ffmpeg.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 1b3b0e8..7bc6d7c 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -74,7 +74,7 @@ BuildRequires: subversion
BuildRequires: texinfo
%{!?_without_x264:BuildRequires: x264-devel >= 0.0.0-0.31}
%{!?_without_x265:BuildRequires: x265-devel}
-BuildRequires: xvidcore-devel
+%{?_with_xvid:BuildRequires: xvidcore-devel}
BuildRequires: zlib-devel
%ifarch %{ix86} x86_64
BuildRequires: yasm
@@ -160,7 +160,7 @@ This package contains development files for %{name}
%{!?_without_vpx:--enable-libvpx} \\\
%{!?_without_x264:--enable-libx264} \\\
%{!?_without_x265:--enable-libx265} \\\
- --enable-libxvid \\\
+ %{?_with_xvid:--enable-libxvid} \\\
--enable-x11grab \\\
--enable-avfilter \\\
--enable-avresample \\\
@@ -271,6 +271,7 @@ install -pm755 tools/qt-faststart $RPM_BUILD_ROOT%{_bindir}
- add conditional support for QSV via libmfx (rfbz#4043)
- drop libcelt support (celt 0.11 no longer available in Fedora)
- drop libdirac support (unsupported by FFmpeg)
+- make xvidcore support optional
* Thu Jul 07 2016 Julian Sikorski <belegdol@fedoraproject.org> - 3.0.2-3
- Fixed build failure on rawhide due to newer opencv using a patch from upstream