-# TODO:
-# --enable-libopenmpt [BR: libopenmpt >= 0.2.6557]
#
# How to deal with ffmpeg/opencv/chromaprint checken-egg problem:
# 1. make-request -r --with bootstrap ffmpeg.spec
%bcond_without opencv # OpenCV video filtering
%bcond_without opengl # OpenGL rendering support
%bcond_with openh264 # OpenH264 H.264 encoder
+%bcond_without openmpt # OpenMPT module decoder
%bcond_without pulseaudio # PulseAudio input support
%bcond_without rubberband # rubberband filter
%bcond_without shine # shine fixed-point MP3 encoder
Summary(pl.UTF-8): FFmpeg - szybki konwerter audio/wideo
Name: ffmpeg
Version: 3.3.2
-Release: 1
+Release: 2
# LGPL or GPL, chosen at configure time (GPL version is more featured)
# (postprocessing, some filters, x264, x265, xavs, xvid, xcbgrab)
# using v3 allows Apache-licensed libs (opencore-amr, libvo-*enc)
BuildRequires: libiec61883-devel
BuildRequires: libmodplug-devel
BuildRequires: libnut-devel
+%{?with_openmpt:BuildRequires: libopenmpt-devel >= 0.2.6557}
BuildRequires: libraw1394-devel >= 2
BuildRequires: librtmp-devel
%{?with_ssh:BuildRequires: libssh-devel}
# uses gnutls_certificate_set_x509_system_trust if >= 3.0.20
Requires: gnutls-libs >= 3.0.20
%endif
+%{?with_openmpt:Requires: libopenmpt >= 0.2.6557}
%{?with_vpx:Requires: libvpx >= 1.3.0}
%{?with_rubberband:Requires: rubberband-libs >= 1.8.1}
%{?with_zimg:Requires: zimg >= 2.3.0}
Requires: libiec61883-devel
Requires: libmodplug-devel
Requires: libnut-devel
+%{?with_openmpt:Requires: libopenmpt-devel >= 0.2.6557}
Requires: libraw1394-devel >= 2
Requires: librtmp-devel
%{?with_smb:Requires: libsmbclient-devel}
%{?with_opencv:--enable-libopencv} \
%{?with_openh264:--enable-libopenh264} \
--enable-libopenjpeg \
+ %{?with_openmpt:--enable-libopenmpt} \
--enable-libopus \
%{?with_pulseaudio:--enable-libpulse} \
--enable-librtmp \