# Conditional build:
%bcond_with nonfree # non free options of package (currently: faac)
%bcond_without autoreqdep # don't care about package name deps generated by rpm
+%bcond_without frei0r # build without frei0r video filtering
+%bcond_without x264 # build without x264 encoder
%bcond_without va # VAAPI (Video Acceleration API)
%bcond_without vpx # VP8, a high-quality video codec
%bcond_without doc # don't build docs
Summary: FFmpeg - a very fast video and audio converter
Summary(pl.UTF-8): FFmpeg - szybki konwerter audio/wideo
Name: ffmpeg
-Version: 0.8.2
+Version: 0.8.3
Release: 1
# LGPL or GPL, chosen at configure time (GPL version is more featured)
# (postprocessing, some filters, x264, xavs, xvid, x11grab)
License: GPL v3+ with LGPL v3+ parts
Group: Applications/Multimedia
Source0: http://ffmpeg.org/releases/%{name}-%{version}.tar.bz2
-# Source0-md5: 967d481c98161582d149aced6e3b2f31
+# Source0-md5: 556870ccfd6c9c0426c7dd86dd5beb62
Source1: ffserver.init
Source2: ffserver.sysconfig
Source3: ffserver.conf
BuildRequires: dirac-devel >= 1.0.0
%{?with_nonfree:BuildRequires: faac-devel}
BuildRequires: freetype-devel
-BuildRequires: frei0r-devel
+%{?with_frei0r:BuildRequires: frei0r-devel}
%ifarch ppc
# require version with altivec support fixed
BuildRequires: gcc >= 5:3.3.2-3
BuildRequires: libvorbis-devel
%{?with_vpx:BuildRequires: libvpx-devel >= 0.9.6}
# X264_BUILD >= 83
-BuildRequires: libx264-devel >= 0.1.3-1.20110625_2245
+%{?with_x264:BuildRequires: libx264-devel >= 0.1.3-1.20110625_2245}
BuildRequires: opencore-amr-devel
BuildRequires: openjpeg-devel >= 1.3-2
BuildRequires: speex-devel >= 1:1.2-rc1
%{?with_va:Requires: libva-devel >= 1.0.3}
Requires: libvorbis-devel
%{?with_vpx:Requires: libvpx-devel >= 0.9.6}
-Requires: libx264-devel >= 0.1.3-1.20110625_2245
+%{?with_x264:Requires: libx264-devel >= 0.1.3-1.20110625_2245}
Requires: opencore-amr-devel
Requires: openjpeg-devel >= 1.3-2
Requires: schroedinger-devel
--enable-avfilter \
--enable-gpl \
--enable-version3 \
- --enable-frei0r \
+ %{?with_frei0r:--enable-frei0r} \
--enable-libdc1394 \
--enable-libcelt \
--enable-libdirac \
--enable-libvo-amrwbenc \
--enable-libvorbis \
%{?with_vpx:--enable-libvpx} \
- --enable-libx264 \
+ %{?with_x264:--enable-libx264} \
--enable-libxavs \
--enable-libxvid \
--enable-postproc \