summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-10-22 19:04:52 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-10-22 19:04:52 +0000
commit544dc4124a13c90660f51112f0e3dac4a8627303 (patch)
treeeaef2af8d82284eccc4fe82737cdd2caf1dfe30e /media-sound/mpg123
parentVersion bump. Added 'doc','emacs' and 'examples' USE-flag. Complete rework of... (diff)
downloadgentoo-2-544dc4124a13c90660f51112f0e3dac4a8627303.tar.gz
gentoo-2-544dc4124a13c90660f51112f0e3dac4a8627303.tar.bz2
gentoo-2-544dc4124a13c90660f51112f0e3dac4a8627303.zip
version bump, bug 145288, thanks go to Stefan Talpalaru <stefantalpalaru@yahoo.com> and Horst Schirmeier <gentoo@schirmeier.com> and to upstream maintainer Thomas Orgis <thomas@orgis.org>
(Portage version: 2.1.2_pre3-r6)
Diffstat (limited to 'media-sound/mpg123')
-rw-r--r--media-sound/mpg123/ChangeLog9
-rw-r--r--media-sound/mpg123/files/digest-mpg123-0.613
-rw-r--r--media-sound/mpg123/mpg123-0.61.ebuild54
3 files changed, 65 insertions, 1 deletions
diff --git a/media-sound/mpg123/ChangeLog b/media-sound/mpg123/ChangeLog
index e4e49121c819..be03009f8223 100644
--- a/media-sound/mpg123/ChangeLog
+++ b/media-sound/mpg123/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/mpg123
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.104 2006/09/04 05:09:28 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.105 2006/10/22 19:04:52 genstef Exp $
+
+*mpg123-0.61 (22 Oct 2006)
+
+ 22 Oct 2006; Stefan Schweizer <genstef@gentoo.org> +mpg123-0.61.ebuild:
+ version bump, bug 145288, thanks go to Stefan Talpalaru
+ <stefantalpalaru@yahoo.com> and Horst Schirmeier <gentoo@schirmeier.com> and
+ to upstream maintainer Thomas Orgis <thomas@orgis.org>
04 Sep 2006; Joshua Kinard <kumba@gentoo.org> mpg123-0.59s-r11.ebuild:
Marked stable on mips.
diff --git a/media-sound/mpg123/files/digest-mpg123-0.61 b/media-sound/mpg123/files/digest-mpg123-0.61
new file mode 100644
index 000000000000..85e9c856056f
--- /dev/null
+++ b/media-sound/mpg123/files/digest-mpg123-0.61
@@ -0,0 +1,3 @@
+MD5 13b505ec04e5afb10399c89f24e99f0e mpg123-0.61.tar.bz2 494134
+RMD160 379456e2ac7109a71381eb080695e4e21127b466 mpg123-0.61.tar.bz2 494134
+SHA256 90efc651f2486bc3ea7bb40bce0fc6d5636de71d5375c0cce9099d9ffd07718d mpg123-0.61.tar.bz2 494134
diff --git a/media-sound/mpg123/mpg123-0.61.ebuild b/media-sound/mpg123/mpg123-0.61.ebuild
new file mode 100644
index 000000000000..fc278e232396
--- /dev/null
+++ b/media-sound/mpg123/mpg123-0.61.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-0.61.ebuild,v 1.1 2006/10/22 19:04:52 genstef Exp $
+
+DESCRIPTION="Real Time mp3 player"
+HOMEPAGE="http://www.mpg123.de/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86"
+IUSE="mmx 3dnow esd nas oss alsa sdl"
+
+RDEPEND="esd? ( media-sound/esound )
+ nas? ( media-libs/nas )
+ alsa? ( media-libs/alsa-lib )
+ sdl? ( media-libs/libsdl )"
+
+DEPEND="${RDEPEND}"
+
+PROVIDE="virtual/mpg123"
+
+src_compile() {
+ if use alsa; then
+ audiodev="alsa"
+ elif use oss; then
+ audiodev="oss"
+ elif use sdl; then
+ audiodev="sdl"
+ elif use esd; then
+ audiodev="esd"
+ elif use nas; then
+ audiodev="nas"
+ else die "no audio device selected"
+ fi
+
+ if use 3dnow; then
+ myconf="--with-cpu=3dnow"
+ elif use mmx; then
+ myconf="--with-cpu=mmx"
+ fi
+
+ econf \
+ --with-optimization=0 \
+ --with-audio=$audiodev \
+ ${myconf} || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}