From b8caddeb2b2e9394dd931f61b80a4e4a2b3967e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Mon, 1 Aug 2016 03:05:06 +0100 Subject: [PATCH] Enable asm in build with 10bit on i686 For other libx264 with 10bit, I don't think it's relevant to also build the non asm version since it will be used by compute intensive video application ( and will be dlopened as isn't linked, so that's a different story). --- x264.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/x264.spec b/x264.spec index aa9d14e..77ea5e9 100644 --- a/x264.spec +++ b/x264.spec @@ -22,7 +22,7 @@ Summary: H264/AVC video streams encoder Name: x264 Version: 0.%{api} -Release: 8%{?gver}%{?_with_bootstrap:_bootstrap}%{?dist} +Release: 9%{?gver}%{?_with_bootstrap:_bootstrap}%{?dist} License: GPLv2+ URL: http://developers.videolan.org/x264.html Source0: %{name}-0.%{api}-%{snapshot}.tar.bz2 @@ -114,7 +114,9 @@ popd pushd generic10 %{x_configure}\ +%ifnarch i686 %{?_without_asm:--disable-asm}\ +%endif --bit-depth=10 sed -i -e "s/SONAME=libx264.so./SONAME=libx26410b.so./" config.mak @@ -172,6 +174,9 @@ touch -r generic/version.h %{buildroot}%{_includedir}/x264.h %{buildroot}%{_incl %{_libdir}/libx26410b.so %changelog +* Mon Aug 01 2016 Sérgio Basto - 0.148-9.20160614gita5e06b9 +- Enable asm in build with 10bit on i686 + * Sat Jul 30 2016 Julian Sikorski - 0.148-8.20160614gita5e06b9 - Rebuilt for ffmpeg-3.1.1