diff options
author | Chris White <chriswhite@gentoo.org> | 2006-01-01 09:27:00 +0000 |
---|---|---|
committer | Chris White <chriswhite@gentoo.org> | 2006-01-01 09:27:00 +0000 |
commit | f16deb3e4368d4ec6eec4c4b2c1b3ffc4f1d4e10 (patch) | |
tree | 28934745d6fe71f042cdf41eef848aeaa57ae673 /media-sound/moc/moc-2.3.2.ebuild | |
parent | mark stable (diff) | |
download | historical-f16deb3e4368d4ec6eec4c4b2c1b3ffc4f1d4e10.tar.gz historical-f16deb3e4368d4ec6eec4c4b2c1b3ffc4f1d4e10.tar.bz2 historical-f16deb3e4368d4ec6eec4c4b2c1b3ffc4f1d4e10.zip |
Added 2.3.2 with -* keywords for bug #104975. Marked ~x86 arch.
Package-Manager: portage-2.0.53
Diffstat (limited to 'media-sound/moc/moc-2.3.2.ebuild')
-rw-r--r-- | media-sound/moc/moc-2.3.2.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/media-sound/moc/moc-2.3.2.ebuild b/media-sound/moc/moc-2.3.2.ebuild new file mode 100644 index 000000000000..5d8689b23002 --- /dev/null +++ b/media-sound/moc/moc-2.3.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/moc-2.3.2.ebuild,v 1.1 2006/01/01 09:27:00 chriswhite Exp $ + +inherit eutils autotools + +DESCRIPTION="Music On Console - ncurses interface for playing audio files" +HOMEPAGE="http://moc.daper.net/" +SRC_URI="ftp://ftp.daper.net/pub/soft/${PN}/stable/${P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="-* ~x86" +IUSE="flac mad oss vorbis debug alsa speex libsamplerate curl sndfile musepack" + +# libvorbis is pulled in so the USE flag is vorbis +# since upstream apparently assumes ogg is an audio +# codec +DEPEND="media-libs/libao + sys-libs/ncurses + alsa? ( >=media-libs/alsa-lib-0.9 ) + sndfile? ( >=media-libs/libsndfile-1.0.0 ) + flac? ( media-libs/flac ) + mad? ( media-libs/libmad sys-libs/zlib media-libs/libid3tag ) + muse? ( media-libs/libmpcdec >=media-libs/taglib-1.3 ) + vorbis? ( >=media-libs/libvorbis-1.0 ) + jack? ( >=media-sound/jack-audio-connection-kit-0.4 ) + speex? ( >=media-libs/speex-1.0.0 ) + libsamplerate? ( >=media-libs/libsamplerate-0.1.0 ) + curl? ( >=net-misc/curl-7.12.0 )" + +src_unpack() { + unpack ${A} + cd ${S} + # big configure fixes + epatch ${FILESDIR}/${P}-configure.patch + AT_M4DIR="m4" + eautoreconf +} + +src_compile() { + econf \ + $(use_with flac) \ + $(use_with mad mp3) \ + $(use_with vorbis ogg) \ + $(use_with oss) \ + $(use_with alsa) \ + $(use_with jack) \ + $(use_with musepack) \ + $(use_enable debug) \ + $(use_with sndfile) \ + $(use_with libsamplerate samplerate) \ + || die "./configure failed" + emake || die "make failed" +} + +src_install () { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog NEWS README TODO +} + +pkg_postinst() { + einfo "The binary was renamed due to conflicts with moc" + einfo "from the QT project. Its new name is mocp." +} |