diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2010-08-24 14:41:35 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2010-08-24 14:41:35 +0000 |
commit | 9dd4604657888705dbbdf1bfdcd536bdb7436a0e (patch) | |
tree | 71d5d63e67c6f4295c3b89ef4834a5f63d08f234 /media-sound/mpg123 | |
parent | Add KEYWORDS from Gentoo Prefix overlay (diff) | |
download | gentoo-2-9dd4604657888705dbbdf1bfdcd536bdb7436a0e.tar.gz gentoo-2-9dd4604657888705dbbdf1bfdcd536bdb7436a0e.tar.bz2 gentoo-2-9dd4604657888705dbbdf1bfdcd536bdb7436a0e.zip |
Migrate changes from Gentoo Prefix overlay. KEYWORDS, change to EAPI3, add coreaudio support. Approved by sound team
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/mpg123')
-rw-r--r-- | media-sound/mpg123/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/mpg123/mpg123-1.12.3.ebuild | 18 |
2 files changed, 16 insertions, 8 deletions
diff --git a/media-sound/mpg123/ChangeLog b/media-sound/mpg123/ChangeLog index d77ed3e56088..5cc0632a7cf3 100644 --- a/media-sound/mpg123/ChangeLog +++ b/media-sound/mpg123/ChangeLog @@ -1,6 +1,10 @@ # 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.232 2010/07/24 10:27:54 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.233 2010/08/24 14:41:35 darkside Exp $ + + 24 Aug 2010; Jeremy Olexa <darkside@gentoo.org> mpg123-1.12.3.ebuild: + Migrate changes from Gentoo Prefix overlay. KEYWORDS, change to EAPI3, add + coreaudio support. Approved by sound team *mpg123-1.12.3 (24 Jul 2010) diff --git a/media-sound/mpg123/mpg123-1.12.3.ebuild b/media-sound/mpg123/mpg123-1.12.3.ebuild index 7eeff4b8f337..346e45aa1fb8 100644 --- a/media-sound/mpg123/mpg123-1.12.3.ebuild +++ b/media-sound/mpg123/mpg123-1.12.3.ebuild @@ -1,9 +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.3.ebuild,v 1.1 2010/07/24 10:27:54 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-1.12.3.ebuild,v 1.2 2010/08/24 14:41:35 darkside Exp $ -EAPI=2 -inherit toolchain-funcs +EAPI=3 +inherit toolchain-funcs libtool DESCRIPTION="a realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3" HOMEPAGE="http://www.mpg123.org/" @@ -12,8 +12,8 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2 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" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="3dnow 3dnowext alsa altivec coreaudio ipv6 jack mmx nas oss portaudio pulseaudio sdl sse" RDEPEND="alsa? ( media-libs/alsa-lib ) jack? ( media-sound/jack-audio-connection-kit ) @@ -25,12 +25,16 @@ RDEPEND="alsa? ( media-libs/alsa-lib ) DEPEND="${RDEPEND} dev-util/pkgconfig" +src_prepare() { + elibtoolize # for Darwin bundles +} + src_configure() { local _audio=dummy local _output=dummy local _cpu=generic_fpu - for flag in nas portaudio sdl oss jack alsa pulseaudio; do + for flag in nas portaudio sdl oss jack alsa pulseaudio coreaudio; do if use ${flag}; then _audio="${_audio} ${flag/pulseaudio/pulse}" _output=${flag/pulseaudio/pulse} @@ -39,7 +43,7 @@ src_configure() { use altivec && _cpu=altivec - if [[ $(tc-arch) == amd64 ]]; then + if [[ $(tc-arch) == amd64 || ${ARCH} == x64-* ]]; then use sse && _cpu=x86-64 else use mmx && _cpu=mmx |