[packages/libx264] - updated to 20191217 snapshot - lsmash is preferred over gpac now
qboosh
qboosh at pld-linux.org
Sun Mar 15 20:55:02 CET 2020
commit e391f7cc1a4abac8d97873d3ccf1dcd518e73ea4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Mar 15 20:56:06 2020 +0100
- updated to 20191217 snapshot
- lsmash is preferred over gpac now
libx264.spec | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/libx264.spec b/libx264.spec
index 2ced7bb..d097fd9 100644
--- a/libx264.spec
+++ b/libx264.spec
@@ -2,13 +2,14 @@
# Conditional build:
%bcond_with bootstrap # no ffmpeg/gpac support in x264 utility
%bcond_without asm # disable asm
+%bcond_without lsmash # lsmash for MP4 (preferred over gpac)
%ifnarch %{ix86} %{x8664}
%undefine with_asm
%endif
%define rel 1
-%define snap 20190110
+%define snap 20191217
%define snaph 2245
Summary: H264 encoder library
Summary(pl.UTF-8): Biblioteka kodująca H264
@@ -18,8 +19,9 @@ Release: 1.%{snap}_%{snaph}.%{rel}
License: GPL v2+
Group: Libraries
# still no releases, use snapshots
-Source0: ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-%{snap}-%{snaph}.tar.bz2
-# Source0-md5: ef5f7a7eec118f4641e743a894de90c4
+# for further changes see: https://code.videolan.org/videolan/x264/
+Source0: https://download.videolan.org/videolan/x264/snapshots/x264-snapshot-%{snap}-%{snaph}.tar.bz2
+# Source0-md5: 6d6b7b49518ddfd42c4e3577b5242b31
Patch0: %{name}-alpha.patch
Patch1: altivec-no-vand.patch
Patch2: %{name}-gpac.patch
@@ -33,9 +35,10 @@ BuildRequires: pkgconfig
# libswscale >= 0.9.0 (in pkgconfig file)
# libav{format,codec,util} from ffmpeg >= r21854
BuildRequires: ffmpeg-devel >= 0.7.1
-BuildRequires: ffmpegsource-devel >= 2.16
+BuildRequires: ffms2-devel >= 2.21
# gpac >= 2007-06-21
-BuildRequires: gpac-devel >= 0.5.0-3
+%{!?with_lsmash:BuildRequires: gpac-devel >= 0.5.0-3}
+%{?with_lsmash:BuildRequires: l-smash-devel >= 1.5}
%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -78,8 +81,13 @@ Summary(pl.UTF-8): Dekoder x264 działający z linii poleceń
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
%if %{without bootstrap}
+Requires: ffms2 >= 2.21
+%if %{with lsmash}
+Requires: l-smash >= 1.5
+%else
Requires: gpac >= 0.5.0-3
%endif
+%endif
%description -n x264
x264 CLI decoder.
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libx264.git/commitdiff/e391f7cc1a4abac8d97873d3ccf1dcd518e73ea4
More information about the pld-cvs-commit
mailing list