[x264-devel] x264: 10 bit builds

Sérgio Basto sergio at serjux.com
Tue Nov 20 20:36:38 CET 2012


Hi, I'm one of the maintainers of x264 on rpmfusion.org 

so for next release of Fedora we have: 
/usr/lib64/libx264.so.125
/usr/lib64/libx26410b.so.125 

may see it it this command:
repoquery --releasever=18 -ql x264-libs

On spec we have something like :

variants="generic generic10"
for variant in $variants ; do
  rm -rf ${variant}
  cp -pr %{name}-%{branch}-%{snapshot} ${variant}
done

%build
pushd generic 
%{x_configure}\
    --host=%{_target_platform} \
    --libdir=%{_libdir} \
%ifarch i686 armv5tel armv6l
    --disable-asm \
%endif
%{__make} %{?_smp_mflags}
popd


pushd generic10
%{x_configure}\
    --host=%{_target_platform} \
    --libdir=%{_libdir} \
%ifarch i686 armv5tel armv6l
    --disable-asm \
%endif
    --bit-depth=10

sed -i -e "s/SONAME=libx264.so./SONAME=libx26410b.so./" config.mak

%{__make} %{?_smp_mflags}
popd





-- 
Sérgio M. B.



More information about the x264-devel mailing list