SPECS: ffmpeg.spec - added system-amr patch, use system amr{nb, wb}...
qboosh
qboosh at pld-linux.org
Sun Jul 2 15:14:06 CEST 2006
Author: qboosh Date: Sun Jul 2 13:14:06 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added system-amr patch, use system amr{nb,wb} libs
---- Files affected:
SPECS:
ffmpeg.spec (1.99 -> 1.100)
---- Diffs:
================================================================
Index: SPECS/ffmpeg.spec
diff -u SPECS/ffmpeg.spec:1.99 SPECS/ffmpeg.spec:1.100
--- SPECS/ffmpeg.spec:1.99 Sat Jun 24 09:35:29 2006
+++ SPECS/ffmpeg.spec Sun Jul 2 15:14:01 2006
@@ -1,8 +1,6 @@
# $Revision$, $Date$
#
# TODO: update for lzo 2.x (currently only lzo 1.x is supported)
-# - make (ffmpeg code inside) mplayer play .3gp mobile phone movies
-# (ffplay and vlc plays them fine
#
# Conditional build:
%bcond_without amr # don't build 3GPP Adaptive Multi Rate (AMR) speech codec
@@ -15,21 +13,11 @@
Name: ffmpeg
Version: 0.4.9
%define snap 20060129
-%define _rel 11
+%define _rel 12
Release: 3.%{snap}.%{_rel}
# LGPL or GPL, chosen at configure time (GPL version is more featured)
-#
-# (BTW. what are the 'more' features mentioned above?)
-#
-# Some parts of the code *is* LGPL (for example libavformat amr.c) so
-# it is possible to include /and distribute/ external 3GPP AMR codecs
-# (some kind of public domain with patent restrictions) to the
-# GPL-licensed stuff /and keep GPL license/.
-%if %{with amr}
-License: GPL with LGPL/Public Domain parts
-%else
+# (postprocessing, a52, xvid, x264, dts, faad)
License: GPL with LGPL parts
-%endif
Group: Applications/Multimedia
#Source0: http://dl.sourceforge.net/ffmpeg/%{name}-%{version}-pre1.tar.gz
#Source0: ftp://ftp2.mplayerhq.hu/MPlayer/cvs/FFMpeg-%{snap}.tar.bz2
@@ -38,22 +26,16 @@
Source1: ffserver.init
Source2: ffserver.sysconfig
Source3: ffserver.conf
-%if %{with amr}
-# AMR WB FLOAT
-#Source4: http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26204-600.zip
-Source4: http://www.3gpp.org/ftp/Specs/latest/Rel-5/26_series/26204-530.zip
-# Source4-md5: 988060bdb18b5d64b8bd82c3507d2420
-# AMR NB FLOAT
-#Source6: http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26104-610.zip
-Source6: http://www.3gpp.org/ftp/Specs/latest/Rel-5/26_series/26104-540.zip
-# Source6-md5: 4dcbeb2bc28bf86e7131fe4cae3e0dec
-%endif
-
Patch0: %{name}-libtool.patch
Patch1: %{name}-libdir.patch
Patch2: %{name}-gcc4.patch
+Patch3: %{name}-system-amr.patch
URL: http://ffmpeg.mplayerhq.hu/
BuildRequires: SDL-devel
+%if %{with amr}
+BuildRequires: amrnb-devel
+BuildRequires: amrwb-devel >= 5.3.0
+%endif
BuildRequires: faac-devel
BuildRequires: faad2-devel
BuildRequires: freetype-devel
@@ -130,6 +112,10 @@
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
# for libavcodec:
+%if %{with amr}
+Requires: amrnb-devel
+Requires: amrwb-devel >= 5.3.0
+%endif
Requires: faac-devel
Requires: faad2-devel
Requires: lame-libs-devel
@@ -221,21 +207,7 @@
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%if %{with amr}
-cd libavcodec
-mkdir amrwb_float
-mkdir amr
-mkdir amr_float
-# put 26204-xxx.zip into libavcodec/amrwb_float
-cd amrwb_float
-unzip -j %{SOURCE4}
-unzip -j 26204-530_ANSI-C_source_code.zip
-# put 26104-xxx.zip into libavcodec/amr_float
-cd ../amr_float
-unzip -j %{SOURCE6}
-unzip -j 26104-540_ANSI_C_source_code.zip
-cd ../..
-%endif
+%patch3 -p1
%build
# notes:
@@ -386,6 +358,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.100 2006/07/02 13:14:01 qboosh
+- added system-amr patch, use system amr{nb,wb} libs
+
Revision 1.99 2006/06/24 07:35:29 pluto
- release .11.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ffmpeg.spec?r1=1.99&r2=1.100&f=u
More information about the pld-cvs-commit
mailing list