summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/moc/ChangeLog7
-rw-r--r--media-sound/moc/Manifest4
-rw-r--r--media-sound/moc/files/digest-moc-2.2.01
-rw-r--r--media-sound/moc/moc-2.2.0.ebuild38
4 files changed, 48 insertions, 2 deletions
diff --git a/media-sound/moc/ChangeLog b/media-sound/moc/ChangeLog
index 81c6da9be346..88739a71a2b6 100644
--- a/media-sound/moc/ChangeLog
+++ b/media-sound/moc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/moc
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/ChangeLog,v 1.12 2005/01/21 18:33:10 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/ChangeLog,v 1.13 2005/02/27 17:19:17 sekretarz Exp $
+
+*moc-2.2.0 (27 Feb 2005)
+
+ 27 Feb 2005; Karol Wojtaszek <sekretarz@gentoo.org> +moc-2.2.0.ebuild:
+ Version bump, bug #83402
*moc-2.1.4 (21 Jan 2005)
diff --git a/media-sound/moc/Manifest b/media-sound/moc/Manifest
index 06b27b720be2..35cfa1ef46ef 100644
--- a/media-sound/moc/Manifest
+++ b/media-sound/moc/Manifest
@@ -1,8 +1,10 @@
MD5 034a690a78c8a4ec539fc17b8f30e6f4 moc-1.1.0.ebuild 1031
-MD5 24169694ca154be3fa7aa464483dc77c ChangeLog 1575
+MD5 9c64f45feead40dbd26072197c8f55e0 moc-2.2.0.ebuild 1058
+MD5 304b5fd95a5e95b7b340f797658c06ca ChangeLog 1702
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
MD5 20a4ed30ecafd0d58e25f6ebab39e57c moc-2.1.4.ebuild 1055
MD5 a90f9e3223b6e3cb5a0bf42b862d130e files/digest-moc-1.1.0 61
MD5 986d4f67476a2c02f6ca1b20e7c57c0b files/digest-moc-2.1.4 61
+MD5 285908314a37f1af4c045d98d60a1e0d files/digest-moc-2.2.0 61
MD5 ffe585145e5d7dfe41d78a4b05a36802 files/moc-1.1.0-gcc3.patch 4196
MD5 5a9ee40731b6659c61c667199e041802 files/moc-1.1.0-gcc34.patch 211
diff --git a/media-sound/moc/files/digest-moc-2.2.0 b/media-sound/moc/files/digest-moc-2.2.0
new file mode 100644
index 000000000000..760902b08d62
--- /dev/null
+++ b/media-sound/moc/files/digest-moc-2.2.0
@@ -0,0 +1 @@
+MD5 992f64aee3a2bba83ee15b834bd796fb moc-2.2.0.tar.gz 233176
diff --git a/media-sound/moc/moc-2.2.0.ebuild b/media-sound/moc/moc-2.2.0.ebuild
new file mode 100644
index 000000000000..a969355172dc
--- /dev/null
+++ b/media-sound/moc/moc-2.2.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/moc-2.2.0.ebuild,v 1.1 2005/02/27 17:19:17 sekretarz Exp $
+
+IUSE="oggvorbis mad oss"
+
+inherit eutils
+
+DESCRIPTION="Music On Console - ncurses interface for playing audio files"
+HOMEPAGE="http://moc.daper.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~sparc ~x86"
+
+DEPEND="media-libs/libao
+ sys-libs/ncurses
+ oggvorbis? ( media-libs/libvorbis )
+ mad? ( media-libs/libmad sys-libs/zlib media-libs/libid3tag )"
+
+src_compile() {
+ local myconf
+ use oggvorbis || myconf="--without-ogg"
+ use mad || myconf="${myconf} --without-mp3"
+ use oss || myconf="${myconf} --without-oss"
+
+ econf ${myconf} || die "./configure failed"
+ emake || die "make failed"
+}
+
+src_install () {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README TODO
+
+ # the binary was renamed to mocp in version 2
+ dosym /usr/bin/mocp /usr/bin/moc
+}