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