Version bump, even if 3.97 final is just 3.97_beta3 renamed; add mp3rtp useflag so...
authorDiego Elio Pettenò <flameeyes@gentoo.org>
Fri, 10 Nov 2006 17:15:19 +0000 (17:15 +0000)
committerDiego Elio Pettenò <flameeyes@gentoo.org>
Fri, 10 Nov 2006 17:15:19 +0000 (17:15 +0000)
Package-Manager: portage-2.1.2_rc1-r5

media-sound/lame/ChangeLog
media-sound/lame/Manifest
media-sound/lame/files/digest-lame-3.97 [new file with mode: 0644]
media-sound/lame/lame-3.97.ebuild [new file with mode: 0644]

index 228f9cca80d5fad1c962797bd098d5b2d66c1401..3a02c672c4751cd63964c2a8c851d2e77a9943a1 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for media-sound/lame
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/ChangeLog,v 1.72 2006/10/17 18:55:53 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/ChangeLog,v 1.73 2006/11/10 17:15:19 flameeyes Exp $
+
+*lame-3.97 (10 Nov 2006)
+
+  10 Nov 2006; Diego Pettenò <flameeyes@gentoo.org> +lame-3.97.ebuild:
+  Version bump, even if 3.97 final is just 3.97_beta3 renamed; add mp3rtp
+  useflag so that the code is not enabled by default (as upstream says it's
+  broken). Thanks to Alessio Cassibba in bug #151189.
 
   17 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> lame-3.96.1-r1.ebuild,
   lame-3.97_beta2.ebuild, lame-3.97_beta3.ebuild:
index 5ecd264a2bd00a850c13506560e7454a9d624139..7a9b1bfff5419fbea564de69b33af6e44cb2e935 100644 (file)
@@ -18,6 +18,7 @@ MD5 77956e1d8bad436bc943b5005842aa80 files/lame-3.96.1-shared-frontend.patch 945
 RMD160 0a0d2cd6dfd35bb909ba238a27d8a5d370f61a8e files/lame-3.96.1-shared-frontend.patch 945
 SHA256 f6af4c844776f22f24e3957a2348c4c1faab8d487b85f2deca3ddd1aa151e195 files/lame-3.96.1-shared-frontend.patch 945
 DIST lame-3.96.1.tar.gz 1255629 RMD160 14eee3328706141d5546f33592aaabfb681b4e9d SHA1 3a8e6d17c8b1d3558e817a5bf9b70ed68f93988f SHA256 f4f093e371c999a2a079607b74582a8ef5c1c3c9b322e3e997a47c1ea2afe2a5
+DIST lame-3.97.tar.gz 1328058 RMD160 5c4cf02c0f4e10c4cd2ab610d62478b554cd0873 SHA1 acf56065f4e31ce023b0f99002d537adb1ec09df SHA256 0a2334a6d11085298a9a3c46d5d310cca012f2e61d6efae90840a76a364dbe17
 DIST lame-3.97b2.tar.gz 1327960 RMD160 24d1bf8a1e73001960b434ff9323b3d2e55ad0a1 SHA1 b32438afbb70084affb1b364118328dfbe649146 SHA256 1aee06e15571f5316ba91e40ae8d5a0413efdcef1f15aa6a34c8e1dc438a2a62
 DIST lame-3.97b3_.tar.gz 1328041 RMD160 ae3041acfe3e0e120faf5dc02a38ebb35f58aee9 SHA1 4fe4666a6f7aa015bcf758bae3702f05eba47b95 SHA256 ff13fca5d2816a9e807bda5da7ccdf7009978988467270d82d9d1b94c53d2576
 EBUILD lame-3.96.1-r1.ebuild 2514 RMD160 6440aeb256992ed34e535b7416b7cd0434e68af0 SHA1 d9f64f90d7cf62134951f9880df5237afe82e85c SHA256 f47fbc1b5ced636817a76bef314450954429fc8c5b9086397a01030bf3e5ce28
@@ -28,6 +29,10 @@ EBUILD lame-3.96.1.ebuild 2294 RMD160 80d2020728da28e80c341f04a5cc4f860ebc3157 S
 MD5 b5a17c6a880c951918872b7c8279fa8f lame-3.96.1.ebuild 2294
 RMD160 80d2020728da28e80c341f04a5cc4f860ebc3157 lame-3.96.1.ebuild 2294
 SHA256 38add5ad2ac107c119dd88b71610ee2df5456b26794d0b10be74727dfc0805fc lame-3.96.1.ebuild 2294
+EBUILD lame-3.97.ebuild 2528 RMD160 9b73b4c9ca1f0525636265ae3a45096aafacca11 SHA1 ab603d3750f34f875a4b19f58aa5f882adf5f354 SHA256 05f372af4917d662883d5522adc3a0435e6c93ec6d99dd71bc8805ff5a099eae
+MD5 63a8877c673c2d76c19741016c0c3240 lame-3.97.ebuild 2528
+RMD160 9b73b4c9ca1f0525636265ae3a45096aafacca11 lame-3.97.ebuild 2528
+SHA256 05f372af4917d662883d5522adc3a0435e6c93ec6d99dd71bc8805ff5a099eae lame-3.97.ebuild 2528
 EBUILD lame-3.97_beta2.ebuild 2428 RMD160 8792da86e9f9d7817ab079cc0adfd32ee597b2dc SHA1 55b77ed4f9215561e31ffa334691c139690f1ad1 SHA256 59a777f9235c7fbb1f3c6f9b87d7efff056ff62886d5e855d24bd15307e6c1fd
 MD5 0257701d0bc7b3016d0864d11643aa7f lame-3.97_beta2.ebuild 2428
 RMD160 8792da86e9f9d7817ab079cc0adfd32ee597b2dc lame-3.97_beta2.ebuild 2428
@@ -36,10 +41,10 @@ EBUILD lame-3.97_beta3.ebuild 2429 RMD160 0d61f2d29312e563a60c109770da06c25b4f71
 MD5 a3633d74c7bf080f9e05fa50901cccf8 lame-3.97_beta3.ebuild 2429
 RMD160 0d61f2d29312e563a60c109770da06c25b4f7154 lame-3.97_beta3.ebuild 2429
 SHA256 708a8339cf5dd7d7a8c6ef45bf4d25bf5be1b7d6f059f8d20efa290c3c4e0bfc lame-3.97_beta3.ebuild 2429
-MISC ChangeLog 10048 RMD160 a2fbe229a9120a55948deec81bf24e38ff4202ea SHA1 af50c67b0c826c5b9731b8e89d3b7b18b5b4040d SHA256 255f44854a0e5cd51c2954799bf32578f1e4e63fcb2b674247c33604aa2de456
-MD5 04000483a7046970eba5f203e5956e6b ChangeLog 10048
-RMD160 a2fbe229a9120a55948deec81bf24e38ff4202ea ChangeLog 10048
-SHA256 255f44854a0e5cd51c2954799bf32578f1e4e63fcb2b674247c33604aa2de456 ChangeLog 10048
+MISC ChangeLog 10351 RMD160 a66eb2688cfad99cb48b68d25801fd346ae44a1a SHA1 50180936fedd97f37b8aa551b10ff02489ebe033 SHA256 64eefed608257e95cd50d3942711263790e6287a20cedf487c98aece4e232f30
+MD5 272fbcc4dc6f1bd30c9d4961a352a8be ChangeLog 10351
+RMD160 a66eb2688cfad99cb48b68d25801fd346ae44a1a ChangeLog 10351
+SHA256 64eefed608257e95cd50d3942711263790e6287a20cedf487c98aece4e232f30 ChangeLog 10351
 MISC metadata.xml 160 RMD160 10be84fed28405abd22adc6689e87e5bb77e3501 SHA1 0c1bb16a7cc376ef35b87d8699ec9504718d36b9 SHA256 6bafe4a5c7b42309f124ebc2a9d78ebe5379aec4dcdc88c0bda2ab79c9851a6b
 MD5 05ab4d4775083f0930841e415df18ad6 metadata.xml 160
 RMD160 10be84fed28405abd22adc6689e87e5bb77e3501 metadata.xml 160
@@ -50,6 +55,9 @@ SHA256 21a10f35c27d406fb69ea03874175fb03a428ed30cdd4d6cb4b4afa1600c934c files/di
 MD5 7784653e5b645bb81aa2a4fed95eb65f files/digest-lame-3.96.1-r1 238
 RMD160 135c61f583a118b0315ac54141e2c0a4b56f512a files/digest-lame-3.96.1-r1 238
 SHA256 21a10f35c27d406fb69ea03874175fb03a428ed30cdd4d6cb4b4afa1600c934c files/digest-lame-3.96.1-r1 238
+MD5 148a49f342775a99d8247232f97228c9 files/digest-lame-3.97 232
+RMD160 98013a0834920b31e519b25a40c59e363444d942 files/digest-lame-3.97 232
+SHA256 3e2cb27af3b528b48886605b3096b7f191d3adf3dfbcffa9f817ff1107ce45d6 files/digest-lame-3.97 232
 MD5 88c1d35c2a94a19ea43ecc20e111f25b files/digest-lame-3.97_beta2 238
 RMD160 0219586cd6fde8d8c4b815edea746343c4b1f680 files/digest-lame-3.97_beta2 238
 SHA256 1de311af6e8c22beaed9f9fa6fd3fc104012d0448366c69488589b4f8b24087e files/digest-lame-3.97_beta2 238
@@ -59,7 +67,7 @@ SHA256 af1138b6961e0672349abb527b568890001b7ddf6a62d2f455332bb4c53d5535 files/di
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (GNU/Linux)
 
-iD8DBQFFNSdkAiZjviIA2XgRAnFgAJ9nleP5wkFN7Q1UfYHhNAAWcfBJrgCeIRAd
-bd3JX70I1P+YceMBcp3F9Uo=
-=PKO/
+iD8DBQFFVLO7AiZjviIA2XgRAscxAJ4ml2EMethlvuKCR9TKO44ejaLFeACcCpOr
+7W6ylk+FjyeB9i0VrGfxSFA=
+=w4E3
 -----END PGP SIGNATURE-----
diff --git a/media-sound/lame/files/digest-lame-3.97 b/media-sound/lame/files/digest-lame-3.97
new file mode 100644 (file)
index 0000000..1ea1b20
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 90a4acbb730d150dfe80de145126eef7 lame-3.97.tar.gz 1328058
+RMD160 5c4cf02c0f4e10c4cd2ab610d62478b554cd0873 lame-3.97.tar.gz 1328058
+SHA256 0a2334a6d11085298a9a3c46d5d310cca012f2e61d6efae90840a76a364dbe17 lame-3.97.tar.gz 1328058
diff --git a/media-sound/lame/lame-3.97.ebuild b/media-sound/lame/lame-3.97.ebuild
new file mode 100644 (file)
index 0000000..86efdf8
--- /dev/null
@@ -0,0 +1,82 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/lame-3.97.ebuild,v 1.1 2006/11/10 17:15:19 flameeyes Exp $
+
+WANT_AUTOMAKE="latest"
+WANT_AUTOCONF="latest"
+
+inherit flag-o-matic toolchain-funcs eutils autotools
+
+DESCRIPTION="LAME Ain't an MP3 Encoder"
+HOMEPAGE="http://lame.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="gtk debug mp3rtp"
+
+RDEPEND=">=sys-libs/ncurses-5.2
+       gtk? ( =x11-libs/gtk+-1.2* )"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       # The frontened tries to link staticly, but we prefer shared libs
+       epatch "${FILESDIR}"/${PN}-3.96.1-shared-frontend.patch
+
+       # If ccc (alpha compiler) is installed on the system, the default
+       # configure is broken, fix it to respect CC.  This is only
+       # directly broken for ARCH=alpha but would affect anybody with a
+       # ccc binary in their PATH.  Bug #41908  (26 Jul 2004 agriffis)
+       epatch "${FILESDIR}"/${PN}-3.96-ccc.patch
+
+       # Make sure -lm is linked in the library to fix other programs linking to
+       # this while using --as-needed
+       epatch "${FILESDIR}"/${PN}-3.96.1-asneeded.patch
+
+       AT_M4DIR="${S}" eautoreconf || die
+       epunt_cxx # embedded bug #74498
+}
+
+src_compile() {
+       # take out -fomit-frame-pointer from CFLAGS if k6-2
+       is-flag "-march=k6-3" && filter-flags "-fomit-frame-pointer"
+       is-flag "-march=k6-2" && filter-flags "-fomit-frame-pointer"
+       is-flag "-march=k6" && filter-flags "-fomit-frame-pointer"
+
+       [ "`gcc-fullversion`" == "3.3.2" ] && replace-flags -march=2.0 -march=1.0
+
+       # The user sets compiler optimizations... But if you'd like
+       # lame to choose it's own... uncomment one of these (experiMENTAL)
+       # myconf="${myconf} --enable-expopt=full \
+       # myconf="${myconf} --enable-expopt=norm \
+
+       econf \
+               --enable-shared \
+               $(use_enable debug debug norm) \
+               $(use_enable gtk mp3x) \
+               $(use_enable mp3rtp mp3rtp) \
+               ${myconf} || die "econf failed"
+
+       emake || die "emake failed"
+}
+
+src_install() {
+       make DESTDIR="${D}" pkghtmldir="/usr/share/doc/${PF}/html" install || die
+
+       dodoc API ChangeLog HACKING README* STYLEGUIDE TODO USAGE
+       dohtml misc/lameGUI.html Dll/LameDLLInterface.htm
+
+       dobin "${S}"/misc/mlame || die
+}
+
+pkg_postinst(){
+       if use mp3rtp ; then
+           ewarn "Warning, support for the encode-to-RTP program, 'mp3rtp'"
+           ewarn "is broken as of August 2001."
+           ewarn " "
+       fi
+}