1 |
loki_val 09/05/03 13:38:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lame-3.98.2-r1.ebuild |
5 |
Log: |
6 |
Backport fix from upstream so ffmpeg won't choke on libmp3lame. Bug 265830. |
7 |
(Portage version: 2.2_rc28/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.110 media-sound/lame/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lame/ChangeLog?rev=1.110&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lame/ChangeLog?rev=1.110&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lame/ChangeLog?r1=1.109&r2=1.110 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/lame/ChangeLog,v |
19 |
retrieving revision 1.109 |
20 |
retrieving revision 1.110 |
21 |
diff -u -r1.109 -r1.110 |
22 |
--- ChangeLog 29 Mar 2009 17:14:16 -0000 1.109 |
23 |
+++ ChangeLog 3 May 2009 13:38:17 -0000 1.110 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for media-sound/lame |
26 |
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/ChangeLog,v 1.109 2009/03/29 17:14:16 beandog Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/ChangeLog,v 1.110 2009/05/03 13:38:17 loki_val Exp $ |
29 |
+ |
30 |
+*lame-3.98.2-r1 (03 May 2009) |
31 |
+ |
32 |
+ 03 May 2009; Peter Alfredsen <loki_val@g.o> |
33 |
+ +files/lame-3.98.2-ffmpeg-0.5.patch, +lame-3.98.2-r1.ebuild: |
34 |
+ Backport fix from upstream so ffmpeg won't choke on libmp3lame. Bug |
35 |
+ 265830. |
36 |
|
37 |
29 Mar 2009; Steve Dibb <beandog@g.o> lame-3.98.ebuild: |
38 |
amd64 stable |
39 |
|
40 |
|
41 |
|
42 |
1.1 media-sound/lame/lame-3.98.2-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lame/lame-3.98.2-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/lame/lame-3.98.2-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: lame-3.98.2-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/lame-3.98.2-r1.ebuild,v 1.1 2009/05/03 13:38:17 loki_val Exp $ |
52 |
|
53 |
inherit flag-o-matic toolchain-funcs eutils autotools versionator |
54 |
|
55 |
DESCRIPTION="LAME Ain't an MP3 Encoder" |
56 |
HOMEPAGE="http://lame.sourceforge.net" |
57 |
|
58 |
MY_PV=$(replace_version_separator 1 '') |
59 |
[ ${MY_PV/.} = ${MY_PV} ] || MY_PV=$(replace_version_separator 1 '-' ${MY_PV}) |
60 |
S=${WORKDIR}/${PN}-${MY_PV} |
61 |
SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz" |
62 |
|
63 |
LICENSE="LGPL-2.1" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
66 |
IUSE="debug mmx mp3rtp sndfile" |
67 |
|
68 |
RDEPEND=">=sys-libs/ncurses-5.2 |
69 |
sndfile? ( >=media-libs/libsndfile-1.0.2 )" |
70 |
DEPEND="${RDEPEND} |
71 |
dev-util/pkgconfig |
72 |
mmx? ( dev-lang/nasm )" |
73 |
|
74 |
src_unpack() { |
75 |
unpack ${A} |
76 |
cd "${S}" |
77 |
|
78 |
# The frontened tries to link staticly, but we prefer shared libs |
79 |
epatch "${FILESDIR}"/${PN}-3.98-shared-frontend.patch |
80 |
|
81 |
# If ccc (alpha compiler) is installed on the system, the default |
82 |
# configure is broken, fix it to respect CC. This is only |
83 |
# directly broken for ARCH=alpha but would affect anybody with a |
84 |
# ccc binary in their PATH. Bug #41908 (26 Jul 2004 agriffis) |
85 |
epatch "${FILESDIR}"/${PN}-3.96-ccc.patch |
86 |
|
87 |
# Patch gtk stuff, otherwise eautoreconf dies |
88 |
epatch "${FILESDIR}"/${PN}-3.98-gtk-path.patch |
89 |
|
90 |
# Fix for ffmpeg-0.5, bug 265830 |
91 |
epatch "${FILESDIR}"/${PN}-3.98.2-ffmpeg-0.5.patch |
92 |
|
93 |
# It fails parallel make otherwise when enabling nasm... |
94 |
mkdir "${S}/libmp3lame/i386/.libs" || die |
95 |
|
96 |
AT_M4DIR="${S}" eautoreconf |
97 |
epunt_cxx # embedded bug #74498 |
98 |
} |
99 |
|
100 |
src_compile() { |
101 |
use sndfile && myconf="--with-fileio=sndfile" |
102 |
# The user sets compiler optimizations... But if you'd like |
103 |
# lame to choose it's own... uncomment one of these (experiMENTAL) |
104 |
# myconf="${myconf} --enable-expopt=full \ |
105 |
# myconf="${myconf} --enable-expopt=norm \ |
106 |
|
107 |
econf \ |
108 |
--enable-shared \ |
109 |
$(use_enable debug debug norm) \ |
110 |
--disable-mp3x \ |
111 |
$(use_enable mmx nasm) \ |
112 |
$(use_enable mp3rtp) \ |
113 |
${myconf} || die "econf failed" |
114 |
|
115 |
emake || die "emake failed" |
116 |
} |
117 |
|
118 |
src_install() { |
119 |
emake DESTDIR="${D}" pkghtmldir="/usr/share/doc/${PF}/html" install || die |
120 |
|
121 |
dodoc API ChangeLog HACKING README* STYLEGUIDE TODO USAGE || die |
122 |
dohtml misc/lameGUI.html Dll/LameDLLInterface.htm || die |
123 |
|
124 |
dobin "${S}"/misc/mlame || die |
125 |
} |
126 |
|
127 |
pkg_postinst(){ |
128 |
if use mp3rtp ; then |
129 |
ewarn "Warning, support for the encode-to-RTP program, 'mp3rtp'" |
130 |
ewarn "is broken as of August 2001." |
131 |
ewarn " " |
132 |
fi |
133 |
} |