Deactivated FFMPEG support for redhat systems (deps not in repo)

This commit is contained in:
Armin Novak 2018-08-13 14:34:06 +02:00
parent dd26659ab0
commit aad5c45b63

View File

@ -80,10 +80,10 @@ BuildRequires: dbus-glib-devel
BuildRequires: gstreamer1-devel BuildRequires: gstreamer1-devel
BuildRequires: gstreamer1-plugins-base-devel BuildRequires: gstreamer1-plugins-base-devel
BuildRequires: libjpeg-turbo-devel BuildRequires: libjpeg-turbo-devel
BuildRequires: ffmpeg-devel #BuildRequires: ffmpeg-devel
%endif %endif
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8 %if 0%{?fedora} >= 21 || 0%{?rhel} >= 8 || %{defined suse_version}
BuildRequires: libwayland-client-devel BuildRequires: libwayland-client-devel
%endif %endif
@ -118,8 +118,11 @@ cp %{_topdir}/SOURCES/source_version freerdp-nightly-%{version}/.source_version
-DWITH_PCSC=ON \ -DWITH_PCSC=ON \
-DWITH_JPEG=ON \ -DWITH_JPEG=ON \
-DWITH_GSTREAMER_0_10=ON \ -DWITH_GSTREAMER_0_10=ON \
%if %{defined suse_version}
-DWITH_FFMPEG=ON \ -DWITH_FFMPEG=ON \
-DWITH_DSP_FFMPEG=ON \ -DWITH_DSP_FFMPEG=ON \
%endif
%if %{defined rhel} && 0%{?rhel} <= 7 %if %{defined rhel} && 0%{?rhel} <= 7
-DWITH_WAYLAND=OFF \ -DWITH_WAYLAND=OFF \
%endif %endif