summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2007-03-09 03:58:23 +0000
committerSteve Dibb <beandog@gentoo.org>2007-03-09 03:58:23 +0000
commitd645101bd621a30a306b2fb7e14e907dba292c1b (patch)
treed532cce7e1a895c1c595e169c9d5b24bc730085d /media-sound
parentInstall ans2all utility. Added support for compiling/installing arbitrary NCB... (diff)
downloadgentoo-2-d645101bd621a30a306b2fb7e14e907dba292c1b.tar.gz
gentoo-2-d645101bd621a30a306b2fb7e14e907dba292c1b.tar.bz2
gentoo-2-d645101bd621a30a306b2fb7e14e907dba292c1b.zip
Add minimal use flag, bug 143812
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/vorbis-tools/ChangeLog8
-rw-r--r--media-sound/vorbis-tools/files/digest-vorbis-tools-1.1.1-r46
-rw-r--r--media-sound/vorbis-tools/vorbis-tools-1.1.1-r4.ebuild75
3 files changed, 88 insertions, 1 deletions
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 <beandog@gentoo.org>
+ +vorbis-tools-1.1.1-r4.ebuild:
+ Add minimal use flag, bug 143812
03 Feb 2007; nixnut <nixnut@gentoo.org> vorbis-tools-1.1.1-r3.ebuild:
Stable on ppc wrt bug 121969
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
+}