diff options
author | Samuli Suominen <drac@gentoo.org> | 2007-08-06 18:01:43 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2007-08-06 18:01:43 +0000 |
commit | d8bc73884c6dea996776719d7ecd431403bae853 (patch) | |
tree | de80e247f09833c06974dc3b283d55d280dd20af /media-sound/vorbis-tools | |
parent | Added http-replicator revision with new repcacheman that handles the new Mani... (diff) | |
download | gentoo-2-d8bc73884c6dea996776719d7ecd431403bae853.tar.gz gentoo-2-d8bc73884c6dea996776719d7ecd431403bae853.tar.bz2 gentoo-2-d8bc73884c6dea996776719d7ecd431403bae853.zip |
Add largefile support for bug 170677, thanks to Yaroslav Isakov for reporting.
(Portage version: 2.1.3.3)
Diffstat (limited to 'media-sound/vorbis-tools')
-rw-r--r-- | media-sound/vorbis-tools/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/vorbis-tools/files/digest-vorbis-tools-1.1.1-r5 | 6 | ||||
-rw-r--r-- | media-sound/vorbis-tools/vorbis-tools-1.1.1-r5.ebuild | 78 |
3 files changed, 91 insertions, 1 deletions
diff --git a/media-sound/vorbis-tools/ChangeLog b/media-sound/vorbis-tools/ChangeLog index ae54fa52ef37..000ffc676dbb 100644 --- a/media-sound/vorbis-tools/ChangeLog +++ b/media-sound/vorbis-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/vorbis-tools # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/vorbis-tools/ChangeLog,v 1.54 2007/06/05 12:46:33 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/vorbis-tools/ChangeLog,v 1.55 2007/08/06 18:01:43 drac Exp $ + +*vorbis-tools-1.1.1-r5 (06 Aug 2007) + + 06 Aug 2007; Samuli Suominen <drac@gentoo.org> + +vorbis-tools-1.1.1-r5.ebuild: + Add largefile support for bug 170677, thanks to Yaroslav Isakov for reporting. 05 Jun 2007; Raúl Porcel <armin76@gentoo.org> vorbis-tools-1.1.1-r3.ebuild: diff --git a/media-sound/vorbis-tools/files/digest-vorbis-tools-1.1.1-r5 b/media-sound/vorbis-tools/files/digest-vorbis-tools-1.1.1-r5 new file mode 100644 index 000000000000..549f8539ab4c --- /dev/null +++ b/media-sound/vorbis-tools/files/digest-vorbis-tools-1.1.1-r5 @@ -0,0 +1,6 @@ +MD5 fc64bbc3738e51d8f4bfa1c66c5ca01f vorbis-tools-1.1.1+flac-1.1.3.tar.bz2 4119 +RMD160 8da2d4bd0f65681dbbb5e71c94ca7419633dde60 vorbis-tools-1.1.1+flac-1.1.3.tar.bz2 4119 +SHA256 2a5f74087c10f33b0891c41b71c6c51bda21e017287dd2190019cc4546645646 vorbis-tools-1.1.1+flac-1.1.3.tar.bz2 4119 +MD5 47845fd76f5f2354a3619c4097575487 vorbis-tools-1.1.1.tar.gz 948837 +RMD160 ed38929b8a81f833f726e489e55e9f62d5ed69ec vorbis-tools-1.1.1.tar.gz 948837 +SHA256 617b4aa69e600c215b34fa3fd5764bc1d9d205d9d7d9fe7812bde7ec956fcaad vorbis-tools-1.1.1.tar.gz 948837 diff --git a/media-sound/vorbis-tools/vorbis-tools-1.1.1-r5.ebuild b/media-sound/vorbis-tools/vorbis-tools-1.1.1-r5.ebuild new file mode 100644 index 000000000000..ce34d6bac6ba --- /dev/null +++ b/media-sound/vorbis-tools/vorbis-tools-1.1.1-r5.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/vorbis-tools/vorbis-tools-1.1.1-r5.ebuild,v 1.1 2007/08/06 18:01:43 drac Exp $ + +IUSE="nls flac speex minimal" + +WANT_AUTOCONF=2.5 +WANT_AUTOMAKE=1.9 + +inherit eutils toolchain-funcs flag-o-matic autotools + +DESCRIPTION="tools for using the Ogg Vorbis sound file format" +HOMEPAGE="http://www.vorbis.com/" +SRC_URI="http://downloads.xiph.org/releases/vorbis/${P}.tar.gz + mirror://gentoo/${P}+flac-1.1.3.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" + +RDEPEND=">=media-libs/libvorbis-1.1.0 + !minimal? ( >=media-libs/libao-0.8.2 + >=net-misc/curl-7.9 ) + speex? ( media-libs/speex ) + flac? ( media-libs/flac )" + +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +pkg_setup() { + if use flac && ! built_with_use media-libs/flac ogg; then + eerror "To be able to play OggFlac files you need to build" + eerror "media-libs/flac with +ogg, to build libOggFLAC." + die "Missing libOggFLAC library." + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-utf8.patch" + epatch "${WORKDIR}/${P}+flac-1.1.3-1.patch" + epatch "${WORKDIR}/${P}+flac-1.1.3-2.patch" + epatch "${WORKDIR}/${P}+flac-1.1.3-3.patch" + epatch "${FILESDIR}/${P}-curl-7.16.0.patch" + AT_M4DIR="m4" eautoreconf +} + +src_compile() { + # largefile support, bug 170677 + append-flags -D_FILE_OFFSET_BITS=64 + + use hppa && [ "`gcc-fullversion`" == "3.3.2" ] && replace-flags -march=2.0 -march=1.0 + local myconf + + # --with-flac is not supported. See bug #49763 + use flac || myconf="${myconf} --without-flac" + # --with-speex is not supported. See bug #97316 + use speex || myconf="${myconf} --without-speex" + # bug 143812 + use minimal && myconf="${myconf} --disable-ogg123" + + # for vcut see bug #143487 + econf \ + --enable-vcut \ + $(use_enable nls) \ + ${myconf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die + + rm -rf ${D}/usr/share/doc + dodoc AUTHORS README + docinto ogg123 + dodoc ogg123/ogg123rc-example +} |