Changes of Revision 13
libx264.patch
Deleted
x
1
2
-[ 40s] lto1: warning: switch '-mcpu=cortex-a8' conflicts with '-march=armv7-a' switch
3
---- a/configure
4
-+++ b/configure
5
-@@ -966,7 +966,6 @@ fi
6
-
7
- if [ $asm = auto -a $ARCH = ARM ] ; then
8
- # set flags so neon is built by default
9
-- [ $compiler == CL ] || echo $CFLAGS | grep -Eq '(-mcpu|-march|-mfpu)' || CFLAGS="$CFLAGS -mcpu=cortex-a8 -mfpu=neon"
10
-
11
- cc_check '' '' '__asm__("add r0, r1, r2");' && define HAVE_ARM_INLINE_ASM
12
- if [ $compiler = CL ] && cpp_check '' '' 'defined(_M_ARM) && _M_ARM >= 7' ; then
13
-@@ -1031,7 +1030,7 @@ ASFLAGS="$ASFLAGS -DSTACK_ALIGNMENT=$sta
14
- CPU_ENDIAN="little-endian"
15
- if [ $compiler = GNU ]; then
16
- echo "int i[2] = {0x42494745,0}; double f[2] = {0x1.0656e6469616ep+102,0};" > conftest.c
17
-- $CC $CFLAGS conftest.c -c -o conftest.o 2>/dev/null || die "endian test failed"
18
-+ $CC $CFLAGS -fno-lto conftest.c -c -o conftest.o 2>/dev/null || die "endian test failed"
19
- if (${STRINGS} -a conftest.o | grep -q BIGE) && (${STRINGS} -a conftest.o | grep -q FPendian) ; then
20
- define WORDS_BIGENDIAN
21
- CPU_ENDIAN="big-endian"
22
project.diff
Deleted
109
1
2
---- libx264.changes.orig
3
-+++ libx264.changes
4
-@@ -1,4 +1,9 @@
5
- -------------------------------------------------------------------
6
-+Tue Dec 29 16:16:16 UTC 2020 - olaf@aepfle.de
7
-+
8
-+- Fix arm build with libx264.patch
9
-+
10
-+-------------------------------------------------------------------
11
- Sat Nov 28 14:21:00 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
12
-
13
- - Update to git version 0.161+git20200912.d198931a
14
---- libx264.spec.orig
15
-+++ libx264.spec
16
-@@ -17,15 +17,25 @@
17
- #
18
-
19
-
20
--%define _lto_cflags %{nil}
21
- # remember to adjust baselibs.conf
22
- %define sover 161
23
- %bcond_with gpac
24
--%bcond_with x264_binary
25
--Name: libx264
26
-+
27
-+%define build_flavor @BUILD_FLAVOR@%{nil}
28
-+%define tag libx264
29
-+%if "%{build_flavor}" == ""
30
-+%define pkg %{tag}
31
-+%else
32
-+%define pkg %{tag}-%{build_flavor}
33
-+%endif
34
-+Name: %{pkg}
35
- Version: 0.161+git20200912.d198931a
36
- Release: 0
37
--Summary: A free h264/avc encoder - encoder binary
38
-+%if "%{build_flavor}" == ""
39
-+Summary: A free h264/avc encoder
40
-+%else
41
-+Summary: Command line tool for libx264
42
-+%endif
43
- License: GPL-2.0-or-later
44
- Group: Productivity/Multimedia/Video/Editors and Convertors
45
- URL: http://www.videolan.org/developers/x264.html
46
-@@ -34,10 +44,11 @@ Source1: baselibs.conf
47
- Patch0: x264-use-shared-library.patch
48
- # PATCH_FIX-OPENSUSE x264-gpac_no_static.patch
49
- Patch2: x264-gpac_no_static.patch
50
-+Patch3: libx264.patch
51
- BuildRequires: nasm >= 2.13
52
- BuildRequires: pkgconfig
53
- BuildRequires: yasm >= 1.2.0
54
--%if %{with x264_binary}
55
-+%if "%{build_flavor}" == "x264"
56
- %if %{with gpac}
57
- BuildRequires: pkgconfig(gpac)
58
- %else
59
-@@ -106,7 +117,7 @@ mplayer/mencoder with H264 encoding supp
60
- %package devel
61
- Summary: Libraries and include file for the %{name} encoder
62
- Group: Development/Libraries/C and C++
63
--Requires: %{name}-%{sover} = %{version}
64
-+Requires: %{name}-%{sover} = %{version}-%{release}
65
- Provides: x264-devel = %{version}
66
- Obsoletes: x264-devel < %{version}
67
-
68
-@@ -127,7 +138,7 @@ mplayer/mencoder with H264 encoding supp
69
- %configure \
70
- --disable-opencl \
71
- --enable-shared \
72
--%if %{with x264_binary}
73
-+%if "%{build_flavor}" == "x264"
74
- %if %{with gpac}
75
- --disable-lsmash \
76
- %else
77
-@@ -144,7 +155,7 @@ mplayer/mencoder with H264 encoding supp
78
- %make_build
79
-
80
- %install
81
--%if %{with x264_binary}
82
-+%if "%{build_flavor}" == "x264"
83
- install -Dm 755 x264 %{buildroot}/%{_bindir}/x264
84
- %else
85
- %make_install
86
-@@ -154,9 +165,8 @@ rm -f %{buildroot}%{_libdir}/%{name}.a
87
- ln -s %{name}.so.%{sover} %{buildroot}%{_libdir}/%{name}.so
88
- %endif
89
-
90
--%if %{with x264_binary}
91
-+%if "%{build_flavor}" == "x264"
92
- %files -n x264
93
--%defattr(-,root,root)
94
- %doc doc/*.txt
95
- %attr(0755,root,root) %{_bindir}/x264
96
- %else
97
-@@ -165,11 +175,9 @@ ln -s %{name}.so.%{sover} %{buildroot}%{
98
- %postun -n %{name}-%{sover} -p /sbin/ldconfig
99
-
100
- %files %{sover}
101
--%defattr(0644,root,root)
102
- %{_libdir}/%{name}.so.%{sover}
103
-
104
- %files devel
105
--%defattr(0644,root,root)
106
- %{_includedir}/x264.h
107
- %{_includedir}/x264_config.h
108
- %{_libdir}/pkgconfig/x264.pc
109
_link
Changed
10
1
2
-<link project="Essentials" cicount="add" baserev="f094ddd036da1d3e7b5354c211a7562f">
3
- <patches>
4
- <delete name="libx264-x264.changes" />
5
- <delete name="libx264-x264.spec" />
6
- <apply name="project.diff" />
7
- </patches>
8
-</link>
9
+<link project="Essentials" cicount="add" />
10
_multibuild
Deleted
5
1
2
-<multibuild>
3
-<package>x264</package>
4
-</multibuild>
5