Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/mpg123: ChangeLog mpg123-1.9.2.ebuild
Date: Tue, 01 Dec 2009 18:20:28
Message-Id: E1NFXKr-000587-1l@stork.gentoo.org
1 ssuominen 09/12/01 18:20:25
2
3 Modified: ChangeLog
4 Added: mpg123-1.9.2.ebuild
5 Log:
6 Version bump wrt #294106, thanks to Shark <shark at bitchx.it> for reporting. Fix ABI handling wrt #295075, thanks to Ferret <ferret at explodingferret.com> for reporting.
7 (Portage version: 2.2_rc54/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.210 media-sound/mpg123/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpg123/ChangeLog?rev=1.210&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpg123/ChangeLog?rev=1.210&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpg123/ChangeLog?r1=1.209&r2=1.210
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v
19 retrieving revision 1.209
20 retrieving revision 1.210
21 diff -u -r1.209 -r1.210
22 --- ChangeLog 3 Nov 2009 17:54:59 -0000 1.209
23 +++ ChangeLog 1 Dec 2009 18:20:24 -0000 1.210
24 @@ -1,6 +1,14 @@
25 # ChangeLog for media-sound/mpg123
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.209 2009/11/03 17:54:59 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.210 2009/12/01 18:20:24 ssuominen Exp $
29 +
30 +*mpg123-1.9.2 (01 Dec 2009)
31 +
32 + 01 Dec 2009; Samuli Suominen <ssuominen@g.o> +mpg123-1.9.2.ebuild,
33 + +files/mpg123-1.9.2-libtool.patch:
34 + Version bump wrt #294106, thanks to Shark <shark at bitchx.it> for
35 + reporting. Fix ABI handling wrt #295075, thanks to Ferret <ferret at
36 + explodingferret.com> for reporting.
37
38 03 Nov 2009; Raúl Porcel <armin76@g.o> mpg123-1.9.0.ebuild:
39 ia64/sparc stable wrt #287239
40
41
42
43 1.1 media-sound/mpg123/mpg123-1.9.2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpg123/mpg123-1.9.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpg123/mpg123-1.9.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: mpg123-1.9.2.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-1.9.2.ebuild,v 1.1 2009/12/01 18:20:24 ssuominen Exp $
53
54 EAPI=2
55 inherit eutils
56
57 DESCRIPTION="a realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3"
58 HOMEPAGE="http://www.mpg123.org"
59 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
60 http://www.mpg123.org/download/${P}.tar.bz2"
61
62 LICENSE="GPL-2 LGPL-2.1"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
65 IUSE="3dnow 3dnowext alsa altivec ipv6 jack mmx nas +network oss portaudio pulseaudio sdl sse"
66
67 RDEPEND="alsa? ( media-libs/alsa-lib )
68 jack? ( media-sound/jack-audio-connection-kit )
69 nas? ( media-libs/nas )
70 portaudio? ( media-libs/portaudio )
71 pulseaudio? ( media-sound/pulseaudio )
72 sdl? ( media-libs/libsdl )
73 sys-devel/libtool"
74 DEPEND="${RDEPEND}
75 dev-util/pkgconfig"
76
77 src_prepare() {
78 epatch "${FILESDIR}"/${P}-libtool.patch
79 }
80
81 src_configure() {
82 local _audio=dummy
83 local _output=dummy
84 local _cpu=generic_fpu
85 local _ipv6=disable
86
87 for flag in nas portaudio sdl oss jack alsa pulseaudio; do
88 if use ${flag}; then
89 _audio="${_audio} ${flag/pulseaudio/pulse}"
90 _output=${flag/pulseaudio/pulse}
91 fi
92 done
93
94 use altivec && _cpu=altivec
95
96 if [[ ${ABI} = amd64 ]] && use sse; then
97 _cpu=x86-64
98 fi
99
100 if [[ ${ABI} = x86 ]]; then
101 _cpu=i586
102 use mmx && _cpu=mmx
103 use 3dnow && _cpu=3dnow
104 use sse && _cpu=x86
105 use 3dnowext && _cpu=x86
106 fi
107
108 if use network && use ipv6; then
109 _ipv6=enable
110 fi
111
112 econf \
113 --disable-dependency-tracking \
114 --with-optimization=0 \
115 --with-audio="${_audio}" \
116 --with-default-audio=${_output} \
117 --with-cpu=${_cpu} \
118 $(use_enable network) \
119 --${_ipv6}-ipv6
120 }
121
122 src_install() {
123 emake DESTDIR="${D}" install || die
124 dodoc AUTHORS ChangeLog NEWS* README
125 }