Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mpg123/
Date: Thu, 22 Apr 2021 12:26:02
Message-Id: 1619094347.57919bc68ab46c67b957463d1942b6a637c2f2dc.fordfrog@gentoo
1 commit: 57919bc68ab46c67b957463d1942b6a637c2f2dc
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 22 12:25:47 2021 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 22 12:25:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57919bc6
7
8 media-sound/mpg123: removed obsolete 1.26.[34]
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-sound/mpg123/Manifest | 2 -
14 media-sound/mpg123/mpg123-1.26.3.ebuild | 105 --------------------------------
15 media-sound/mpg123/mpg123-1.26.4.ebuild | 105 --------------------------------
16 3 files changed, 212 deletions(-)
17
18 diff --git a/media-sound/mpg123/Manifest b/media-sound/mpg123/Manifest
19 index a15a702eeae..30b48c8ee1b 100644
20 --- a/media-sound/mpg123/Manifest
21 +++ b/media-sound/mpg123/Manifest
22 @@ -1,3 +1 @@
23 -DIST mpg123-1.26.3.tar.bz2 1046915 BLAKE2B 791fbeb1638b5df8c7c8c6aaa5bf534ff05fac684d10f0f70e5fb1d4bcd59e906c7023926e3a1c1ac5c5622aab7cc50349b24fb6781c79a9d013f38dce77938e SHA512 7574331afaecf3f867455df4b7012e90686ad6ac8c5b5e820244204ea7088bf2b02c3e75f53fe71c205f9eca81fef93f1d969c8d0d1ee9775dc05482290f7b2d
24 -DIST mpg123-1.26.4.tar.bz2 1050563 BLAKE2B 1a057f8bf6171f78a2041637b8351ef124f58f160ca237f775ae1aeeee1eeb6e1898b113ca5958acb74d818e706b2825af0b1f93312073742a18134aacb6d5e9 SHA512 425162227aafb99b8723428fe9bd403739a2dd68828b86a2cff7f9928a9f0ab3f67420e56c0abe7c9deeb94bce6c6acd59acaa0606ce24c01716465640564785
25 DIST mpg123-1.26.5.tar.bz2 1051356 BLAKE2B c58ccb78b406bd9405c803d4d203a75ae981e3493fab84e15da49290d2d1b87912292838aa48c50cf192b8bcee4ea1bf18d89bbfc6df14452cb350356e6cbba0 SHA512 0c2b3174c834e4bd459a3324b825d9bf9341a3486c0af815773b00cb007578cb718522ac4e983c7ad7e3bb5df9fdd342a03cb51345c41f68971145196ac04b7a
26
27 diff --git a/media-sound/mpg123/mpg123-1.26.3.ebuild b/media-sound/mpg123/mpg123-1.26.3.ebuild
28 deleted file mode 100644
29 index 634c8ef13f4..00000000000
30 --- a/media-sound/mpg123/mpg123-1.26.3.ebuild
31 +++ /dev/null
32 @@ -1,105 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit flag-o-matic toolchain-funcs libtool multilib-minimal
39 -
40 -DESCRIPTION="a realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3"
41 -HOMEPAGE="https://www.mpg123.org/"
42 -SRC_URI="https://www.mpg123.org/download/${P}.tar.bz2"
43 -
44 -LICENSE="GPL-2 LGPL-2.1"
45 -SLOT="0"
46 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
47 -IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext cpu_flags_ppc_altivec alsa coreaudio int-quality ipv6 jack cpu_flags_x86_mmx nas oss portaudio pulseaudio sdl cpu_flags_x86_sse"
48 -
49 -# No MULTILIB_USEDEP here since we only build libmpg123 for non native ABIs.
50 -RDEPEND="
51 - app-eselect/eselect-mpg123
52 - dev-libs/libltdl:0
53 - alsa? ( media-libs/alsa-lib )
54 - jack? ( virtual/jack )
55 - nas? ( media-libs/nas )
56 - portaudio? ( media-libs/portaudio )
57 - pulseaudio? ( media-sound/pulseaudio )
58 - sdl? ( media-libs/libsdl )"
59 -DEPEND="${RDEPEND}"
60 -BDEPEND="
61 - sys-devel/libtool
62 - virtual/pkgconfig
63 -"
64 -
65 -DOCS=( AUTHORS ChangeLog NEWS NEWS.libmpg123 README )
66 -
67 -pkg_setup() {
68 - # Build fails without -D_GNU_SOURCE like this:
69 - # error: ‘struct hostent’ has no member named ‘h_addr’
70 - append-cflags -D_GNU_SOURCE
71 -}
72 -
73 -src_prepare() {
74 - default
75 - elibtoolize # for Darwin bundles
76 -}
77 -
78 -multilib_src_configure() {
79 - local _audio=dummy
80 - local _output=dummy
81 - local _cpu=generic_fpu
82 -
83 - if $(multilib_is_native_abi) ; then
84 - local flag
85 - for flag in nas portaudio sdl oss jack alsa pulseaudio coreaudio; do
86 - if use ${flag}; then
87 - _audio+=" ${flag/pulseaudio/pulse}"
88 - _output=${flag/pulseaudio/pulse}
89 - fi
90 - done
91 - fi
92 -
93 - use cpu_flags_ppc_altivec && _cpu=altivec
94 -
95 - if [[ $(tc-arch) == amd64 || ${ARCH} == x64-* ]]; then
96 - use cpu_flags_x86_sse && _cpu=x86-64
97 - elif use x86 && gcc-specs-pie ; then
98 - # Don't use any mmx, 3dnow, sse and 3dnowext #bug 164504
99 - _cpu=generic_fpu
100 - else
101 - use cpu_flags_x86_mmx && _cpu=mmx
102 - use cpu_flags_x86_3dnow && _cpu=3dnow
103 - use cpu_flags_x86_sse && _cpu=x86
104 - use cpu_flags_x86_3dnowext && _cpu=x86
105 - fi
106 -
107 - local myconf=(
108 - --with-optimization=0
109 - --with-audio="${_audio}"
110 - --with-default-audio=${_output}
111 - --with-cpu=${_cpu}
112 - --enable-network
113 - $(use_enable ipv6)
114 - --enable-int-quality=$(usex int-quality)
115 - )
116 - multilib_is_native_abi || myconf+=( --disable-modules )
117 -
118 - ECONF_SOURCE="${S}" econf "${myconf[@]}"
119 -
120 - if ! $(multilib_is_native_abi) ; then
121 - sed -i -e 's:src doc:src/libmpg123:' Makefile || die
122 - fi
123 -}
124 -
125 -multilib_src_install_all() {
126 - einstalldocs
127 - mv "${ED}"/usr/bin/mpg123{,-mpg123}
128 - find "${ED}" -type f -name '*.la' -delete || die
129 -}
130 -
131 -pkg_postinst() {
132 - eselect mpg123 update ifunset
133 -}
134 -
135 -pkg_postrm() {
136 - eselect mpg123 update ifunset
137 -}
138
139 diff --git a/media-sound/mpg123/mpg123-1.26.4.ebuild b/media-sound/mpg123/mpg123-1.26.4.ebuild
140 deleted file mode 100644
141 index 0a9547accb7..00000000000
142 --- a/media-sound/mpg123/mpg123-1.26.4.ebuild
143 +++ /dev/null
144 @@ -1,105 +0,0 @@
145 -# Copyright 1999-2021 Gentoo Authors
146 -# Distributed under the terms of the GNU General Public License v2
147 -
148 -EAPI=7
149 -
150 -inherit flag-o-matic toolchain-funcs libtool multilib-minimal
151 -
152 -DESCRIPTION="a realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3"
153 -HOMEPAGE="https://www.mpg123.org/"
154 -SRC_URI="https://www.mpg123.org/download/${P}.tar.bz2"
155 -
156 -LICENSE="GPL-2 LGPL-2.1"
157 -SLOT="0"
158 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
159 -IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext cpu_flags_ppc_altivec alsa coreaudio int-quality ipv6 jack cpu_flags_x86_mmx nas oss portaudio pulseaudio sdl cpu_flags_x86_sse"
160 -
161 -# No MULTILIB_USEDEP here since we only build libmpg123 for non native ABIs.
162 -RDEPEND="
163 - app-eselect/eselect-mpg123
164 - dev-libs/libltdl:0
165 - alsa? ( media-libs/alsa-lib )
166 - jack? ( virtual/jack )
167 - nas? ( media-libs/nas )
168 - portaudio? ( media-libs/portaudio )
169 - pulseaudio? ( media-sound/pulseaudio )
170 - sdl? ( media-libs/libsdl )"
171 -DEPEND="${RDEPEND}"
172 -BDEPEND="
173 - sys-devel/libtool
174 - virtual/pkgconfig
175 -"
176 -
177 -DOCS=( AUTHORS ChangeLog NEWS NEWS.libmpg123 README )
178 -
179 -pkg_setup() {
180 - # Build fails without -D_GNU_SOURCE like this:
181 - # error: ‘struct hostent’ has no member named ‘h_addr’
182 - append-cflags -D_GNU_SOURCE
183 -}
184 -
185 -src_prepare() {
186 - default
187 - elibtoolize # for Darwin bundles
188 -}
189 -
190 -multilib_src_configure() {
191 - local _audio=dummy
192 - local _output=dummy
193 - local _cpu=generic_fpu
194 -
195 - if $(multilib_is_native_abi) ; then
196 - local flag
197 - for flag in nas portaudio sdl oss jack alsa pulseaudio coreaudio; do
198 - if use ${flag}; then
199 - _audio+=" ${flag/pulseaudio/pulse}"
200 - _output=${flag/pulseaudio/pulse}
201 - fi
202 - done
203 - fi
204 -
205 - use cpu_flags_ppc_altivec && _cpu=altivec
206 -
207 - if [[ $(tc-arch) == amd64 || ${ARCH} == x64-* ]]; then
208 - use cpu_flags_x86_sse && _cpu=x86-64
209 - elif use x86 && gcc-specs-pie ; then
210 - # Don't use any mmx, 3dnow, sse and 3dnowext #bug 164504
211 - _cpu=generic_fpu
212 - else
213 - use cpu_flags_x86_mmx && _cpu=mmx
214 - use cpu_flags_x86_3dnow && _cpu=3dnow
215 - use cpu_flags_x86_sse && _cpu=x86
216 - use cpu_flags_x86_3dnowext && _cpu=x86
217 - fi
218 -
219 - local myconf=(
220 - --with-optimization=0
221 - --with-audio="${_audio}"
222 - --with-default-audio=${_output}
223 - --with-cpu=${_cpu}
224 - --enable-network
225 - $(use_enable ipv6)
226 - --enable-int-quality=$(usex int-quality)
227 - )
228 - multilib_is_native_abi || myconf+=( --disable-modules )
229 -
230 - ECONF_SOURCE="${S}" econf "${myconf[@]}"
231 -
232 - if ! $(multilib_is_native_abi) ; then
233 - sed -i -e 's:src doc:src/libmpg123:' Makefile || die
234 - fi
235 -}
236 -
237 -multilib_src_install_all() {
238 - einstalldocs
239 - mv "${ED}"/usr/bin/mpg123{,-mpg123}
240 - find "${ED}" -type f -name '*.la' -delete || die
241 -}
242 -
243 -pkg_postinst() {
244 - eselect mpg123 update ifunset
245 -}
246 -
247 -pkg_postrm() {
248 - eselect mpg123 update ifunset
249 -}