Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mpg123/
Date: Sat, 24 Sep 2016 22:18:46
Message-Id: 1474755513.9162533a14836274099eed2432db7d402b642763.polynomial-c@gentoo
1 commit: 9162533a14836274099eed2432db7d402b642763
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 24 22:18:33 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 24 22:18:33 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9162533a
7
8 media-sound/mpg123: Removed old.
9
10 Package-Manager: portage-2.3.1
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 media-sound/mpg123/Manifest | 2 -
14 media-sound/mpg123/mpg123-1.23.3.ebuild | 108 --------------------------------
15 media-sound/mpg123/mpg123-1.23.4.ebuild | 108 --------------------------------
16 3 files changed, 218 deletions(-)
17
18 diff --git a/media-sound/mpg123/Manifest b/media-sound/mpg123/Manifest
19 index 3189f32..199d258 100644
20 --- a/media-sound/mpg123/Manifest
21 +++ b/media-sound/mpg123/Manifest
22 @@ -1,6 +1,4 @@
23 DIST mpg123-1.18.1.tar.bz2 853423 SHA256 bc6d384f7e038f2458cb05a4d175325e5cb25e0aed441d7b02960e8ec186652d SHA512 973af5e9de67c489dd609d18234ba4118a635d63bb6f1b919f9b89f57adc4bddca9a5bf41a47f1da588f14c84ed130d8ac8e674a081f06d35f5ace85924a70b5 WHIRLPOOL 4959edd4002f021092fffb4c84d864c612b2692b8d9bfa5dd3c16ae7bcdbcf179c20f3af6609260646cb71305fe9831c7f080678783aed1af187251a1d13970c
24 DIST mpg123-1.22.4.tar.bz2 870889 SHA256 5069e02e50138600f10cc5f7674e44e9bf6f1930af81d0e1d2f869b3c0ee40d2 SHA512 d8552b3522fa58647cee7c43227737993851452a15dc6d3ae6948c6c62d4a8f6064e2b284f170413aa3f805a3f3e1a6f1faac7d19daddd25c6790863e4925212 WHIRLPOOL 079ac4dacbee6bbfb915a84c1f2c5738f1edff69b75a7d1c1e6bc9b323c2e1d574985c91339c5ecab8cc0de93d72fc95c8c278676a92511da0c23d210d64a0dd
25 -DIST mpg123-1.23.3.tar.bz2 890370 SHA256 5c431da7e7446fae586c9207772dc0038ce2bfe75f0274a7933d1b4a7d84e6c6 SHA512 a5ebfb36223a3966386bc8e5769b8543861872d20f9de037d07857e857000f20e198e0b1db04bdc56b18b19d5b4027d8261a104af0216d6ea45274b21a18dda4 WHIRLPOOL 3d2715f45d1821bdd47b7e62dc496d85f671e66da2965f0f87cf4b885096fff4740b0b3183642b54c1ef300a9d8feac666e1acf673ef54321a25b6ab250be33e
26 -DIST mpg123-1.23.4.tar.bz2 892706 SHA256 3495e678dec9a60f29cbcd4fc698abc4c811ec60d1276e744f7a10ac35023b48 SHA512 12660c8f78b53d6310195cea6e24b73323aed66354665e9d4c9f1b2b2c71c5154fbbe239e3cf42a2de22fa48ba9e898e725ae46ddcb2ffc48d7fdeee1afb5862 WHIRLPOOL be2500b7237349b4cc81aa9d455c1d9939565fbd063ccc23293693ebe60e4848462085590cd1a8be1e1fd268fcb67aac3bf8d6af785d274174f27a9cf3cd5cd9
27 DIST mpg123-1.23.6.tar.bz2 893351 SHA256 4073d9c60a43872f6f5a3a322f5ea21ab7f0869d2ed25e79c3eb8521fa3c32d4 SHA512 2fe11f921227c0866717c9268e7034d28a09086d96e3748188dcf41189238d8e605347f3200aa419031ca2975dc61ab9dfa51879e26f9a0d2f736a9c20089e3c WHIRLPOOL 4992224ecbf5a576e7d20ce4727cc3734ff08a261348ed114ad8225f0dd08314aa0b3b751c36aa7ddddf2f287efee968eb7d4bfbb24fde20fff9c66a7185120a
28 DIST mpg123-1.23.7.tar.bz2 893054 SHA256 934047120953159e364c790e059684b681d7e670884fe179e1954d17d1c6334b SHA512 f63e8f6849447c1b3821e032908c2f7c2c78fa68869bbbb909c4ac9f8732387e5be2440e2f40e349dc103306eed56c409d4f5dd10aaea08ba18dca49a677bf2f WHIRLPOOL 66d6a14176c22202bc7e0a0dedc255b5953c68de31b72e82dcba27adffe912319d9a4b297de55b6d806b40a7fe054ffd139581e7ec1a91bdd648dbe8edf7f842
29
30 diff --git a/media-sound/mpg123/mpg123-1.23.3.ebuild b/media-sound/mpg123/mpg123-1.23.3.ebuild
31 deleted file mode 100644
32 index 253e153..00000000
33 --- a/media-sound/mpg123/mpg123-1.23.3.ebuild
34 +++ /dev/null
35 @@ -1,108 +0,0 @@
36 -# Copyright 1999-2016 Gentoo Foundation
37 -# Distributed under the terms of the GNU General Public License v2
38 -# $Id$
39 -
40 -EAPI=6
41 -inherit flag-o-matic toolchain-funcs libtool multilib-minimal
42 -
43 -DESCRIPTION="a realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3"
44 -HOMEPAGE="http://www.mpg123.org/"
45 -SRC_URI="http://www.mpg123.org/download/${P}.tar.bz2"
46 -
47 -LICENSE="GPL-2 LGPL-2.1"
48 -SLOT="0"
49 -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"
50 -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"
51 -
52 -# No MULTILIB_USEDEP here since we only build libmpg123 for non native ABIs.
53 -RDEPEND="app-eselect/eselect-mpg123
54 - || ( dev-libs/libltdl:0 <sys-devel/libtool-2.4.3-r2:2 )
55 - alsa? ( media-libs/alsa-lib )
56 - jack? ( media-sound/jack-audio-connection-kit )
57 - nas? ( media-libs/nas )
58 - portaudio? ( media-libs/portaudio )
59 - pulseaudio? ( media-sound/pulseaudio )
60 - sdl? ( media-libs/libsdl )
61 - abi_x86_32? (
62 - !<=app-emulation/emul-linux-x86-soundlibs-20130224-r9
63 - !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
64 - )"
65 -DEPEND="${RDEPEND}
66 - sys-devel/libtool
67 - virtual/pkgconfig"
68 -
69 -DOCS=( AUTHORS ChangeLog NEWS NEWS.libmpg123 README )
70 -
71 -pkg_setup() {
72 - # Build fails without -D_GNU_SOURCE like this:
73 - # error: ‘struct hostent’ has no member named ‘h_addr’
74 - append-cflags -D_GNU_SOURCE
75 -}
76 -
77 -src_prepare() {
78 - default
79 - elibtoolize # for Darwin bundles
80 -}
81 -
82 -multilib_src_configure() {
83 - local _audio=dummy
84 - local _output=dummy
85 - local _cpu=generic_fpu
86 -
87 - if $(multilib_is_native_abi) ; then
88 - for flag in nas portaudio sdl oss jack alsa pulseaudio coreaudio; do
89 - if use ${flag}; then
90 - _audio+=" ${flag/pulseaudio/pulse}"
91 - _output=${flag/pulseaudio/pulse}
92 - fi
93 - done
94 - fi
95 -
96 - use altivec && _cpu=altivec
97 -
98 - if [[ $(tc-arch) == amd64 || ${ARCH} == x64-* ]]; then
99 - use cpu_flags_x86_sse && _cpu=x86-64
100 - elif use x86 && gcc-specs-pie ; then
101 - # Don't use any mmx, 3dnow, sse and 3dnowext #bug 164504
102 - _cpu=generic_fpu
103 - elif use x86-macos ; then
104 - # ASM doesn't work quite as expected with the Darwin linker
105 - _cpu=generic_fpu
106 - else
107 - use cpu_flags_x86_mmx && _cpu=mmx
108 - use cpu_flags_x86_3dnow && _cpu=3dnow
109 - use cpu_flags_x86_sse && _cpu=x86
110 - use cpu_flags_x86_3dnowext && _cpu=x86
111 - fi
112 -
113 - local myconf=""
114 - multilib_is_native_abi || myconf="${myconf} --disable-modules"
115 -
116 - ECONF_SOURCE="${S}" econf \
117 - --with-optimization=0 \
118 - --with-audio="${_audio}" \
119 - --with-default-audio=${_output} \
120 - --with-cpu=${_cpu} \
121 - --enable-network \
122 - $(use_enable ipv6) \
123 - --enable-int-quality=$(usex int-quality) \
124 - ${myconf}
125 -
126 - if ! $(multilib_is_native_abi) ; then
127 - sed -i -e 's:src doc:src/libmpg123:' Makefile || die
128 - fi
129 -}
130 -
131 -multilib_src_install_all() {
132 - einstalldocs
133 - mv "${ED}"/usr/bin/mpg123{,-mpg123}
134 - find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
135 -}
136 -
137 -pkg_postinst() {
138 - eselect mpg123 update ifunset
139 -}
140 -
141 -pkg_postrm() {
142 - eselect mpg123 update ifunset
143 -}
144
145 diff --git a/media-sound/mpg123/mpg123-1.23.4.ebuild b/media-sound/mpg123/mpg123-1.23.4.ebuild
146 deleted file mode 100644
147 index 253e153..00000000
148 --- a/media-sound/mpg123/mpg123-1.23.4.ebuild
149 +++ /dev/null
150 @@ -1,108 +0,0 @@
151 -# Copyright 1999-2016 Gentoo Foundation
152 -# Distributed under the terms of the GNU General Public License v2
153 -# $Id$
154 -
155 -EAPI=6
156 -inherit flag-o-matic toolchain-funcs libtool multilib-minimal
157 -
158 -DESCRIPTION="a realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3"
159 -HOMEPAGE="http://www.mpg123.org/"
160 -SRC_URI="http://www.mpg123.org/download/${P}.tar.bz2"
161 -
162 -LICENSE="GPL-2 LGPL-2.1"
163 -SLOT="0"
164 -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"
165 -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"
166 -
167 -# No MULTILIB_USEDEP here since we only build libmpg123 for non native ABIs.
168 -RDEPEND="app-eselect/eselect-mpg123
169 - || ( dev-libs/libltdl:0 <sys-devel/libtool-2.4.3-r2:2 )
170 - alsa? ( media-libs/alsa-lib )
171 - jack? ( media-sound/jack-audio-connection-kit )
172 - nas? ( media-libs/nas )
173 - portaudio? ( media-libs/portaudio )
174 - pulseaudio? ( media-sound/pulseaudio )
175 - sdl? ( media-libs/libsdl )
176 - abi_x86_32? (
177 - !<=app-emulation/emul-linux-x86-soundlibs-20130224-r9
178 - !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
179 - )"
180 -DEPEND="${RDEPEND}
181 - sys-devel/libtool
182 - virtual/pkgconfig"
183 -
184 -DOCS=( AUTHORS ChangeLog NEWS NEWS.libmpg123 README )
185 -
186 -pkg_setup() {
187 - # Build fails without -D_GNU_SOURCE like this:
188 - # error: ‘struct hostent’ has no member named ‘h_addr’
189 - append-cflags -D_GNU_SOURCE
190 -}
191 -
192 -src_prepare() {
193 - default
194 - elibtoolize # for Darwin bundles
195 -}
196 -
197 -multilib_src_configure() {
198 - local _audio=dummy
199 - local _output=dummy
200 - local _cpu=generic_fpu
201 -
202 - if $(multilib_is_native_abi) ; then
203 - for flag in nas portaudio sdl oss jack alsa pulseaudio coreaudio; do
204 - if use ${flag}; then
205 - _audio+=" ${flag/pulseaudio/pulse}"
206 - _output=${flag/pulseaudio/pulse}
207 - fi
208 - done
209 - fi
210 -
211 - use altivec && _cpu=altivec
212 -
213 - if [[ $(tc-arch) == amd64 || ${ARCH} == x64-* ]]; then
214 - use cpu_flags_x86_sse && _cpu=x86-64
215 - elif use x86 && gcc-specs-pie ; then
216 - # Don't use any mmx, 3dnow, sse and 3dnowext #bug 164504
217 - _cpu=generic_fpu
218 - elif use x86-macos ; then
219 - # ASM doesn't work quite as expected with the Darwin linker
220 - _cpu=generic_fpu
221 - else
222 - use cpu_flags_x86_mmx && _cpu=mmx
223 - use cpu_flags_x86_3dnow && _cpu=3dnow
224 - use cpu_flags_x86_sse && _cpu=x86
225 - use cpu_flags_x86_3dnowext && _cpu=x86
226 - fi
227 -
228 - local myconf=""
229 - multilib_is_native_abi || myconf="${myconf} --disable-modules"
230 -
231 - ECONF_SOURCE="${S}" econf \
232 - --with-optimization=0 \
233 - --with-audio="${_audio}" \
234 - --with-default-audio=${_output} \
235 - --with-cpu=${_cpu} \
236 - --enable-network \
237 - $(use_enable ipv6) \
238 - --enable-int-quality=$(usex int-quality) \
239 - ${myconf}
240 -
241 - if ! $(multilib_is_native_abi) ; then
242 - sed -i -e 's:src doc:src/libmpg123:' Makefile || die
243 - fi
244 -}
245 -
246 -multilib_src_install_all() {
247 - einstalldocs
248 - mv "${ED}"/usr/bin/mpg123{,-mpg123}
249 - find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
250 -}
251 -
252 -pkg_postinst() {
253 - eselect mpg123 update ifunset
254 -}
255 -
256 -pkg_postrm() {
257 - eselect mpg123 update ifunset
258 -}