Overview

Request 5579 (accepted)

Update to current git version

Submit package home:Aloysius:branches:Staging / libx264 to package Staging / libx264

libx264.changes Changed
x
 
1
@@ -1,4 +1,13 @@
2
 -------------------------------------------------------------------
3
+Sun Jun 12 07:23:57 UTC 2022 - Luigi Baldoni <aloisio@gmx.com>
4
+
5
+- Update to version 0.164+git20220602.baee400f
6
+- Bump soversion to 164
7
+- Drop pre_checkin.sh (no longer used)
8
+- Drop x264-use-shared-library.patch, x264-gpac_no_static.patch
9
+  and libx264.patch (no longer necessary)
10
+
11
+-------------------------------------------------------------------
12
 Tue Dec 29 16:16:16 UTC 2020 - olaf@aepfle.de
13
 
14
 - Fix arm build with libx264.patch
15
libx264.spec Changed
53
 
1
@@ -18,7 +18,7 @@
2
 
3
 
4
 # remember to adjust baselibs.conf
5
-%define sover   161
6
+%define sover   164
7
 %bcond_with     gpac
8
 
9
 %define build_flavor @BUILD_FLAVOR@%{nil}
10
@@ -29,7 +29,7 @@
11
 %define pkg %{tag}-%{build_flavor}
12
 %endif
13
 Name:           %{pkg}
14
-Version:        0.161+git20200912.d198931a
15
+Version:        0.164+git20220602.baee400f
16
 Release:        0
17
 %if "%{build_flavor}" == ""
18
 Summary:        A free h264/avc encoder
19
@@ -41,14 +41,11 @@
20
 URL:            http://www.videolan.org/developers/x264.html
21
 Source:         x264-%{version}.tar.xz
22
 Source1:        baselibs.conf
23
-Patch0:         x264-use-shared-library.patch
24
-# PATCH_FIX-OPENSUSE x264-gpac_no_static.patch
25
-Patch2:         x264-gpac_no_static.patch
26
-Patch3:         libx264.patch
27
 BuildRequires:  nasm >= 2.13
28
 BuildRequires:  pkgconfig
29
 BuildRequires:  yasm >= 1.2.0
30
 %if "%{build_flavor}" == "x264"
31
+BuildRequires:  pkgconfig(x264) == %{version}
32
 %if %{with gpac}
33
 BuildRequires:  pkgconfig(gpac)
34
 %else
35
@@ -139,6 +136,7 @@
36
   --disable-opencl \
37
   --enable-shared \
38
 %if "%{build_flavor}" == "x264"
39
+  --system-libx264 \
40
 %if %{with gpac}
41
   --disable-lsmash \
42
 %else
43
@@ -163,6 +161,9 @@
44
 rm -f %{buildroot}%{_libdir}/%{name}.so
45
 rm -f %{buildroot}%{_libdir}/%{name}.a
46
 ln -s %{name}.so.%{sover} %{buildroot}%{_libdir}/%{name}.so
47
+
48
+# fix pkg-config version
49
+sed -i 's/Version:.*/Version: %{version}/' %{buildroot}%{_libdir}/pkgconfig/x264.pc
50
 %endif
51
 
52
 %if "%{build_flavor}" == "x264"
53
libx264.patch Deleted
22
 
1
@@ -1,20 +0,0 @@
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 i2 = {0x42494745,0}; double f2 = {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
x264-gpac_no_static.patch Deleted
15
 
1
@@ -1,13 +0,0 @@
2
-Index: x264-0.160+git20200702.4c2aafd8/configure
3
-===================================================================
4
---- x264-0.160+git20200702.4c2aafd8.orig/configure
5
-+++ x264-0.160+git20200702.4c2aafd8/configure
6
-@@ -1230,7 +1230,7 @@ fi
7
- 
8
- if  "$gpac" = "auto" -a "$lsmash" != "yes"  ; then
9
-     gpac="no"
10
--    GPAC_LIBS="-lgpac_static"
11
-+    GPAC_LIBS="-lgpac"
12
-     cc_check "" -lz && GPAC_LIBS="$GPAC_LIBS -lz"
13
-     cc_check "" -ldl && GPAC_LIBS="$GPAC_LIBS -ldl"
14
-     if  "$SYS" = "WINDOWS"  ; then
15
x264-use-shared-library.patch Deleted
25
 
1
@@ -1,23 +0,0 @@
2
-Index: x264-snapshot-20160430-2245-stable/Makefile
3
-===================================================================
4
---- x264-snapshot-20160430-2245-stable.orig/Makefile
5
-+++ x264-snapshot-20160430-2245-stable/Makefile
6
-@@ -190,6 +190,7 @@ $(LIBX264): $(GENERATED) .depend $(OBJS)
7
- 
8
- $(SONAME): $(GENERATED) .depend $(OBJS) $(OBJASM) $(OBJSO)
9
-   $(LD)$@ $(OBJS) $(OBJASM) $(OBJSO) $(SOFLAGS) $(LDFLAGS)
10
-+  ln -s $(SONAME) libx264.so
11
- 
12
- $(IMPLIBNAME): $(SONAME)
13
- 
14
-@@ -198,8 +199,8 @@ checkasm: checkasm$(EXE)
15
- example: example$(EXE)
16
- endif
17
- 
18
--x264$(EXE): $(GENERATED) .depend $(OBJCLI) $(CLI_LIBX264)
19
--  $(LD)$@ $(OBJCLI) $(CLI_LIBX264) $(LDFLAGSCLI) $(LDFLAGS)
20
-+x264$(EXE): $(GENERATED) .depend $(OBJCLI) $(SONAME)
21
-+  $(LD)$@ $(OBJCLI) -L. -lx264 $(LDFLAGSCLI) $(LDFLAGS)
22
- 
23
- checkasm8$(EXE): $(GENERATED) .depend $(OBJCHK) $(OBJCHK_8) $(LIBX264)
24
-   $(LD)$@ $(OBJCHK) $(OBJCHK_8) $(LIBX264) $(LDFLAGS)
25
_service Changed
10
 
1
@@ -3,7 +3,7 @@
2
     <param name="url">https://code.videolan.org/videolan/x264.git</param>
3
     <param name="scm">git</param>
4
     <param name="revision">stable</param>
5
-    <param name="versionformat">0.161+git%cd.%h</param>
6
+    <param name="versionformat">0.164+git%cd.%h</param>
7
   </service>
8
   <service name="recompress" mode="disabled">
9
     <param name="file">*.tar</param>
10
baselibs.conf Changed
4
 
1
@@ -1,1 +1,1 @@
2
-libx264-161
3
+libx264-164
4
pre_checkin.sh Deleted
10
 
1
@@ -1,8 +0,0 @@
2
-#!/bin/sh
3
-EDIT_WARNING="##### WARNING: please do not edit this auto generated spec file. Use the libx264.spec! #####\n"
4
-sed "s/^%bcond_with     x264_binary$/${EDIT_WARNING}%bcond_without  x264_binary/;
5
-     s/^\(Name:.*\)$/\1-x264/;
6
-     0,/^Summary:.*/{s/^Summary:.*/Summary:        Command line tool for libx264/};
7
-    " < libx264.spec > libx264-x264.spec
8
-cp libx264.changes libx264-x264.changes
9
-
10
x264-0.161+git20200912.d198931a.tar.xz Deleted
x264-0.164+git20220602.baee400f.tar.xz Added
Refresh
Refresh
Request History
Luigi Baldoni's avatar

Aloysius created request almost 3 years ago

Update to current git version


Luigi Baldoni's avatar

Aloysius accepted request almost 3 years ago