diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-08-25 12:03:19 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-08-25 12:03:19 +0000 |
commit | 83414a91b9cf29135555400bb63a585f38971437 (patch) | |
tree | f620f95de4853701ed9e60ba451d36d57a122876 /media-sound/lame | |
parent | Added largefile support to flac as per bug #103578. (diff) | |
download | gentoo-2-83414a91b9cf29135555400bb63a585f38971437.tar.gz gentoo-2-83414a91b9cf29135555400bb63a585f38971437.tar.bz2 gentoo-2-83414a91b9cf29135555400bb63a585f38971437.zip |
Added patch to have largefile support actually working as per bug #103578.
(Portage version: 2.0.51.22)
Diffstat (limited to 'media-sound/lame')
-rw-r--r-- | media-sound/lame/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/lame/Manifest | 12 | ||||
-rw-r--r-- | media-sound/lame/files/digest-lame-3.96.1-r1 | 1 | ||||
-rw-r--r-- | media-sound/lame/files/lame-3.96.1-largefile.patch | 15 | ||||
-rw-r--r-- | media-sound/lame/lame-3.96.1-r1.ebuild | 73 |
5 files changed, 103 insertions, 6 deletions
diff --git a/media-sound/lame/ChangeLog b/media-sound/lame/ChangeLog index f38f57368b96..d89ab33205c6 100644 --- a/media-sound/lame/ChangeLog +++ b/media-sound/lame/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/lame # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/ChangeLog,v 1.64 2005/07/02 00:22:51 hardave Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/ChangeLog,v 1.65 2005/08/25 12:03:19 flameeyes Exp $ + +*lame-3.96.1-r1 (25 Aug 2005) + + 25 Aug 2005; Diego Pettenò <flameeyes@gentoo.org> + +files/lame-3.96.1-largefile.patch, +lame-3.96.1-r1.ebuild: + Added patch to have largefile support actually working as per bug #103578. 02 Jul 2005; Hardave Riar <hardave@gentoo.org> lame-3.96.1.ebuild: Stable on mips diff --git a/media-sound/lame/Manifest b/media-sound/lame/Manifest index df8cb75c9fa2..180d09861a53 100644 --- a/media-sound/lame/Manifest +++ b/media-sound/lame/Manifest @@ -1,8 +1,10 @@ -MD5 27d7292a47e5543c1c08706de3d6f9c8 ChangeLog 8871 -MD5 804da09bcbf2d4367b474f44dedcb5ff lame-3.96.1.ebuild 2284 MD5 a1601938e8cb931bd0b5eb533b9e4c74 lame-3.96.ebuild 2183 +MD5 27d7292a47e5543c1c08706de3d6f9c8 ChangeLog 8871 +MD5 b19587879cc44144f5b05ef2cde64f19 lame-3.96.1-r1.ebuild 2416 MD5 05ab4d4775083f0930841e415df18ad6 metadata.xml 160 -MD5 3b8e04486d3959e978f2466bdc621a59 files/digest-lame-3.96 62 -MD5 f7a856198d82691c0506cfc77fa95e87 files/digest-lame-3.96.1 64 -MD5 af03fdd6d579097e09e99b9faeaf929b files/lame-3.96-ccc.patch 658 +MD5 b7f29b37bdbe2e3deb1e1db44755c7a3 files/lame-3.96.1-largefile.patch 337 MD5 77956e1d8bad436bc943b5005842aa80 files/lame-3.96.1-shared-frontend.patch 945 +MD5 f7a856198d82691c0506cfc77fa95e87 files/digest-lame-3.96.1-r1 64 +MD5 af03fdd6d579097e09e99b9faeaf929b files/lame-3.96-ccc.patch 658 +MD5 f7a856198d82691c0506cfc77fa95e87 files/digest-lame-3.96.1 64 +MD5 3b8e04486d3959e978f2466bdc621a59 files/digest-lame-3.96 62 diff --git a/media-sound/lame/files/digest-lame-3.96.1-r1 b/media-sound/lame/files/digest-lame-3.96.1-r1 new file mode 100644 index 000000000000..658480491ffd --- /dev/null +++ b/media-sound/lame/files/digest-lame-3.96.1-r1 @@ -0,0 +1 @@ +MD5 e1206c46a5e276feca11a7149e2fc6ac lame-3.96.1.tar.gz 1255629 diff --git a/media-sound/lame/files/lame-3.96.1-largefile.patch b/media-sound/lame/files/lame-3.96.1-largefile.patch new file mode 100644 index 000000000000..117bdb5429be --- /dev/null +++ b/media-sound/lame/files/lame-3.96.1-largefile.patch @@ -0,0 +1,15 @@ +Index: lame-3.96.1/config.h.in +=================================================================== +--- lame-3.96.1.orig/config.h.in ++++ lame-3.96.1/config.h.in +@@ -328,3 +328,10 @@ + + /* Define to `unsigned' if <sys/types.h> does not define. */ + #undef size_t ++ ++/* Number of bits in a file offset, on hosts where this is settable. */ ++#undef _FILE_OFFSET_BITS ++ ++/* Define for large files, on AIX-style hosts. */ ++#undef _LARGE_FILES ++ diff --git a/media-sound/lame/lame-3.96.1-r1.ebuild b/media-sound/lame/lame-3.96.1-r1.ebuild new file mode 100644 index 000000000000..ae4fe82740bc --- /dev/null +++ b/media-sound/lame/lame-3.96.1-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/lame-3.96.1-r1.ebuild,v 1.1 2005/08/25 12:03:19 flameeyes Exp $ + +inherit flag-o-matic toolchain-funcs eutils + +DESCRIPTION="LAME Ain't an MP3 Encoder" +HOMEPAGE="http://lame.sourceforge.net" +SRC_URI="mirror://sourceforge/lame/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86" +IUSE="gtk debug" + +RDEPEND=">=sys-libs/ncurses-5.2 + gtk? ( =x11-libs/gtk+-1.2* )" +DEPEND="${RDEPEND} + sys-devel/autoconf" + +src_unpack() { + unpack ${A} + cd ${S} || die + + # The frontened tries to link staticly, but we prefer shared libs + epatch ${FILESDIR}/${P}-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 + + # Seems like lame devs uses a custom config.h.in that doesn't support + # largefiles, add a patch to fix that. + epatch ${FILESDIR}/${P}-largefile.patch + + autoconf || 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 \ + --enable-mp3rtp \ + $(use_enable debug debug norm) \ + $(use_enable gtk mp3x) \ + ${myconf} || die "econf failed" + + # Parallel make isn't happy + emake -j1 || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" pkghtmldir="/usr/share/doc/${PF}/html" install || die + + dodoc API ChangeLog HACKING PRESETS.draft README* STYLEGUIDE TODO USAGE + dohtml misc/lameGUI.html Dll/LameDLLInterface.htm + + dobin ${S}/misc/mlame +} |