|
|
@ -21,13 +21,13 @@
|
|
|
|
%global _without_aom 1
|
|
|
|
%global _without_aom 1
|
|
|
|
%global _without_dav1d 1
|
|
|
|
%global _without_dav1d 1
|
|
|
|
%global _without_frei0r 1
|
|
|
|
%global _without_frei0r 1
|
|
|
|
%global _without_mfx 1
|
|
|
|
|
|
|
|
%global _without_opus 1
|
|
|
|
%global _without_opus 1
|
|
|
|
%global _without_vpx 1
|
|
|
|
%global _without_vpx 1
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
%ifarch x86_64
|
|
|
|
%ifarch x86_64
|
|
|
|
|
|
|
|
%global _with_mfx 1
|
|
|
|
%global _with_vmaf 1
|
|
|
|
%global _with_vmaf 1
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -148,8 +148,8 @@ BuildRequires: libv4l-devel
|
|
|
|
BuildRequires: libvdpau-devel
|
|
|
|
BuildRequires: libvdpau-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
|
|
|
%{?!_without_vpx:BuildRequires: libvpx-devel >= 1.4.0}
|
|
|
|
%{?!_without_vpx:BuildRequires: libvpx-devel >= 1.4.0}
|
|
|
|
|
|
|
|
%{?_with_mfx:BuildRequires: pkgconfig(libmfx) >= 1.23-1}
|
|
|
|
%ifarch %{ix86} x86_64
|
|
|
|
%ifarch %{ix86} x86_64
|
|
|
|
%{!?_without_mfx:BuildRequires: pkgconfig(libmfx) >= 1.23-1}
|
|
|
|
|
|
|
|
BuildRequires: nasm
|
|
|
|
BuildRequires: nasm
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%{?_with_webp:BuildRequires: libwebp-devel}
|
|
|
|
%{?_with_webp:BuildRequires: libwebp-devel}
|
|
|
@ -349,9 +349,7 @@ cp -pr doc/examples/{*.c,Makefile,README} _doc/examples/
|
|
|
|
%ifarch %{ix86}
|
|
|
|
%ifarch %{ix86}
|
|
|
|
--cpu=%{_target_cpu} \
|
|
|
|
--cpu=%{_target_cpu} \
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%ifarch %{ix86} x86_64
|
|
|
|
%{?_with_mfx:--enable-libmfx} \
|
|
|
|
%{!?_without_mfx:--enable-libmfx} \
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%ifarch %{ix86} x86_64 %{power64}
|
|
|
|
%ifarch %{ix86} x86_64 %{power64}
|
|
|
|
--enable-runtime-cpudetect \
|
|
|
|
--enable-runtime-cpudetect \
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|