%bcond_without fribidi # fribidi support
%bcond_without gme # Game Music Emu support
%bcond_without ilbc # iLBC de/encoding via WebRTC libilbc
%bcond_without fribidi # fribidi support
%bcond_without gme # Game Music Emu support
%bcond_without ilbc # iLBC de/encoding via WebRTC libilbc
%bcond_without ladspa # LADSPA audio filtering
%bcond_with mfx # MFX hardware acceleration support
%bcond_with nvenc # NVIDIA NVENC support (requires nonfree)
%bcond_without ladspa # LADSPA audio filtering
%bcond_with mfx # MFX hardware acceleration support
%bcond_with nvenc # NVIDIA NVENC support (requires nonfree)
%bcond_without pulseaudio # PulseAudio input support
%bcond_without quvi # quvi input support
%bcond_without shine # shine fixed-point MP3 encoder
%bcond_without pulseaudio # PulseAudio input support
%bcond_without quvi # quvi input support
%bcond_without shine # shine fixed-point MP3 encoder
%bcond_without ssh # SFTP protocol support via libssh
%bcond_with smb # SMB support via libsmbclient
%bcond_without soxr # SoX Resampler support
%bcond_without ssh # SFTP protocol support via libssh
%bcond_with smb # SMB support via libsmbclient
%bcond_without soxr # SoX Resampler support
URL: http://www.ffmpeg.org/
%{?with_decklink:BuildRequires: Blackmagic_DeckLink_SDK}
%{?with_openal:BuildRequires: OpenAL-devel >= 1.1}
URL: http://www.ffmpeg.org/
%{?with_decklink:BuildRequires: Blackmagic_DeckLink_SDK}
%{?with_openal:BuildRequires: OpenAL-devel >= 1.1}
%{?with_ladspa:BuildRequires: ladspa-devel}
BuildRequires: lame-libs-devel >= 3.98.3
%{?with_aacplus:BuildRequires: libaacplus-devel >= 2.0.0}
%{?with_ladspa:BuildRequires: ladspa-devel}
BuildRequires: lame-libs-devel >= 3.98.3
%{?with_aacplus:BuildRequires: libaacplus-devel >= 2.0.0}
BuildRequires: rpmbuild(macros) >= 1.470
BuildRequires: schroedinger-devel
%{?with_shine:BuildRequires: shine-devel >= 3.0.0}
BuildRequires: rpmbuild(macros) >= 1.470
BuildRequires: schroedinger-devel
%{?with_shine:BuildRequires: shine-devel >= 3.0.0}
%{?with_soxr:BuildRequires: soxr-devel}
BuildRequires: speex-devel >= 1:1.2-rc1
%{?with_doc:BuildRequires: tetex}
%{?with_soxr:BuildRequires: soxr-devel}
BuildRequires: speex-devel >= 1:1.2-rc1
%{?with_doc:BuildRequires: tetex}
%{?with_fribidi:Requires: fribidi-devel}
%{?with_gme:Requires: game-music-emu-devel}
Requires: jack-audio-connection-kit-devel
%{?with_fribidi:Requires: fribidi-devel}
%{?with_gme:Requires: game-music-emu-devel}
Requires: jack-audio-connection-kit-devel
Requires: openjpeg-devel >= 1.5
Requires: schroedinger-devel
%{?with_shine:Requires: shine-devel >= 3.0.0}
Requires: openjpeg-devel >= 1.5
Requires: schroedinger-devel
%{?with_shine:Requires: shine-devel >= 3.0.0}
# package the grep result for mplayer, the result formatted as ./mplayer/configure
cat <<EOF > ffmpeg-avconfig
# package the grep result for mplayer, the result formatted as ./mplayer/configure
cat <<EOF > ffmpeg-avconfig
--enable-libschroedinger \
%{?with_shine:--enable-libshine} \
%{?with_smb:--enable-libsmbclient} \
--enable-libschroedinger \
%{?with_shine:--enable-libshine} \
%{?with_smb:--enable-libsmbclient} \