summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn J. Ellis <jje@gentoo.org>2003-07-19 02:44:39 +0000
committerJohn J. Ellis <jje@gentoo.org>2003-07-19 02:44:39 +0000
commitf32301b047dba56cb3ad07868d19c24e26652b88 (patch)
treefc1b15a890ce01650b1e3c8a1d7205db37cf15f9 /media-sound
parentDev. version of mpg123, w/support for id3_v2 tags. Closes #11740. (diff)
downloadhistorical-f32301b047dba56cb3ad07868d19c24e26652b88.tar.gz
historical-f32301b047dba56cb3ad07868d19c24e26652b88.tar.bz2
historical-f32301b047dba56cb3ad07868d19c24e26652b88.zip
Dev. version of mpg123, w/support for id3_v2 tags. Closes #11740.
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/mpg123/Manifest4
-rw-r--r--media-sound/mpg123/files/digest-mpg123-0.59s1
-rw-r--r--media-sound/mpg123/mpg123-0.59s.ebuild68
3 files changed, 71 insertions, 2 deletions
diff --git a/media-sound/mpg123/Manifest b/media-sound/mpg123/Manifest
index bba1a177867c..5caa44631410 100644
--- a/media-sound/mpg123/Manifest
+++ b/media-sound/mpg123/Manifest
@@ -1,7 +1,7 @@
-MD5 176c805c0ba07f86574ac459a998a8ab ChangeLog 2095
+MD5 243bfbe7420f5102bb8c41f3c811f2c0 ChangeLog 2453
MD5 8905c48231e5ce22894c3ea16ec40623 mpg123-0.59r-r1.ebuild 1418
MD5 e0390e44363588cabadff482a39beb65 mpg123-0.59r-r2.ebuild 1669
-MD5 e8b18fc0039802bf9b73469fdfd122ce mpg123-0.59s.ebuild 1333
+MD5 8ef5c7ee34e42ac19fed2a25a2c7606b mpg123-0.59s.ebuild 1327
MD5 8936a4142ebda9826bda6818a51e1524 files/digest-mpg123-0.59r-r1 64
MD5 660470ffc0acfb171f08032a4d727cba files/mpg123-0.59r-alpha.diff 17451
MD5 95c31be37fcef2c3d007c5ae0a069863 files/mpg123-0.59r-sparc.diff 405
diff --git a/media-sound/mpg123/files/digest-mpg123-0.59s b/media-sound/mpg123/files/digest-mpg123-0.59s
new file mode 100644
index 000000000000..88b7f6bafc5b
--- /dev/null
+++ b/media-sound/mpg123/files/digest-mpg123-0.59s
@@ -0,0 +1 @@
+MD5 a63675b0ea7990d4a7d7e7e14f23a3e4 mpg123-pre0.59s.tar.gz 244899
diff --git a/media-sound/mpg123/mpg123-0.59s.ebuild b/media-sound/mpg123/mpg123-0.59s.ebuild
new file mode 100644
index 000000000000..9ce8f10b9d07
--- /dev/null
+++ b/media-sound/mpg123/mpg123-0.59s.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-0.59s.ebuild,v 1.1 2003/07/19 02:44:31 jje Exp $
+
+S=${WORKDIR}/mpg123
+
+DESCRIPTION="Real Time mp3 player"
+SRC_URI="http://www.mpg123.de/mpg123/${PN}-pre${PV}.tar.gz"
+HOMEPAGE="http://www.mpg123.de/"
+
+DEPEND="virtual/glibc"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~x86"
+
+src_unpack () {
+ unpack ${A}
+ cd ${S}
+ cp Makefile Makefile.orig
+ sed -e "s:-O2 -m486:${CFLAGS}:" \
+ -e "s:-O2 -mcpu=ppc:${CFLAGS}:g" Makefile.orig > Makefile
+}
+
+src_compile() {
+ local MAKEOPT=""
+ local MAKESTYLE=""
+
+ SYSTEM_ARCH=`echo $ARCH |\
+ sed -e s/[i]*.86/i386/ \
+ -e s/sun.*/sparc/ \
+ -e s/arm.*/arm/ \
+ -e s/sa110/arm/`
+
+ if [ -z "$SYSTEM_ARCH" ]
+ then
+ SYSTEM_ARCH=`uname -m |\
+ sed -e s/[i]*.86/i386/ -e s/arm.*/arm/ -e s/sa110/arm/`
+ fi
+
+ case $SYSTEM_ARCH in
+ ppc)
+ MAKESTYLE="-ppc";;
+ i386)
+ if [ -z "use mmx" ]
+ then
+ MAKESTYLE="-mmx"
+ else
+ MAKESTYLE="-i486"
+ fi;;
+ sparc64)
+ MAKESTYLE="-sparc";;
+ sparc)
+ MAKESTYLE="-sparc";;
+ arm)
+ ;;
+ esac
+
+ make linux${MAKESTYLE}${MAKEOPT} || die
+}
+
+src_install () {
+ into /usr
+ dobin mpg123
+ doman mpg123.1
+ dodoc BENCHMARKING BUGS CHANGES COPYING JUKEBOX README* TODO
+}
+