Fix ARM and add bootsrap

el8
Nicolas Chauvet 13 years ago
parent d83b12c692
commit 5d830c55b5

@ -1,12 +1,14 @@
%global snapshot 20120303 %global snapshot 20120303
%global branch stable %global branch stable
#global _without_gpac 0 %{?_with_bootrap:
%global _with_libavformat 1 %global _without_gpac 1
%global _without_libavformat 1
}
Summary: H264/AVC video streams encoder Summary: H264/AVC video streams encoder
Name: x264 Name: x264
Version: 0.120 Version: 0.120
Release: 3.%{snapshot}%{?dist} Release: 4.%{snapshot}%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://developers.videolan.org/x264.html URL: http://developers.videolan.org/x264.html
@ -15,7 +17,7 @@ Source1: x264-snapshot.sh
# don't remove config.h and don't re-run version.sh # don't remove config.h and don't re-run version.sh
Patch0: x264-nover.patch Patch0: x264-nover.patch
%{!?_without_gpac:BuildRequires: gpac-devel-static zlib-devel} %{!?_without_gpac:BuildRequires: gpac-devel-static zlib-devel}
%{?_with_libavformat:BuildRequires: ffmpeg-devel} %{!?_without_libavformat:BuildRequires: ffmpeg-devel}
%{?_with_ffmpegsource:BuildRequires: ffmpegsource-devel} %{?_with_ffmpegsource:BuildRequires: ffmpegsource-devel}
%{?_with_visualize:BuildRequires: libX11-devel} %{?_with_visualize:BuildRequires: libX11-devel}
%ifarch x86_64 i686 %ifarch x86_64 i686
@ -57,7 +59,7 @@ This package contains the development files.
--includedir=%{_includedir} \\\ --includedir=%{_includedir} \\\
--extra-cflags="$RPM_OPT_FLAGS" \\\ --extra-cflags="$RPM_OPT_FLAGS" \\\
%{?_with_visualize:--enable-visualize} \\\ %{?_with_visualize:--enable-visualize} \\\
%{!?_with_libavformat:--disable-lavf} \\\ %{?_without_libavformat:--disable-lavf} \\\
%{!?_with_ffmpegsource:--disable-ffms} \\\ %{!?_with_ffmpegsource:--disable-ffms} \\\
--enable-debug \\\ --enable-debug \\\
--enable-shared \\\ --enable-shared \\\
@ -77,7 +79,7 @@ cp -a `ls -1|grep -v simd` simd/
%{x_configure}\ %{x_configure}\
--host=%{_target_platform} \ --host=%{_target_platform} \
--libdir=%{_libdir} \ --libdir=%{_libdir} \
%ifarch i686 armv5tel %ifarch i686 armv5tel armv6l
--disable-asm \ --disable-asm \
%endif %endif
@ -134,8 +136,9 @@ touch -r version.h %{buildroot}%{_includedir}/x264.h %{buildroot}%{_includedir}/
%endif %endif
%changelog %changelog
* Sun Apr 08 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.120-3.20120303 * Tue May 01 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.120-4.20120303
- Disable ASM on armv5tel - Disable ASM on armv5tel armv6l
- Add --with bootstrap conditional
* Tue Mar 6 2012 Sérgio Basto <sergio@serjux.com> - 0.120-2.20120303 * Tue Mar 6 2012 Sérgio Basto <sergio@serjux.com> - 0.120-2.20120303
- Enable libavformat , after compile ffmeg with 0.120-1 - Enable libavformat , after compile ffmeg with 0.120-1

Loading…
Cancel
Save