summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-08-25 12:21:58 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-08-25 12:21:58 +0000
commita5f90be6656e0653bbac6a0474f656557d2e843d (patch)
treec121884e953a507d9f5cd8253f366471125d1e00 /media-sound
parenttrim whitespace (diff)
downloadgentoo-2-a5f90be6656e0653bbac6a0474f656557d2e843d.tar.gz
gentoo-2-a5f90be6656e0653bbac6a0474f656557d2e843d.tar.bz2
gentoo-2-a5f90be6656e0653bbac6a0474f656557d2e843d.zip
Add largefile support for glibc/uclibc. Fix ${CC} handling for cross-compile sake.
(Portage version: 2.0.51.22)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/toolame/ChangeLog8
-rw-r--r--media-sound/toolame/Manifest12
-rw-r--r--media-sound/toolame/files/digest-toolame-02l-r21
-rw-r--r--media-sound/toolame/toolame-02l-r2.ebuild43
4 files changed, 53 insertions, 11 deletions
diff --git a/media-sound/toolame/ChangeLog b/media-sound/toolame/ChangeLog
index 136086f3e6ad..0436f2d768f2 100644
--- a/media-sound/toolame/ChangeLog
+++ b/media-sound/toolame/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/toolame
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/toolame/ChangeLog,v 1.13 2005/08/24 16:15:19 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/toolame/ChangeLog,v 1.14 2005/08/25 12:21:58 flameeyes Exp $
+
+*toolame-02l-r2 (25 Aug 2005)
+
+ 25 Aug 2005; Diego Pettenò <flameeyes@gentoo.org> +toolame-02l-r2.ebuild:
+ Add largefile support for glibc/uclibc. Fix ${CC} handling for cross-compile
+ sake.
24 Aug 2005; Diego Pettenò <flameeyes@gentoo.org> toolame-02l.ebuild,
toolame-02l-r1.ebuild:
diff --git a/media-sound/toolame/Manifest b/media-sound/toolame/Manifest
index b4e15db315e3..b080e3b6047a 100644
--- a/media-sound/toolame/Manifest
+++ b/media-sound/toolame/Manifest
@@ -1,18 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 e366912e9642490b17ff7bf4844ed58f ChangeLog 1619
MD5 e53f02956bc1bd05fbbf3afd336781cf toolame-02l.ebuild 660
+MD5 6ce0f71cacbd7829384c4b4fc02b503c toolame-02l-r2.ebuild 890
MD5 c6d157b936d85a2218795dcb6bf6e653 toolame-02l-r1.ebuild 700
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
MD5 4b1a1622289b050b59a5243fae23d193 files/toolame-02l-uint.patch 950
+MD5 5cc792797a252d3d4d12b9857d393ee8 files/digest-toolame-02l-r2 60
MD5 03d22f398bef3ac46ba7c7a7910d2d80 files/toolame-02l-gentoo.diff 2153
MD5 5cc792797a252d3d4d12b9857d393ee8 files/digest-toolame-02l 60
MD5 5cc792797a252d3d4d12b9857d393ee8 files/digest-toolame-02l-r1 60
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDDJ0zj5H05b2HAEkRAtagAKCSUQY3Z+U8uGdcX/flHn5GZ9tDigCdF0qE
-GCrr3/wud4UHnzMF/DezNjM=
-=O9mL
------END PGP SIGNATURE-----
diff --git a/media-sound/toolame/files/digest-toolame-02l-r2 b/media-sound/toolame/files/digest-toolame-02l-r2
new file mode 100644
index 000000000000..28158002d0e5
--- /dev/null
+++ b/media-sound/toolame/files/digest-toolame-02l-r2
@@ -0,0 +1 @@
+MD5 5946e2dd78fbb57e54386b3b5d873fee toolame-02l.tgz 127493
diff --git a/media-sound/toolame/toolame-02l-r2.ebuild b/media-sound/toolame/toolame-02l-r2.ebuild
new file mode 100644
index 000000000000..2d37a0f749f6
--- /dev/null
+++ b/media-sound/toolame/toolame-02l-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/toolame/toolame-02l-r2.ebuild,v 1.1 2005/08/25 12:21:58 flameeyes Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="tooLAME - an optimized mpeg 1/2 layer 2 audio encoder"
+HOMEPAGE="http://www.planckenergy.com"
+SRC_URI="mirror://sourceforge/toolame/${P}.tgz"
+
+IUSE=""
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+DEPEND="virtual/libc
+ sys-devel/gcc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-gentoo.diff
+ epatch ${FILESDIR}/${P}-uint.patch
+}
+
+src_compile() {
+ # Enable largefile support, as toolame doesn't use autoconf
+ ( use elibc_glibc || use elibc_uclibc ) && \
+ append-flags "-D_FILE_OFFSET_BITS=64"
+
+ tc-export CC
+
+ emake || die
+}
+
+src_install() {
+ dobin toolame || die
+ dodoc README HISTORY FUTURE html/* text/*
+}
+
+