Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/mpg123: mpg123-1.22.2.ebuild ChangeLog
Date: Mon, 01 Jun 2015 08:38:38
Message-Id: 20150601083832.0B933A10@oystercatcher.gentoo.org
1 aballier 15/06/01 08:38:32
2
3 Modified: ChangeLog
4 Added: mpg123-1.22.2.ebuild
5 Log:
6 version bump
7
8 Signed-off-by: Alexis Ballier <aballier@g.o>
9 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
10
11 Revision Changes Path
12 1.322 media-sound/mpg123/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpg123/ChangeLog?rev=1.322&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpg123/ChangeLog?rev=1.322&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpg123/ChangeLog?r1=1.321&r2=1.322
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v
21 retrieving revision 1.321
22 retrieving revision 1.322
23 diff -u -r1.321 -r1.322
24 --- ChangeLog 8 Apr 2015 07:29:07 -0000 1.321
25 +++ ChangeLog 1 Jun 2015 08:38:31 -0000 1.322
26 @@ -1,6 +1,11 @@
27 # ChangeLog for media-sound/mpg123
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.321 2015/04/08 07:29:07 aballier Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.322 2015/06/01 08:38:31 aballier Exp $
31 +
32 +*mpg123-1.22.2 (01 Jun 2015)
33 +
34 + 01 Jun 2015; Alexis Ballier <aballier@g.o> +mpg123-1.22.2.ebuild:
35 + version bump
36
37 *mpg123-1.22.1 (08 Apr 2015)
38
39
40
41
42 1.1 media-sound/mpg123/mpg123-1.22.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpg123/mpg123-1.22.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpg123/mpg123-1.22.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mpg123-1.22.2.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-1.22.2.ebuild,v 1.1 2015/06/01 08:38:31 aballier Exp $
52
53 EAPI=5
54 inherit eutils toolchain-funcs libtool multilib-minimal
55
56 DESCRIPTION="a realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3"
57 HOMEPAGE="http://www.mpg123.org/"
58 SRC_URI="http://www.mpg123.org/download/${P}.tar.bz2"
59
60 LICENSE="GPL-2 LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
63 IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext alsa altivec coreaudio int-quality ipv6 jack cpu_flags_x86_mmx nas oss portaudio pulseaudio sdl cpu_flags_x86_sse"
64
65 # No MULTILIB_USEDEP here since we only build libmpg123 for non native ABIs.
66 RDEPEND="app-eselect/eselect-mpg123
67 || ( dev-libs/libltdl:0 <sys-devel/libtool-2.4.3-r2:2 )
68 alsa? ( media-libs/alsa-lib )
69 jack? ( media-sound/jack-audio-connection-kit )
70 nas? ( media-libs/nas )
71 portaudio? ( media-libs/portaudio )
72 pulseaudio? ( media-sound/pulseaudio )
73 sdl? ( media-libs/libsdl )
74 abi_x86_32? (
75 !<=app-emulation/emul-linux-x86-soundlibs-20130224-r9
76 !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
77 )"
78 DEPEND="${RDEPEND}
79 sys-devel/libtool
80 virtual/pkgconfig"
81
82 DOCS=( AUTHORS ChangeLog NEWS NEWS.libmpg123 README )
83
84 src_prepare() {
85 elibtoolize # for Darwin bundles
86 }
87
88 multilib_src_configure() {
89 local _audio=dummy
90 local _output=dummy
91 local _cpu=generic_fpu
92
93 if $(multilib_is_native_abi) ; then
94 for flag in nas portaudio sdl oss jack alsa pulseaudio coreaudio; do
95 if use ${flag}; then
96 _audio="${_audio} ${flag/pulseaudio/pulse}"
97 _output=${flag/pulseaudio/pulse}
98 fi
99 done
100 fi
101
102 use altivec && _cpu=altivec
103
104 if [[ $(tc-arch) == amd64 || ${ARCH} == x64-* ]]; then
105 use cpu_flags_x86_sse && _cpu=x86-64
106 elif use x86 && gcc-specs-pie ; then
107 # Don't use any mmx, 3dnow, sse and 3dnowext #bug 164504
108 _cpu=generic_fpu
109 elif use x86-macos ; then
110 # ASM doesn't work quite as expected with the Darwin linker
111 _cpu=generic_fpu
112 else
113 use cpu_flags_x86_mmx && _cpu=mmx
114 use cpu_flags_x86_3dnow && _cpu=3dnow
115 use cpu_flags_x86_sse && _cpu=x86
116 use cpu_flags_x86_3dnowext && _cpu=x86
117 fi
118
119 local myconf=""
120 multilib_is_native_abi || myconf="${myconf} --disable-modules"
121
122 ECONF_SOURCE="${S}" econf \
123 --with-optimization=0 \
124 --with-audio="${_audio}" \
125 --with-default-audio=${_output} \
126 --with-cpu=${_cpu} \
127 --enable-network \
128 $(use_enable ipv6) \
129 --enable-int-quality=$(usex int-quality) \
130 ${myconf}
131
132 if ! $(multilib_is_native_abi) ; then
133 sed -i -e 's:src doc:src/libmpg123:' Makefile || die
134 fi
135 }
136
137 multilib_src_install_all() {
138 einstalldocs
139 mv "${ED}"/usr/bin/mpg123{,-mpg123}
140 find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
141 }
142
143 pkg_postinst() {
144 eselect mpg123 update ifunset
145 }
146
147 pkg_postrm() {
148 eselect mpg123 update ifunset
149 }