SPECS (AC-branch): mplayer.spec - 1.0-2.pre7try3.3 - added amr aud...
mguevara
mguevara at pld-linux.org
Tue May 2 16:12:59 CEST 2006
Author: mguevara Date: Tue May 2 14:12:59 2006 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- 1.0-2.pre7try3.3 - added amr audio codec (used by 3gp mobile phone movies)
---- Files affected:
SPECS:
mplayer.spec (1.316.2.5 -> 1.316.2.6)
---- Diffs:
================================================================
Index: SPECS/mplayer.spec
diff -u SPECS/mplayer.spec:1.316.2.5 SPECS/mplayer.spec:1.316.2.6
--- SPECS/mplayer.spec:1.316.2.5 Tue May 2 14:19:43 2006
+++ SPECS/mplayer.spec Tue May 2 16:12:53 2006
@@ -3,6 +3,8 @@
# TODO:
# - use external lrmi and few other libs:
# http://www.gocyberlink.com/english/products/powercinema/pcm-linux/license/mplayer-10_copyright.htm
+# - prepare list of all features enabled by default and prepare bconds and BRs for them
+# now we have different builds depending on builder environment/installed libraries
#
# Conditional build:
%bcond_with directfb # with DirectFB video output
@@ -44,7 +46,8 @@
%bcond_without doc # don't build docs (slow)
%bcond_with gtk2 # EXPERIMENTAL support for GTK+ version 2
%bcond_with xlibs
-%bcond_with shared # experimental libmplayer.so support
+%bcond_with shared # experimental libmplayer.so support
+%bcond_without amr # don't build 3GPP Adaptive Multi Rate (AMR) speech codec
%ifnarch %{ix86}
%undefine with_win32
@@ -77,7 +80,7 @@
Summary(pt_BR): Reprodutor de filmes
Name: mplayer
Version: 1.0
-%define _rel 2
+%define _rel 3
#Release: 2.%{pre}.%{_rel}
Release: 2.pre7try3.%{_rel}
# DO NOT increase epoch unless it's really neccessary!
@@ -102,6 +105,16 @@
# Source6-md5: 1ecd31d17b51f16332b1fcc7da36b312
Source7: %{name}.png
Source8: %{name}.desktop
+%if %{with amr}
+# AMR WB FLOAT
+#Source10: http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26204-600.zip
+Source10: http://www.3gpp.org/ftp/Specs/latest/Rel-5/26_series/26204-530.zip
+# Source10-md5: 988060bdb18b5d64b8bd82c3507d2420
+# AMR NB FLOAT
+#Source11: http://www.3gpp.org/ftp/Specs/latest/Rel-6/26_series/26104-610.zip
+Source11: http://www.3gpp.org/ftp/Specs/latest/Rel-5/26_series/26104-540.zip
+# Source11-md5: 4dcbeb2bc28bf86e7131fe4cae3e0dec
+%endif
Patch0: %{name}-no_libnsl.patch
Patch1: %{name}-cp1250-fontdesc.patch
Patch2: %{name}-codec.patch
@@ -178,6 +191,7 @@
%{?with_xmms:BuildRequires: xmms-libs}
BuildRequires: xvid-devel >= 1:0.9.0
BuildRequires: zlib-devel
+%{?with_amr:BuildRequires: unzip}
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Requires(post,postun): /sbin/ldconfig
Requires: OpenGL
@@ -301,6 +315,22 @@
%setup -q -n %{sname}-%{version}%{pre} -a 3 -a 6
%endif
+%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 %{SOURCE10}
+unzip -j 26204-530_ANSI-C_source_code.zip
+# put 26104-xxx.zip into libavcodec/amr_float
+cd ../amr_float
+unzip -j %{SOURCE11}
+unzip -j 26104-540_ANSI_C_source_code.zip
+cd ../..
+%endif
+
cp -f etc/codecs.conf etc/codecs.win32.conf
%patch0 -p1
%patch1 -p0
@@ -576,6 +606,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.316.2.6 2006/05/02 14:12:53 mguevara
+- 1.0-2.pre7try3.3 - added amr audio codec (used by 3gp mobile phone movies)
+
Revision 1.316.2.5 2006/05/02 12:19:43 mguevara
- adds mplayer-includes.patch to help find proper includes
- x264 bcond (default off) taken from HEAD - we have to find the proper
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mplayer.spec?r1=1.316.2.5&r2=1.316.2.6&f=u
More information about the pld-cvs-commit
mailing list