summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-11-17 00:27:30 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-11-17 00:27:30 +0000
commitf1d2a9b049e366231a14e4e2b1d7e41f49b00117 (patch)
treee76929a16413f9c42e6f6cd333f51a841b3ca41c /media-sound
parentAdded DESTDIR patch and set higher versions for required auto* tools. Closes... (diff)
downloadgentoo-2-f1d2a9b049e366231a14e4e2b1d7e41f49b00117.tar.gz
gentoo-2-f1d2a9b049e366231a14e4e2b1d7e41f49b00117.tar.bz2
gentoo-2-f1d2a9b049e366231a14e4e2b1d7e41f49b00117.zip
Ebuild cleanup. Added gcc-3.4 fix thanks to James <James@superbug.demon.co.uk> in bug #71139. Added to ~amd64.
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/moc/ChangeLog7
-rw-r--r--media-sound/moc/files/moc-1.1.0-gcc34.patch10
-rw-r--r--media-sound/moc/moc-1.1.0.ebuild21
3 files changed, 27 insertions, 11 deletions
diff --git a/media-sound/moc/ChangeLog b/media-sound/moc/ChangeLog
index 3a9d660c5a6a..65c3b8e3b5f4 100644
--- a/media-sound/moc/ChangeLog
+++ b/media-sound/moc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/moc
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/ChangeLog,v 1.7 2004/09/24 18:37:26 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/ChangeLog,v 1.8 2004/11/17 00:27:30 eradicator Exp $
+
+ 16 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ +files/moc-1.1.0-gcc34.patch, moc-1.1.0.ebuild:
+ Ebuild cleanup. Added gcc-3.4 fix thanks to James
+ <James@superbug.demon.co.uk> in bug #71139. Added to ~amd64.
24 Sep 2004; Sven Wegener <swegener@gentoo.org> moc-1.1.0.ebuild:
Fixed CVS keyword replacement.
diff --git a/media-sound/moc/files/moc-1.1.0-gcc34.patch b/media-sound/moc/files/moc-1.1.0-gcc34.patch
new file mode 100644
index 000000000000..00e234978d1b
--- /dev/null
+++ b/media-sound/moc/files/moc-1.1.0-gcc34.patch
@@ -0,0 +1,10 @@
+--- interface.c.org 2004-11-14 12:02:20.299531311 +0000
++++ interface.c 2004-11-14 12:02:30.669978183 +0000
+@@ -1033,6 +1033,7 @@
+ return_menu ();
+ break;
+ default:
++ break;
+ }
+ }
+ #endif
diff --git a/media-sound/moc/moc-1.1.0.ebuild b/media-sound/moc/moc-1.1.0.ebuild
index 4bd3f0347cd5..8d6a2535edb3 100644
--- a/media-sound/moc/moc-1.1.0.ebuild
+++ b/media-sound/moc/moc-1.1.0.ebuild
@@ -1,29 +1,29 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/moc-1.1.0.ebuild,v 1.9 2004/09/24 18:37:26 swegener Exp $
-
-inherit eutils
+# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/moc-1.1.0.ebuild,v 1.10 2004/11/17 00:27:30 eradicator Exp $
IUSE="oggvorbis mad oss"
+inherit eutils
+
DESCRIPTION="Music On Console - ncurses interface for playing audio files"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-RESTRICT="nomirror"
HOMEPAGE="http://moc.daper.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 x86"
DEPEND="media-libs/libao
sys-libs/ncurses
oggvorbis? ( media-libs/libvorbis )
mad? ( media-libs/libmad sys-libs/zlib )"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86"
-
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-gcc3.patch
+ epatch ${FILESDIR}/${P}-gcc34.patch
}
src_compile() {
@@ -37,5 +37,6 @@ src_compile() {
}
src_install () {
- einstall || die
+ make DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README TODO
}