summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2006-11-07 06:53:15 +0000
committerAlexis Ballier <aballier@gentoo.org>2006-11-07 06:53:15 +0000
commitca34fa05440c4c89b2324940c7c9ed18dd01b994 (patch)
tree4d28d76f92ad8f1153212a633aaa01b4fa30d9ee /media-sound/moc
parentstable x86, bug #154240 (diff)
downloadgentoo-2-ca34fa05440c4c89b2324940c7c9ed18dd01b994.tar.gz
gentoo-2-ca34fa05440c4c89b2324940c7c9ed18dd01b994.tar.bz2
gentoo-2-ca34fa05440c4c89b2324940c7c9ed18dd01b994.zip
Version bump, wrt to bug #153327
(Portage version: 2.1.2_rc1-r4)
Diffstat (limited to 'media-sound/moc')
-rw-r--r--media-sound/moc/ChangeLog7
-rw-r--r--media-sound/moc/files/digest-moc-2.4.13
-rw-r--r--media-sound/moc/moc-2.4.1.ebuild61
3 files changed, 70 insertions, 1 deletions
diff --git a/media-sound/moc/ChangeLog b/media-sound/moc/ChangeLog
index 601da34f65dc..877ada213b65 100644
--- a/media-sound/moc/ChangeLog
+++ b/media-sound/moc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/moc
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/ChangeLog,v 1.26 2006/10/20 22:25:55 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/ChangeLog,v 1.27 2006/11/07 06:53:15 aballier Exp $
+
+*moc-2.4.1 (07 Nov 2006)
+
+ 07 Nov 2006; Alexis Ballier <aballier@gentoo.org> +moc-2.4.1.ebuild:
+ Version bump, wrt to bug #153327
20 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> moc-2.2.0-r1.ebuild,
moc-2.3.0.ebuild, moc-2.3.2.ebuild, moc-2.3.3.ebuild, moc-2.4.0.ebuild:
diff --git a/media-sound/moc/files/digest-moc-2.4.1 b/media-sound/moc/files/digest-moc-2.4.1
new file mode 100644
index 000000000000..9f16cdd0cb8b
--- /dev/null
+++ b/media-sound/moc/files/digest-moc-2.4.1
@@ -0,0 +1,3 @@
+MD5 7b760a9c05d3f50781d06ed2d83aaee8 moc-2.4.1.tar.bz2 439866
+RMD160 206d8342e331bf4f918069de4e797310a4adc2fb moc-2.4.1.tar.bz2 439866
+SHA256 0f4ef44e86b7edb4ee910f8b5c02efa59985ab1a0cf2f57497c71a2932699d28 moc-2.4.1.tar.bz2 439866
diff --git a/media-sound/moc/moc-2.4.1.ebuild b/media-sound/moc/moc-2.4.1.ebuild
new file mode 100644
index 000000000000..f7c086aea524
--- /dev/null
+++ b/media-sound/moc/moc-2.4.1.ebuild
@@ -0,0 +1,61 @@
+# 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.4.1.ebuild,v 1.1 2006/11/07 06:53:15 aballier 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="~amd64 ~ppc ~sparc ~x86"
+IUSE="flac ffmpeg 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-1.1.2 )
+ ffmpeg? ( media-video/ffmpeg )
+ mad? ( media-libs/libmad sys-libs/zlib media-libs/libid3tag )
+ musepack? ( media-libs/libmpcdec >=media-libs/taglib-1.3 )
+ vorbis? ( >=media-libs/libvorbis-1.0 )
+ speex? ( >=media-libs/speex-1.0.0 )
+ libsamplerate? ( >=media-libs/libsamplerate-0.1.0 )
+ curl? ( >=net-misc/curl-7.12.2 )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+}
+
+src_compile() {
+ econf --without-rcc \
+ $(use_with flac) \
+ $(use_with mad mp3) \
+ $(use_with vorbis ogg) \
+ $(use_with oss) \
+ $(use_with alsa) \
+ $(use_with musepack) \
+ $(use_with sndfile) \
+ $(use_with libsamplerate samplerate) \
+ $(use_enable debug) \
+ || die "./configure failed"
+
+ emake || die "make failed"
+}
+
+src_install () {
+ emake 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."
+}