Overview
Request 5057 (accepted)
- Update to git version 0.159+git20191127.1771b556
- Use _service to retrieve the git sources
- Bump soname to 159
- Remove patch which is already included upstream
* 0001-cli-Fix-linking-with-system-libx264-on-x86.patch
- Rebase x264-use-shared-library.patch
- Removed a rpmlint error by rephrasing the summary of the libx264-x264.spec file
- Update to git version 0.159+git20191127.1771b556
- Use _service to retrieve the git sources
- Bump soname to 159
- Remove patch which is already included upstream
* 0001-cli-Fix-linking-with-system-libx264-on-x86.patch
- Rebase x264-use-shared-library.patch
- Removed a rpmlint error by rephrasing the summary of the libx264-x264 package
libx264-x264.changes
Changed
-------------------------------------------------------------------
+Mon Mar 30 14:27:04 UTC 2020 - Antonio Larrosa <antonio.larrosa@gmail.com>
+
+- Update to git version 0.159+git20191127.1771b556
+- Use _service to retrieve the git sources
+- Bump soname to 159
+- Remove patch which is already included upstream
+ * 0001-cli-Fix-linking-with-system-libx264-on-x86.patch
+- Rebase x264-use-shared-library.patch
+- Removed a rpmlint error by rephrasing the summary of the libx264-x264.spec file
+
+-------------------------------------------------------------------
Sat Feb 2 19:22:57 UTC 2019 - antonio.larrosa@gmail.com
- Update to 20190201 snapshot
libx264.changes
Changed
-------------------------------------------------------------------
+Mon Mar 30 14:27:04 UTC 2020 - Antonio Larrosa <antonio.larrosa@gmail.com>
+
+- Update to git version 0.159+git20191127.1771b556
+- Use _service to retrieve the git sources
+- Bump soname to 159
+- Remove patch which is already included upstream
+ * 0001-cli-Fix-linking-with-system-libx264-on-x86.patch
+- Rebase x264-use-shared-library.patch
+- Removed a rpmlint error by rephrasing the summary of the libx264-x264 package
+
+-------------------------------------------------------------------
Sat Feb 2 19:22:57 UTC 2019 - antonio.larrosa@gmail.com
- Update to 20190201 snapshot
libx264-x264.spec
Changed
%define _lto_cflags %{nil}
-%define soname 155
-%define svn 20190201
+%define soname 159
%bcond_without gpac
##### WARNING: please do not edit this auto generated spec file. Use the libx264.spec! #####
%bcond_without x264_binary
Name: libx264-x264
-Version: 0.%{soname}svn%{svn}
+Version: 0.159+git20191127.1771b556
Release: 0
-Summary: x264 cli tool
+Summary: Command line tool for libx264
License: GPL-2.0+
Group: Productivity/Multimedia/Video/Editors and Convertors
Url: http://www.videolan.org/developers/x264.html
-Source: ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-%{svn}-2245-stable.tar.bz2
+Source: x264-%{version}.tar.xz
Source1: baselibs.conf
Patch0: x264-use-shared-library.patch
-Patch1: 0001-cli-Fix-linking-with-system-libx264-on-x86.patch
BuildRequires: nasm >= 2.13
BuildRequires: pkgconfig
BuildRequires: yasm >= 1.2.0
mplayer/mencoder with H264 encoding support.
%prep
-%autosetup -p1 -n x264-snapshot-%{svn}-2245-stable
+%autosetup -p1 -n x264-%{version}
%build
FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
libx264.spec
Changed
%define _lto_cflags %{nil}
-%define soname 155
-%define svn 20190201
+%define soname 159
%bcond_without gpac
%bcond_with x264_binary
Name: libx264
-Version: 0.%{soname}svn%{svn}
+Version: 0.159+git20191127.1771b556
Release: 0
Summary: A free h264/avc encoder - encoder binary
License: GPL-2.0+
Group: Productivity/Multimedia/Video/Editors and Convertors
Url: http://www.videolan.org/developers/x264.html
-Source: ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-%{svn}-2245-stable.tar.bz2
+Source: x264-%{version}.tar.xz
Source1: baselibs.conf
Patch0: x264-use-shared-library.patch
-Patch1: 0001-cli-Fix-linking-with-system-libx264-on-x86.patch
BuildRequires: nasm >= 2.13
BuildRequires: pkgconfig
BuildRequires: yasm >= 1.2.0
mplayer/mencoder with H264 encoding support.
%prep
-%autosetup -p1 -n x264-snapshot-%{svn}-2245-stable
+%autosetup -p1 -n x264-%{version}
%build
FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
0001-cli-Fix-linking-with-system-libx264-on-x86.patch
Deleted
-From b63c73dc5c37e5405bf032c9113c1daced3e45a4 Mon Sep 17 00:00:00 2001
-From: Henrik Gramner <henrik@gramner.com>
-Date: Tue, 7 Aug 2018 22:42:22 +0200
-Subject: [PATCH 1/1] cli: Fix linking with --system-libx264 on x86
-
----
- common/x86/cpu-a.asm | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/common/x86/cpu-a.asm b/common/x86/cpu-a.asm
-index d94f7d54..a41d67f8 100644
---- a/common/x86/cpu-a.asm
-+++ b/common/x86/cpu-a.asm
-@@ -83,7 +83,7 @@ cglobal cpu_sfence
- ;-----------------------------------------------------------------------------
- ; intptr_t stack_align( void (*func)(void*), ... ); (up to 5 args)
- ;-----------------------------------------------------------------------------
--cglobal stack_align
-+cvisible stack_align
- mov rax, r0mp
- mov r0, r1mp
- mov r1, r2mp
-@@ -131,7 +131,7 @@ cglobal cpu_cpuid_test
- popfd
- ret
-
--cglobal stack_align
-+cvisible stack_align
- push ebp
- mov ebp, esp
- sub esp, 20
---
-2.11.0
-
x264-use-shared-library.patch
Changed
$(LD)$@ $(OBJS) $(OBJASM) $(OBJSO) $(SOFLAGS) $(LDFLAGS)
+ ln -s $(SONAME) libx264.so
- ifneq ($(EXE),)
- .PHONY: x264 checkasm8 checkasm10 example
+ $(IMPLIBNAME): $(SONAME)
+
@@ -198,8 +199,8 @@ checkasm: checkasm$(EXE)
example: example$(EXE)
endif
_service
Added
+<services>
+ <service name="tar_scm" mode="disabled">
+ <param name="url">https://code.videolan.org/videolan/x264.git</param>
+ <param name="scm">git</param>
+ <param name="revision">stable</param>
+ <param name="versionformat">0.159+git%cd.%h</param>
+ </service>
+ <service name="recompress" mode="disabled">
+ <param name="file">*.tar</param>
+ <param name="compression">xz</param>
+ </service>
+ <service name="set_version" mode="disabled" />
+</services>
pre_checkin.sh
Changed
EDIT_WARNING="##### WARNING: please do not edit this auto generated spec file. Use the libx264.spec! #####\n"
sed "s/^%bcond_with x264_binary$/${EDIT_WARNING}%bcond_without x264_binary/;
s/^\(Name:.*\)$/\1-x264/;
- 0,/^Summary:.*/{s/^Summary:.*/Summary: x264 cli tool/};
+ 0,/^Summary:.*/{s/^Summary:.*/Summary: Command line tool for libx264/};
" < libx264.spec > libx264-x264.spec
cp libx264.changes libx264-x264.changes
Request History
antlarr created request about 5 years ago
- Update to git version 0.159+git20191127.1771b556
- Use _service to retrieve the git sources
- Bump soname to 159
- Remove patch which is already included upstream
* 0001-cli-Fix-linking-with-system-libx264-on-x86.patch
- Rebase x264-use-shared-library.patch
- Removed a rpmlint error by rephrasing the summary of the libx264-x264.spec file
- Update to git version 0.159+git20191127.1771b556
- Use _service to retrieve the git sources
- Bump soname to 159
- Remove patch which is already included upstream
* 0001-cli-Fix-linking-with-system-libx264-on-x86.patch
- Rebase x264-use-shared-library.patch
- Removed a rpmlint error by rephrasing the summary of the libx264-x264 package
olh accepted request about 5 years ago