commit 2a81e2241e828151f18f8220049c5e1d19a9621e
Author: Dominik 'Rathann' Mierzejewski <rpm(a)greysector.net>
Date: Sat Sep 3 14:45:05 2016 +0200
don't try to enable libmfx on non-x86
ffmpeg.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index ea034cb..4a92ae5 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -178,7 +178,6 @@ This package contains development files for %{name}
%{?_with_gme:--enable-libgme} \\\
--enable-libgsm \\\
%{?_with_ilbc:--enable-libilbc} \\\
- %{!?_without_qsv:--enable-libmfx} \\\
--enable-libmp3lame \\\
%{?_with_netcdf:--enable-netcdf} \\\
%{!?_without_nvenc:--enable-nvenc --extra-cflags="-I%{_includedir}/nvenc"}
\\\
@@ -245,6 +244,9 @@ cp -pr doc/examples/{*.c,Makefile,README} _doc/examples/
%ifarch %{ix86}
--cpu=%{_target_cpu} \
%endif
+%ifarch %{ix86} x86_64
+ %{!?_without_qsv:--enable-libmfx} \\\
+%endif
%ifarch %{ix86} x86_64 ppc ppc64
--enable-runtime-cpudetect \
%endif
Show replies by date