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