%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
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-libvo-amrwbenc \
--enable-libvorbis \
%{?with_vpx:--enable-libvpx} \
- --enable-libx264 \
+ %{?with_x264:--enable-libx264} \
--enable-libxavs \
--enable-libxvid \
--enable-postproc \