From 96cfec72ca63441f2c9b085738c20796af75e454 Mon Sep 17 00:00:00 2001 From: Steve Dibb Date: Fri, 9 Mar 2007 03:58:23 +0000 Subject: [PATCH] Add minimal use flag, bug 143812 Package-Manager: portage-2.1.2.2 --- media-sound/vorbis-tools/ChangeLog | 8 +- media-sound/vorbis-tools/Manifest | 15 +++- .../files/digest-vorbis-tools-1.1.1-r4 | 6 ++ .../vorbis-tools/vorbis-tools-1.1.1-r4.ebuild | 75 +++++++++++++++++++ 4 files changed, 99 insertions(+), 5 deletions(-) create mode 100644 media-sound/vorbis-tools/files/digest-vorbis-tools-1.1.1-r4 create mode 100644 media-sound/vorbis-tools/vorbis-tools-1.1.1-r4.ebuild diff --git a/media-sound/vorbis-tools/ChangeLog b/media-sound/vorbis-tools/ChangeLog index 977e7f7cc829..fb112608ea9f 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.52 2007/02/03 10:27:57 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/vorbis-tools/ChangeLog,v 1.53 2007/03/09 03:58:23 beandog Exp $ + +*vorbis-tools-1.1.1-r4 (09 Mar 2007) + + 09 Mar 2007; Steve Dibb + +vorbis-tools-1.1.1-r4.ebuild: + Add minimal use flag, bug 143812 03 Feb 2007; nixnut vorbis-tools-1.1.1-r3.ebuild: Stable on ppc wrt bug 121969 diff --git a/media-sound/vorbis-tools/Manifest b/media-sound/vorbis-tools/Manifest index 5180c9577721..903c351ce2b0 100644 --- a/media-sound/vorbis-tools/Manifest +++ b/media-sound/vorbis-tools/Manifest @@ -34,14 +34,18 @@ EBUILD vorbis-tools-1.1.1-r3.ebuild 1973 RMD160 485da14640a8916f9b16bd5b5fd499ad MD5 d05fb429427d5f33e93e03a4733ff57a vorbis-tools-1.1.1-r3.ebuild 1973 RMD160 485da14640a8916f9b16bd5b5fd499added437a6 vorbis-tools-1.1.1-r3.ebuild 1973 SHA256 073ccdbeade8146959785339d781b5747ede71b48341ff8ecc370755dc1646f7 vorbis-tools-1.1.1-r3.ebuild 1973 +EBUILD vorbis-tools-1.1.1-r4.ebuild 2069 RMD160 84342b25b4611d8373342b47f859bf0892ab4d4b SHA1 4407f2f5238776beb10d63e3b70d3a812d39e582 SHA256 5f4bee3ad94be6529e5bde228fcd2c37e1435d4e5efa988979d3c849e1576275 +MD5 a55d2e81529af5c589560a42fa50672e vorbis-tools-1.1.1-r4.ebuild 2069 +RMD160 84342b25b4611d8373342b47f859bf0892ab4d4b vorbis-tools-1.1.1-r4.ebuild 2069 +SHA256 5f4bee3ad94be6529e5bde228fcd2c37e1435d4e5efa988979d3c849e1576275 vorbis-tools-1.1.1-r4.ebuild 2069 EBUILD vorbis-tools-1.1.1.ebuild 1205 RMD160 cc858050d010cf171bf1a93fbcf36af83216332b SHA1 98c5b89fb7a84def9ed13e8c2e2dd1be07f556d4 SHA256 ab02d6a95cd3e2c769b4023620f35394f35b39c2a1ffc11a3775463070afe848 MD5 8d13c8570dc6ad0586e78a23b84353a3 vorbis-tools-1.1.1.ebuild 1205 RMD160 cc858050d010cf171bf1a93fbcf36af83216332b vorbis-tools-1.1.1.ebuild 1205 SHA256 ab02d6a95cd3e2c769b4023620f35394f35b39c2a1ffc11a3775463070afe848 vorbis-tools-1.1.1.ebuild 1205 -MISC ChangeLog 7541 RMD160 05e58da1db0e47c98ad15c00ccc85d1feac0ac00 SHA1 aa5049e33e4946bf2b273d60d2c8176ef5b4f54b SHA256 389feab5ce7af3e187c703565552b6739044061df830a7c91c6adc9c426dca9c -MD5 4a52a6b042242f879ad32daee718677c ChangeLog 7541 -RMD160 05e58da1db0e47c98ad15c00ccc85d1feac0ac00 ChangeLog 7541 -SHA256 389feab5ce7af3e187c703565552b6739044061df830a7c91c6adc9c426dca9c ChangeLog 7541 +MISC ChangeLog 7696 RMD160 28e2c926cf1464ce6029de8d9e4efbcd324d704a SHA1 6c593ab456c54c00d359415e4d9967a40f3394e9 SHA256 29ec6ec93c43b7f344ee79f4077b8e1416276d327e25361b689c7116355ab684 +MD5 8f0b9bf178ddf0f877d8bbd0b00f8f22 ChangeLog 7696 +RMD160 28e2c926cf1464ce6029de8d9e4efbcd324d704a ChangeLog 7696 +SHA256 29ec6ec93c43b7f344ee79f4077b8e1416276d327e25361b689c7116355ab684 ChangeLog 7696 MISC metadata.xml 252 RMD160 68406e733c1a9f26b7ab37e79ab53b3f59305b3a SHA1 6e5cc1551616801a2f257d688e6fc286044c3499 SHA256 5ab00710d822d203a1a38e1b6a9754137de4fe2cf5c4e79470419ed3f3927450 MD5 527dcfe3ce0f0b53c6b6aa8b82eb930c metadata.xml 252 RMD160 68406e733c1a9f26b7ab37e79ab53b3f59305b3a metadata.xml 252 @@ -64,3 +68,6 @@ SHA256 3852a9d9af24fffe51fcb912cd4499ad17d3752fab8fe396a11f2ca65ca03f26 files/di MD5 a3e17187a6bde4b3b3fb7905eed40d7b files/digest-vorbis-tools-1.1.1-r3 542 RMD160 8f9238fe9bc8920e78ec9c36e130b80ae7c1f77e files/digest-vorbis-tools-1.1.1-r3 542 SHA256 75760e55dc5748bdd1938fd28296bd493f7090ea357b74b8a10a1be07655a0b9 files/digest-vorbis-tools-1.1.1-r3 542 +MD5 a3e17187a6bde4b3b3fb7905eed40d7b files/digest-vorbis-tools-1.1.1-r4 542 +RMD160 8f9238fe9bc8920e78ec9c36e130b80ae7c1f77e files/digest-vorbis-tools-1.1.1-r4 542 +SHA256 75760e55dc5748bdd1938fd28296bd493f7090ea357b74b8a10a1be07655a0b9 files/digest-vorbis-tools-1.1.1-r4 542 diff --git a/media-sound/vorbis-tools/files/digest-vorbis-tools-1.1.1-r4 b/media-sound/vorbis-tools/files/digest-vorbis-tools-1.1.1-r4 new file mode 100644 index 000000000000..549f8539ab4c --- /dev/null +++ b/media-sound/vorbis-tools/files/digest-vorbis-tools-1.1.1-r4 @@ -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-r4.ebuild b/media-sound/vorbis-tools/vorbis-tools-1.1.1-r4.ebuild new file mode 100644 index 000000000000..41623609bfd6 --- /dev/null +++ b/media-sound/vorbis-tools/vorbis-tools-1.1.1-r4.ebuild @@ -0,0 +1,75 @@ +# 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-r4.ebuild,v 1.1 2007/03/09 03:58:23 beandog 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() { + 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 +} -- 2.26.2