summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-02-21 17:26:02 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-02-21 17:26:02 +0000
commitafeba64ece7bad5fe83ed00ee651d1d6bbe87cd8 (patch)
tree908374932635bbbc4e2cb33bda27292ea7de14de /media-sound
parentAdd message about unslotting and backwards compatibility to pkg_postinst. (diff)
downloadhistorical-afeba64ece7bad5fe83ed00ee651d1d6bbe87cd8.tar.gz
historical-afeba64ece7bad5fe83ed00ee651d1d6bbe87cd8.tar.bz2
historical-afeba64ece7bad5fe83ed00ee651d1d6bbe87cd8.zip
old
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/mpg123/Manifest6
-rw-r--r--media-sound/mpg123/files/0.59s-set-terminal-line-settings-once.patch21
-rw-r--r--media-sound/mpg123/files/mpg123-0.59s-gmake-3.81.patch196
-rw-r--r--media-sound/mpg123/files/mpg123-respectusercflags.patch29
-rw-r--r--media-sound/mpg123/mpg123-0.59s-r11.ebuild134
5 files changed, 0 insertions, 386 deletions
diff --git a/media-sound/mpg123/Manifest b/media-sound/mpg123/Manifest
index 268e6fabb6b8..64cefac19cf9 100644
--- a/media-sound/mpg123/Manifest
+++ b/media-sound/mpg123/Manifest
@@ -1,12 +1,6 @@
-AUX 0.59s-set-terminal-line-settings-once.patch 767 RMD160 7fe4d8c799ff633511b825d6cf624aba73900efa SHA1 c53183f5581e20cb267b77fe0e2f9da9db495051 SHA256 b4c350475b6392a6fdc1b54141665112c829e02111e3080eb0c49f4edaf7a412
AUX 0.67-no-faltivec.patch 424 RMD160 347c74b29a83a20b950a1c0c6e7e00fa0f1492b0 SHA1 053a548788c69a1e1ee2d17ce4e1e62639134e48 SHA256 66afa6aa654f38abb114c67f69ae23842d8e41d5936dacc55d81034c38050d45
-AUX mpg123-0.59s-gmake-3.81.patch 7489 RMD160 698ffe24b926ffb6de7afe50b0e2ba8d7928f4d8 SHA1 e3e6604a85202bf572d317332ad8c3f8071d064d SHA256 cadb1ad75b36efd853ad0e1637db3d88ec37b6bb4e1726e025e21676c7507438
-AUX mpg123-respectusercflags.patch 854 RMD160 da65d77e7cfa8822c86c04fdcbf0b0024293be48 SHA1 d9edc5cafcd27b81b110d958881666ab5e8f5b8c SHA256 4d5fc7650687f3c7aeb3e82622bde477f24412d914e5ceb30000725d654185dd
-DIST mpg123-0.59s-gentoo-1.6.tar.bz2 7311 RMD160 393f10020bb15a813cc53570926be279d0e9b798 SHA1 9c74d4fac54be92c74faddcc7a8c52c9a8818291 SHA256 5ecbe31774b6fc83c3a73c06da8e75d419486b57339f41ac8e7848c5ede268e5
DIST mpg123-0.67.tar.bz2 559725 RMD160 29a8343a08d01ed5ff5462b4a90e95f13db29b89 SHA1 caf70343893a83cf8d9233b50ee67e8bc35cbd96 SHA256 af19eeb8898639491e9d8ebfc14e79cf0dd7f3776d20b4baa03685626882fd54
DIST mpg123-1.2.0.tar.bz2 980524 RMD160 39bf40f232e8e0985a5bf0d1f21a02ec2cd5523f SHA1 c72c5644e5382db4d8b32a36e44018712673fe92 SHA256 c056093cbb3db0f70625a62b023a0ee1dee7af6a08ef4b63f712e45f0ebe0e2a
-DIST mpg123-pre0.59s.tar.gz 244899 RMD160 fdc6ba57c67dc890ef5d2f3a05ff9c520ccf407f SHA1 7e521785dc3a9015f4228f0a118bf36856884b67 SHA256 ba0c1db18ffc7ed2250d6718a23a62e0e98d77bbeedb83ca3993f6421b31256a
-EBUILD mpg123-0.59s-r11.ebuild 3330 RMD160 5a4704c2c976a7698efafde85e162cef93273d2a SHA1 23339ecdd5b7bcca49209d171615e81d6802d5bd SHA256 955c3d3395587d7edd6583e6c414fb6fcb15c46f6ac76148785af056c9f6f1fd
EBUILD mpg123-0.67.ebuild 2162 RMD160 55aeb21e50d0944c99cde0cb649b6577adb3ed0f SHA1 ea5b41b6dba50e96491529cebc7a71949b87f002 SHA256 a3fac3a7c355855a6d6d559d38487bdc11722987a9135ee382ec6c8ee935d719
EBUILD mpg123-1.2.0.ebuild 1885 RMD160 30065da2fa53ee47feb92808095587b1048983e4 SHA1 b23f1a8dae2a1d036f711285d2508713c9d6471f SHA256 482bdbf8092ff8dd01d44d33b182ea00fe60c1f733759b43f3be35d4252d8e3a
MISC ChangeLog 21069 RMD160 e1e5b113f988ee9f531cecf06118ad2a25c31bec SHA1 486d952292c05e2b969571718457d25ab18ab130 SHA256 3130dded521ef82bd007089d2297e7007d098bd63d1e9d1c4df2437cb89d5675
diff --git a/media-sound/mpg123/files/0.59s-set-terminal-line-settings-once.patch b/media-sound/mpg123/files/0.59s-set-terminal-line-settings-once.patch
deleted file mode 100644
index 8d43ee44715f..000000000000
--- a/media-sound/mpg123/files/0.59s-set-terminal-line-settings-once.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-term_init() is called everytime a new song starts playing in -C mode
-so only after the first song finishes, as a side effect the original
-terminal line properties were getting overwritten and therefore were
-not restored to the original value. Also as a side effect term_restore()
-was called as many times as songs were played, at exit. The patch
-fixes this by letting the things be executed only once.
-Andrzej Zaborowski <balrog@zabor.org>
-
-diff -Naur mpg123/term.c mpg123b/term.c
---- mpg123/term.c 2000-10-30 17:45:14.000000000 +0000
-+++ mpg123b/term.c 2005-06-09 17:52:49.764132264 +0000
-@@ -25,7 +25,8 @@
- {
- struct termios tio;
-
-- term_enable = 0;
-+ if (term_enable || !param.term_ctrl)
-+ return;
-
- atexit(term_restore);
- if(tcgetattr(0,&tio) < 0) {
diff --git a/media-sound/mpg123/files/mpg123-0.59s-gmake-3.81.patch b/media-sound/mpg123/files/mpg123-0.59s-gmake-3.81.patch
deleted file mode 100644
index 5056a1ab5d80..000000000000
--- a/media-sound/mpg123/files/mpg123-0.59s-gmake-3.81.patch
+++ /dev/null
@@ -1,196 +0,0 @@
---- Makefile.old 2006-05-11 14:52:27.000000000 +0900
-+++ Makefile 2006-05-11 14:48:48.000000000 +0900
-@@ -167,10 +167,9 @@
-
- linux:
- $(MAKE) LDFLAGS= \
-- OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
-- audio_oss.o term.o' \
-+ OBJECTS='decode_i386.o dct64_i386.o decode_i586.o audio_oss.o term.o' \
- CFLAGS='$(CFLAGS) -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \
-- -DOSS -DTERM_CONTROL\
-+ -DOSS -DTERM_CONTROL \
- -Wall \
- -fomit-frame-pointer -funroll-all-loops \
- -finline-functions -ffast-math' \
-@@ -187,10 +186,9 @@
-
- linux-pentium:
- $(MAKE) LDFLAGS= \
-- OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
-- audio_oss.o term.o' \
-+ OBJECTS='decode_i386.o dct64_i386.o decode_i586.o audio_oss.o term.o' \
- CFLAGS='$(CFLAGS) -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \
-- -DOSS -DTERM_CONTROL\
-+ -DOSS -DTERM_CONTROL \
- -Wall -mpentium \
- -fomit-frame-pointer -funroll-all-loops \
- -finline-functions -ffast-math' \
-@@ -198,10 +196,9 @@
-
- linux-mmx:
- $(MAKE) LDFLAGS= \
-- OBJECTS='decode_i386.o dct64_MMX.o tabinit_MMX.o decode_MMX.o \
-- audio_oss.o term.o' \
-+ OBJECTS='decode_i386.o dct64_MMX.o tabinit_MMX.o decode_MMX.o audio_oss.o term.o' \
- CFLAGS='-DUSE_MMX -DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT \
-- -DLINUX -DOSS -DTERM_CONTROL\
-+ -DLINUX -DOSS -DTERM_CONTROL \
- -Wall \
- -fomit-frame-pointer -funroll-all-loops \
- -finline-functions -ffast-math' \
-@@ -209,11 +206,9 @@
-
- linux-3dnow:
- $(MAKE) LDFLAGS= \
-- OBJECTS='decode_i386.o decode_3dnow.o dct64_3dnow.o \
-- dct64_i386.o dct36_3dnow.o getcpuflags.o \
-- equalizer_3dnow.o decode_i586.o audio_oss.o term.o' \
-+ OBJECTS='decode_i386.o decode_3dnow.o dct64_3dnow.o dct64_i386.o dct36_3dnow.o getcpuflags.o equalizer_3dnow.o decode_i586.o audio_oss.o term.o' \
- CFLAGS='$(CFLAGS) -DI386_ASSEM -DREAL_IS_FLOAT -DPENTIUM_OPT -DLINUX \
-- -DUSE_3DNOW -DOSS -DTERM_CONTROL\
-+ -DUSE_3DNOW -DOSS -DTERM_CONTROL \
- -Wall \
- -fomit-frame-pointer -funroll-all-loops \
- -finline-functions -ffast-math' \
-@@ -222,11 +217,9 @@
-
- linux-i486:
- $(MAKE) LDFLAGS= \
-- OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
-- decode_i486.o audio_oss.o term.o \
-- dct64_i486-a.o dct64_i486-b.o ' \
-+ OBJECTS='decode_i386.o dct64_i386.o decode_i586.o decode_i486.o audio_oss.o term.o dct64_i486-a.o dct64_i486-b.o ' \
- CFLAGS='$(CFLAGS) -DI386_ASSEM -DREAL_IS_FLOAT -DI486_OPT -DLINUX \
-- -DOSS -DTERM_CONTROL\
-+ -DOSS -DTERM_CONTROL \
- -Wall \
- -fomit-frame-pointer -funroll-all-loops \
- -finline-functions -ffast-math' \
-@@ -235,8 +228,7 @@
- linux-esd:
- $(MAKE) LDFLAGS= \
- AUDIO_LIB='-lesd -laudiofile' \
-- OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
-- audio_esd.o' \
-+ OBJECTS='decode_i386.o dct64_i386.o decode_i586.o audio_esd.o' \
- CFLAGS='$(CFLAGS) -DI386_ASSEM -DREAL_IS_FLOAT -DPENTIUM_OPT -DLINUX \
- -DOSS -DUSE_ESD \
- -Wall \
-@@ -248,10 +240,9 @@
- linux-alsa:
- $(MAKE) LDFLAGS= \
- AUDIO_LIB='-lasound' \
-- OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
-- audio_alsa.o term.o' \
-+ OBJECTS='decode_i386.o dct64_i386.o decode_i586.o audio_alsa.o term.o' \
- CFLAGS='$(CFLAGS) -DI386_ASSEM -DREAL_IS_FLOAT -DPENTIUM_OPT -DLINUX \
-- -DALSA -DTERM_CONTROL\
-+ -DALSA -DTERM_CONTROL \
- -Wall \
- -fomit-frame-pointer -funroll-all-loops \
- -finline-functions -ffast-math \
-@@ -261,11 +252,9 @@
- linux-3dnow-alsa:
- $(MAKE) LDFLAGS= \
- AUDIO_LIB='-lasound' \
-- OBJECTS='decode_i386.o decode_3dnow.o dct64_3dnow.o \
-- dct64_i386.o dct36_3dnow.o getcpuflags.o \
-- equalizer_3dnow.o decode_i586.o audio_alsa.o term.o' \
-+ OBJECTS='decode_i386.o decode_3dnow.o dct64_3dnow.o dct64_i386.o dct36_3dnow.o getcpuflags.o equalizer_3dnow.o decode_i586.o audio_alsa.o term.o' \
- CFLAGS='-DI386_ASSEM -DREAL_IS_FLOAT -DPENTIUM_OPT -DLINUX \
-- -DUSE_3DNOW -DALSA -DTERM_CONTROL\
-+ -DUSE_3DNOW -DALSA -DTERM_CONTROL \
- -Wall \
- -fomit-frame-pointer -funroll-all-loops \
- -finline-functions -ffast-math' \
-@@ -274,9 +263,7 @@
- linux-3dnow-esd:
- $(MAKE) LDFLAGS= \
- AUDIO_LIB='-lesd -laudiofile' \
-- OBJECTS='decode_i386.o decode_3dnow.o dct64_3dnow.o \
-- dct64_i386.o dct36_3dnow.o getcpuflags.o \
-- equalizer_3dnow.o decode_i586.o audio_esd.o' \
-+ OBJECTS='decode_i386.o decode_3dnow.o dct64_3dnow.o dct64_i386.o dct36_3dnow.o getcpuflags.o equalizer_3dnow.o decode_i586.o audio_esd.o' \
- CFLAGS='-DI386_ASSEM -DREAL_IS_FLOAT -DPENTIUM_OPT -DLINUX \
- -DUSE_3DNOW -DUSE_ESD \
- -Wall \
-@@ -309,7 +296,7 @@
- AUDIO_LIB='-lasound' \
- OBJECTS='decode.o dct64.o audio_alsa.o term.o' \
- CFLAGS='-DLINUX \
-- -DALSA -DTERM_CONTROL\
-+ -DALSA -DTERM_CONTROL \
- -DUSE_MMAP -O6 \
- -fomit-frame-pointer -funroll-all-loops \
- -finline-functions -ffast-math \
-@@ -445,8 +432,7 @@
-
- linux-frontend:
- $(MAKE) LDFLAGS= \
-- OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
-- control_sajber.o control_tk3play.o audio_oss.o' \
-+ OBJECTS='decode_i386.o dct64_i386.o decode_i586.o control_sajber.o control_tk3play.o audio_oss.o' \
- CFLAGS='$(CFLAGS) -DFRONTEND -DOSS -DI386_ASSEM -DREAL_IS_FLOAT \
- -DPENTIUM_OPT -DLINUX -Wall \
- -fomit-frame-pointer -funroll-all-loops \
-@@ -480,8 +466,7 @@
-
- freebsd-i486:
- $(MAKE) CC=cc LDFLAGS= \
-- OBJECTS='decode_i386.o dct64_i386.o \
-- decode_i486.o dct64_i486.o audio_oss.o' \
-+ OBJECTS='decode_i386.o dct64_i386.o decode_i486.o dct64_i486.o audio_oss.o' \
- CFLAGS='$(CFLAGS) -Wall -ansi -pedantic -O4 -fomit-frame-pointer \
- -funroll-all-loops -ffast-math -DROT_I386 \
- -DOPT_ARCH=i486 \
-@@ -512,8 +497,7 @@
-
- freebsd-frontend:
- $(MAKE) CC=cc LDFLAGS= \
-- OBJECTS='decode_i386.o dct64_i386.o audio_oss.o \
-- control_sajber.o control_tk3play.o' \
-+ OBJECTS='decode_i386.o dct64_i386.o audio_oss.o control_sajber.o control_tk3play.o' \
- CFLAGS='$(CFLAGS) -Wall -ansi -pedantic -O4 -fomit-frame-pointer \
- -funroll-all-loops -ffast-math -DROT_I386 \
- -DFRONTEND \
-@@ -587,8 +571,7 @@
-
- solaris-x86-gcc-oss:
- $(MAKE) LDFLAGS='-lsocket -lnsl' \
-- OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
-- audio_oss.o' \
-+ OBJECTS='decode_i386.o dct64_i386.o decode_i586.o audio_oss.o' \
- CFLAGS='$(CFLAGS) -DI386_ASSEM -DREAL_IS_FLOAT -DPENTIUM_OPT -DUSE_MMAP \
- -DOSS \
- -Wall \
-@@ -698,8 +681,7 @@
- @ $(MAKE) FRONTEND=mpg123m-make aix-frontend
-
- aix-frontend:
-- $(MAKE) LDFLAGS= OBJECTS='decode.o dct64.o audio_aix.o \
-- control_sajber.o control_tk3play.o' \
-+ $(MAKE) LDFLAGS= OBJECTS='decode.o dct64.o audio_aix.o control_sajber.o control_tk3play.o' \
- CFLAGS='$(CFLAGS) -DAIX -Wall -O6 -DUSE_MMAP -DFRONTEND \
- -fomit-frame-pointer -funroll-all-loops \
- -finline-functions -ffast-math' \
-@@ -732,8 +714,7 @@
-
- bsdos:
- $(MAKE) CC=shlicc2 LDFLAGS= \
-- OBJECTS='decode_i386.o dct64_i386.o \
-- audio_oss.o' \
-+ OBJECTS='decode_i386.o dct64_i386.o audio_oss.o' \
- CFLAGS='$(CFLAGS) -Wall -O4 -fomit-frame-pointer \
- -funroll-all-loops -ffast-math -DROT_I386 \
- -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS \
-@@ -752,8 +733,7 @@
- bsdos-nas:
- $(MAKE) CC=shlicc2 LDFLAGS= \
- AUDIO_LIB='-laudio -lXau -L/usr/X11R6/lib' \
-- OBJECTS='decode_i386.o dct64_i386.o \
-- audio_nas.o' \
-+ OBJECTS='decode_i386.o dct64_i386.o audio_nas.o' \
- CFLAGS='$(CFLAGS) -Wall -O4 -fomit-frame-pointer \
- -funroll-all-loops -ffast-math -DROT_I386 \
- -DI386_ASSEM -DREAL_IS_FLOAT -DUSE_MMAP -DOSS \
diff --git a/media-sound/mpg123/files/mpg123-respectusercflags.patch b/media-sound/mpg123/files/mpg123-respectusercflags.patch
deleted file mode 100644
index 6d3c1edf1779..000000000000
--- a/media-sound/mpg123/files/mpg123-respectusercflags.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- Makefile 2005-04-01 13:35:32.000000000 +0200
-+++ Makefile.fix 2005-04-01 13:35:45.000000000 +0200
-@@ -330,7 +330,7 @@
- linux-x86_64:
- $(MAKE) LDFLAGS= \
- OBJECTS='decode.o dct64.o audio_oss.o' \
-- CFLAGS=' -Wall -DLINUX -DOSS -DUSE_MMAP \
-+ CFLAGS='$(CFLAGS) -Wall -DLINUX -DOSS -DUSE_MMAP \
- $(RPM_OPT_FLAGS)' \
- mpg123-make
-
-@@ -338,7 +338,7 @@
- $(MAKE) LDFLAGS= \
- AUDIO_LIB='-lesd -laudiofile' \
- OBJECTS='decode.o dct64.o audio_esd.o' \
-- CFLAGS=' -Wall -DLINUX -DOSS -DUSE_MMAP \
-+ CFLAGS='$(CFLAGS) -Wall -DLINUX -DOSS -DUSE_MMAP \
- $(RPM_OPT_FLAGS)' \
- mpg123-make
-
-@@ -346,7 +346,7 @@
- $(MAKE) LDFLAGS= \
- AUDIO_LIB='-lasound' \
- OBJECTS='decode.o dct64.o audio_alsa.o' \
-- CFLAGS=' -Wall -DLINUX -DOSS -DUSE_MMAP \
-+ CFLAGS='$(CFLAGS) -Wall -DLINUX -DOSS -DUSE_MMAP \
- $(RPM_OPT_FLAGS)' \
- mpg123-make
-
diff --git a/media-sound/mpg123/mpg123-0.59s-r11.ebuild b/media-sound/mpg123/mpg123-0.59s-r11.ebuild
deleted file mode 100644
index c5e8d4d76535..000000000000
--- a/media-sound/mpg123/mpg123-0.59s-r11.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-0.59s-r11.ebuild,v 1.15 2008/01/17 19:09:51 grobian Exp $
-
-inherit eutils toolchain-funcs
-
-PATCH_VER="1.6"
-S="${WORKDIR}/${PN}"
-
-DESCRIPTION="Real Time mp3 player"
-HOMEPAGE="http://www.mpg123.de/"
-SRC_URI="http://www.mpg123.de/mpg123/${PN}-pre${PV}.tar.gz
- mirror://gentoo/${P}-gentoo-${PATCH_VER}.tar.bz2"
-
-LICENSE="as-is"
-SLOT="0"
-
-KEYWORDS="mips"
-IUSE="mmx 3dnow esd nas oss"
-
-RDEPEND="esd? ( media-sound/esound )
- nas? ( media-libs/nas )"
-
-# alsa-1 b0rks and it's not a simple fix
-# alsa? ( media-libs/alsa-lib )"
-
-DEPEND="${RDEPEND}
- dev-lang/perl"
-
-PROVIDE="virtual/mpg123"
-
-PATCHDIR="${WORKDIR}/patches"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
-
- EPATCH_SUFFIX="patch"
- epatch ${PATCHDIR}
-
- # Bug #70592; terminal line settings should only be set once; not everytime a new song starts
- epatch "${FILESDIR}/${PV}-set-terminal-line-settings-once.patch"
-
- # Bug #87539; user CFLAGS are not respected on amd64
- epatch "${FILESDIR}/${PN}-respectusercflags.patch"
-
- sed -i "s:${PV}-mh4:${PVR}:" version.h
-
- epatch "${FILESDIR}/${P}-gmake-3.81.patch"
-
- # Bug #130577
- perl -e 'my @text = <STDIN>; my $str = join "",@text; $str =~ s/\\\n//gs; print $str' < Makefile > Makefile.fixed
- mv Makefile.fixed Makefile
-}
-
-src_compile() {
- mkdir gentoo-bin
-
- # The last one in $styles is the default
- local styles
-
- use nas && styles="${styles} -nas"
- use oss && styles="${styles} -generic"
- atype="linux"
-
- case $ARCH in
- ppc64)
- use esd && styles="${styles} -ppc64-esd"
- use oss && styles="${styles} -ppc64"
-
- [[ -z "${styles}" ]] && styles="-ppc64"
- ;;
- ppc)
- use esd && styles="${styles} -ppc-esd"
- use oss && styles="${styles} -ppc"
-
- [ -z "${styles}" ] && styles="-ppc"
- ;;
- x86)
- use esd && styles="${styles} -esd"
- use esd && use 3dnow && styles="${styles} -3dnow-esd"
- use oss && styles="${styles} -i486"
- use oss && use mmx && styles="${styles} -mmx"
- use oss && use 3dnow && styles="${styles} -3dnow"
- # use alsa && styles="${styles} -alsa"
- # use alsa && use 3dnow && styles="${styles} -3dnow-alsa"
-
- [[ -z "${styles}" ]] && styles="-generic"
- ;;
- sparc*)
- use esd && styles="${styles} -sparc-esd"
- styles="${styles} -sparc -generic"
- ;;
- amd64)
- use esd && styles="${styles} -x86_64-esd"
- use oss && styles="${styles} -x86_64"
- # use alsa && styles="${styles} -x86_64-alsa"
-
- [[ -z "${styles}" ]] && styles="-x86_64"
- ;;
- alpha)
- use esd && styles="${styles} -alpha-esd"
- use oss && styles="${styles} -alpha"
- # use alsa && styles="${styles} -alpha-alsa"
-
- [[ -z "${styles}" ]] && styles="-generic"
- ;;
- mips|hppa|ia64)
- # use alsa && styles="${styles} -mips-alsa"
-
- [[ -z "${styles}" ]] && styles="-generic"
- ;;
- *)
- eerror "No support has been added for your architecture."
- exit 1
- ;;
- esac
-
- for style in ${styles};
- do
- emake -j1 clean ${atype}${style} CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die
- mv mpg123 gentoo-bin/mpg123${style}
- [[ -L "gentoo-bin/mpg123" ]] && rm gentoo-bin/mpg123
- ln -s mpg123${style} gentoo-bin/mpg123
- done
-}
-
-src_install() {
- dodir /usr
- cp -R gentoo-bin "${D}/usr/bin"
- doman mpg123.1
- dodoc BENCHMARKING BUGS CHANGES JUKEBOX README* TODO
-}