diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-11-15 21:57:56 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-11-15 21:57:56 +0000 |
commit | f3eefa9734339d74b2bfcbd2e24446d5344bccd6 (patch) | |
tree | 6a0ba52ec1843215c889007343fa46ca875e9ba7 /media-sound | |
parent | Stable on amd64 and removed keyword from -r0 revision. (diff) | |
download | gentoo-2-f3eefa9734339d74b2bfcbd2e24446d5344bccd6.tar.gz gentoo-2-f3eefa9734339d74b2bfcbd2e24446d5344bccd6.tar.bz2 gentoo-2-f3eefa9734339d74b2bfcbd2e24446d5344bccd6.zip |
Enable vcut by default, as 1.0 version did. Thanks to Ben de Groot and Alessio Cassiba in bug #143487.
(Portage version: 2.1.2_rc1-r7)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/vorbis-tools/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/vorbis-tools/files/digest-vorbis-tools-1.1.1-r3 | 3 | ||||
-rw-r--r-- | media-sound/vorbis-tools/vorbis-tools-1.1.1-r3.ebuild | 64 |
3 files changed, 75 insertions, 1 deletions
diff --git a/media-sound/vorbis-tools/ChangeLog b/media-sound/vorbis-tools/ChangeLog index f8ac5acd1fab..f301f0860330 100644 --- a/media-sound/vorbis-tools/ChangeLog +++ b/media-sound/vorbis-tools/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-sound/vorbis-tools # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/vorbis-tools/ChangeLog,v 1.43 2006/10/19 17:18:48 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/vorbis-tools/ChangeLog,v 1.44 2006/11/15 21:57:56 flameeyes Exp $ + +*vorbis-tools-1.1.1-r3 (15 Nov 2006) + + 15 Nov 2006; Diego Pettenò <flameeyes@gentoo.org> + +vorbis-tools-1.1.1-r3.ebuild: + Enable vcut by default, as 1.0 version did. Thanks to Ben de Groot and + Alessio Cassiba in bug #143487. 19 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> vorbis-tools-1.0.1.ebuild, vorbis-tools-1.0.1-r1.ebuild, diff --git a/media-sound/vorbis-tools/files/digest-vorbis-tools-1.1.1-r3 b/media-sound/vorbis-tools/files/digest-vorbis-tools-1.1.1-r3 new file mode 100644 index 000000000000..6e41b3b90627 --- /dev/null +++ b/media-sound/vorbis-tools/files/digest-vorbis-tools-1.1.1-r3 @@ -0,0 +1,3 @@ +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-r3.ebuild b/media-sound/vorbis-tools/vorbis-tools-1.1.1-r3.ebuild new file mode 100644 index 000000000000..50ef22569210 --- /dev/null +++ b/media-sound/vorbis-tools/vorbis-tools-1.1.1-r3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2006 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-r3.ebuild,v 1.1 2006/11/15 21:57:56 flameeyes Exp $ + +IUSE="nls flac speex" + +inherit eutils toolchain-funcs flag-o-matic + +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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" + +RDEPEND=">=media-libs/libvorbis-1.1.0 + >=media-libs/libao-0.8.2 + >=net-misc/curl-7.9 + speex? ( media-libs/speex ) + flac? ( ~media-libs/flac-1.1.2 )" + +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" +} + +src_compile() { + 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" + + # 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 +} |