summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-04-25 13:33:06 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-04-25 13:33:06 +0000
commitbd0200a5b5dc6545c3328557ed03c786bd0dd983 (patch)
tree2b598e1f5a7e47e04a230781f31fad8b11299482 /media-sound
parentAdd new version 2.0.1, fix bug #317105 (diff)
downloadhistorical-bd0200a5b5dc6545c3328557ed03c786bd0dd983.tar.gz
historical-bd0200a5b5dc6545c3328557ed03c786bd0dd983.tar.bz2
historical-bd0200a5b5dc6545c3328557ed03c786bd0dd983.zip
Use tc-arch to select between amd64 and x86 optimization wrt #317069.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/mpg123/ChangeLog5
-rw-r--r--media-sound/mpg123/Manifest4
-rw-r--r--media-sound/mpg123/mpg123-1.12.1.ebuild14
3 files changed, 11 insertions, 12 deletions
diff --git a/media-sound/mpg123/ChangeLog b/media-sound/mpg123/ChangeLog
index d332d271c611..c4a3b4e0136d 100644
--- a/media-sound/mpg123/ChangeLog
+++ b/media-sound/mpg123/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/mpg123
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.222 2010/04/24 17:19:21 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.223 2010/04/25 13:33:05 ssuominen Exp $
+
+ 25 Apr 2010; Samuli Suominen <ssuominen@gentoo.org> mpg123-1.12.1.ebuild:
+ Use tc-arch to select between amd64 and x86 optimization wrt #317069.
24 Apr 2010; Samuli Suominen <ssuominen@gentoo.org> mpg123-1.12.1.ebuild:
Remove USE network from this release wrt #315139.
diff --git a/media-sound/mpg123/Manifest b/media-sound/mpg123/Manifest
index 41bbae74b1ef..81e314240ba5 100644
--- a/media-sound/mpg123/Manifest
+++ b/media-sound/mpg123/Manifest
@@ -3,7 +3,7 @@ DIST mpg123-1.10.1.tar.bz2 747089 RMD160 14fdd743bf13cdb414f0b8882690ab3a2faf5a5
DIST mpg123-1.12.1.tar.bz2 760847 RMD160 ebe438ce30a9129c099875203a40b5ce2ca94db7 SHA1 eaec53831298ce19f7246830f3058917dae9154d SHA256 f3cfe305832c4a6a56d105ec1b47e7963d5d809cb17447ee93ae2330f2365a72
DIST mpg123-1.9.2.tar.bz2 736807 RMD160 a7a786d85f7fb7d019cfad26562f4c8b3cfb77e3 SHA1 89d80da4dde0dbed1f605650c06a49d70cabff4c SHA256 4bb866b9513562e3508037d8f0e4fd3df112970cc0bb8ffdb05bd06f76fa1dfb
EBUILD mpg123-1.10.1.ebuild 1799 RMD160 c58d77099d04d2ab811eb68d355a64dfaaf19c7e SHA1 963ca015322f4013b5968653e255f9ffda79403b SHA256 f230d05ef1fce6d2119a2bf833855f2374d8e0bad4526dc7445b0a1f3c6067df
-EBUILD mpg123-1.12.1.ebuild 1745 RMD160 3c2122e8e41d6b9d5f03697c378b545118242a6a SHA1 35816ea3df3af250ff564e1671f287fb88668419 SHA256 94d48577877e64e1318312a89a717afefd2c24eacde1489d6950135bf9116676
+EBUILD mpg123-1.12.1.ebuild 1702 RMD160 1d3bfa78f87ffaa9a3d208dd03854b343b08361f SHA1 726cd91a4d29334560a0f8c418d36eba3683b134 SHA256 a5df5d378f27b009309aa86a13ae16bc0da98da64869027ac0fadcb75d544121
EBUILD mpg123-1.9.2.ebuild 1861 RMD160 2bb155b8c30efdb18da6b66809580bc1dd2bbd45 SHA1 5c3f58b95205d79de1b3c799f34b64a829e90978 SHA256 ea65a5b449234ccf5de63d947d0baef2dfe4909573f2fc8cdb162f553d175d4a
-MISC ChangeLog 30689 RMD160 e9608ffa3440cecf6d0c5ee8f724ab7f267049d3 SHA1 a77911b586d9d44d5a63ef25a31adfa6091baf89 SHA256 612c995be73d5a2bae8062cd47828486a254a7a78aed16fcd7b95fe091449807
+MISC ChangeLog 30838 RMD160 5e12b6bc0bf69452d807ef1ee1770476bbd46b89 SHA1 2b21d227fb8b804a56f5587d0267fb5245395461 SHA256 ae8248213d8476841b181c0cb356ead7388d1cfc8e2f4add1d8cb4123816a74f
MISC metadata.xml 462 RMD160 08133edf118c1067aad70dd14d2995049f153684 SHA1 4b33173e663a5599290d93130ff4125f8303b582 SHA256 a207e8f74e7c3e47f182f6d0567ce7f13aa8e4c4a9d4a56b710912d25a3121a3
diff --git a/media-sound/mpg123/mpg123-1.12.1.ebuild b/media-sound/mpg123/mpg123-1.12.1.ebuild
index 5b5e95eee230..ed4775437349 100644
--- a/media-sound/mpg123/mpg123-1.12.1.ebuild
+++ b/media-sound/mpg123/mpg123-1.12.1.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-1.12.1.ebuild,v 1.3 2010/04/24 17:24:02 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-1.12.1.ebuild,v 1.4 2010/04/25 13:33:06 ssuominen Exp $
EAPI=2
+inherit toolchain-funcs
DESCRIPTION="a realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3"
HOMEPAGE="http://www.mpg123.org/"
@@ -13,7 +14,6 @@ LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="3dnow 3dnowext alsa altivec ipv6 jack mmx nas oss portaudio pulseaudio sdl sse"
-# +network
RDEPEND="alsa? ( media-libs/alsa-lib )
jack? ( media-sound/jack-audio-connection-kit )
@@ -29,7 +29,6 @@ src_configure() {
local _audio=dummy
local _output=dummy
local _cpu=generic_fpu
- local _ipv6=disable
for flag in nas portaudio sdl oss jack alsa pulseaudio; do
if use ${flag}; then
@@ -40,12 +39,9 @@ src_configure() {
use altivec && _cpu=altivec
- if [[ ${ABI} = amd64 ]] && use sse; then
- _cpu=x86-64
- fi
-
- if [[ ${ABI} = x86 ]]; then
- _cpu=i586
+ if [[ $(tc-arch) == amd64 ]]; then
+ use sse && _cpu=x86-64
+ else
use mmx && _cpu=mmx
use 3dnow && _cpu=3dnow
use sse && _cpu=x86