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-libs/alsa-lib/, media-libs/alsa-lib/files/
Date: Wed, 01 Jun 2022 07:21:12
Message-Id: 1654068061.3dd45d3822d8761f7a9a4c2e66c1b69aba3c1e71.polynomial-c@gentoo
1 commit: 3dd45d3822d8761f7a9a4c2e66c1b69aba3c1e71
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 1 07:18:55 2022 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 1 07:21:01 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dd45d38
7
8 media-libs/alsa-lib: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 media-libs/alsa-lib/Manifest | 3 -
13 media-libs/alsa-lib/alsa-lib-1.2.4.ebuild | 80 --------------------
14 media-libs/alsa-lib/alsa-lib-1.2.5.1.ebuild | 87 ----------------------
15 media-libs/alsa-lib/alsa-lib-1.2.6.ebuild | 87 ----------------------
16 .../alsa-lib/files/alsa-lib-1.2.4-musl.patch | 32 --------
17 5 files changed, 289 deletions(-)
18
19 diff --git a/media-libs/alsa-lib/Manifest b/media-libs/alsa-lib/Manifest
20 index 5c3e358ac1cb..cf75cd21ef5a 100644
21 --- a/media-libs/alsa-lib/Manifest
22 +++ b/media-libs/alsa-lib/Manifest
23 @@ -1,5 +1,2 @@
24 -DIST alsa-lib-1.2.4.tar.bz2 1044405 BLAKE2B e1d5d9afe21dac693645274ae4ec8a607c9fcc9915ba4ebccfdb539d44b9353ba07529e2c8eaca119884b926d4467285313c945c9015a788101fe532064442db SHA512 12086952dc8f16f1cb6946517858e17b1c3276aeda9ff5703a84bb38aa78eb4c4e9cb4485c5b3f21f174fdbd976b3bcbbc481e85cb2460652858490df51ae844
25 -DIST alsa-lib-1.2.5.1.tar.bz2 1069073 BLAKE2B 5464cc7f263bdf7b10aa7e1f542ad6dbc55bf300156fd1bded00375c41a518d4b14f96e28eb1c60a6ce7cc6e27da4b2e8598cd867f15417f260fc23513f93e11 SHA512 01998ffa449e925ff552c13aea47f9540903afdc533086067c78dcaba4d239c347180d3d28bb0000e6d19b7779c7249fcc77a30057930ca22d18ba55e163fa1c
26 DIST alsa-lib-1.2.6.1.tar.bz2 1079670 BLAKE2B 4f3d1d078678773b4f6a569d0eea95d0cf89a846605c3a95e11b92f1fe0bd9fb164b8f710906f0de9675ade7ef2123375eb1221945bec511708d6fdd85c051b9 SHA512 70e539cf092b5d43e00e4134d8a3e184f0dc34312823e4b58a574320cbf06cb7369bc3251ecb1858033756a7a8c35d36faa8da48d49f6efe0cec905784adbd45
27 -DIST alsa-lib-1.2.6.tar.bz2 1079598 BLAKE2B 84a7a20fbea4025f2ac08acefa3a9ea9d2737585c5d5f09c8df3b5ccb998eaa09a7ec16a019a40c4d3e3e4b5209b961f9da23ec57c0bb9824bade9a3a0dd4350 SHA512 ae95718813abf62811fe44c6df2a8de5a1227da4b022c4dd97dd8e7c1001f48307ba36bf04208bdbe24e8a8eebf4ed5a59f40ee6750dcbe976678071c3f2f5b7
28 DIST alsa-lib-1.2.7.tar.bz2 1084924 BLAKE2B a3bfbbfcf31625be0749218b3c02b307da9077d4bd82e9f980b8e3d6f9275f3a3f3c8158bb28fb1c61724a35e794eb3f6cc8872202ff42fb847725058109087e SHA512 6bd48b07d659fddad792876326a93b2a549ce94bc191131670365599c31f81f737bfd8e94dec6fe296bc5d86df2e3e381bbb7a694d24fe7e8e501f1c994ed084
29
30 diff --git a/media-libs/alsa-lib/alsa-lib-1.2.4.ebuild b/media-libs/alsa-lib/alsa-lib-1.2.4.ebuild
31 deleted file mode 100644
32 index a79d156fc211..000000000000
33 --- a/media-libs/alsa-lib/alsa-lib-1.2.4.ebuild
34 +++ /dev/null
35 @@ -1,80 +0,0 @@
36 -# Copyright 1999-2022 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=7
40 -
41 -PYTHON_COMPAT=( python3_{7,8,9} )
42 -inherit autotools multilib-minimal python-single-r1
43 -
44 -DESCRIPTION="Advanced Linux Sound Architecture Library"
45 -HOMEPAGE="https://alsa-project.org/wiki/Main_Page"
46 -SRC_URI="https://www.alsa-project.org/files/pub/lib/${P}.tar.bz2"
47 -
48 -LICENSE="LGPL-2.1"
49 -SLOT="0"
50 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
51 -IUSE="alisp debug doc python +thread-safety"
52 -
53 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
54 -
55 -BDEPEND="doc? ( >=app-doc/doxygen-1.2.6 )"
56 -RDEPEND="python? ( ${PYTHON_DEPS} )
57 - media-libs/alsa-topology-conf
58 - media-libs/alsa-ucm-conf
59 -"
60 -DEPEND="${RDEPEND}"
61 -
62 -PATCHES=(
63 - "${FILESDIR}/${PN}-1.1.6-missing_files.patch" # bug #652422
64 - "${FILESDIR}/${PN}-1.2.4-musl.patch" # bug #792570
65 -)
66 -
67 -pkg_setup() {
68 - use python && python-single-r1_pkg_setup
69 -}
70 -
71 -src_prepare() {
72 - find . -name Makefile.am -exec sed -i -e '/CFLAGS/s:-g -O2::' {} + || die
73 - # https://bugs.gentoo.org/545950
74 - sed -i -e '5s:^$:\nAM_CPPFLAGS = -I$(top_srcdir)/include:' test/lsb/Makefile.am || die
75 - default
76 - eautoreconf
77 -}
78 -
79 -multilib_src_configure() {
80 - local myeconfargs=(
81 - --disable-maintainer-mode
82 - --disable-resmgr
83 - --enable-aload
84 - --enable-rawmidi
85 - --enable-seq
86 - --enable-shared
87 - # enable Python only on final ABI
88 - $(multilib_native_use_enable python)
89 - $(use_enable alisp)
90 - $(use_enable thread-safety)
91 - $(use_with debug)
92 - )
93 -
94 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
95 -}
96 -
97 -multilib_src_compile() {
98 - emake
99 -
100 - if multilib_is_native_abi && use doc; then
101 - emake doc
102 - grep -FZrl "${S}" doc/doxygen/html | \
103 - xargs -0 sed -i -e "s:${S}::" || die
104 - fi
105 -}
106 -
107 -multilib_src_install() {
108 - multilib_is_native_abi && use doc && local HTML_DOCS=( doc/doxygen/html/. )
109 - default
110 -}
111 -
112 -multilib_src_install_all() {
113 - find "${ED}" -type f \( -name '*.a' -o -name '*.la' \) -delete || die
114 - dodoc ChangeLog doc/asoundrc.txt NOTES TODO
115 -}
116
117 diff --git a/media-libs/alsa-lib/alsa-lib-1.2.5.1.ebuild b/media-libs/alsa-lib/alsa-lib-1.2.5.1.ebuild
118 deleted file mode 100644
119 index 5bae5dbf8736..000000000000
120 --- a/media-libs/alsa-lib/alsa-lib-1.2.5.1.ebuild
121 +++ /dev/null
122 @@ -1,87 +0,0 @@
123 -# Copyright 1999-2022 Gentoo Authors
124 -# Distributed under the terms of the GNU General Public License v2
125 -
126 -EAPI=7
127 -
128 -PYTHON_COMPAT=( python3_{7,8,9} )
129 -inherit autotools multilib-minimal python-single-r1
130 -
131 -DESCRIPTION="Advanced Linux Sound Architecture Library"
132 -HOMEPAGE="https://alsa-project.org/wiki/Main_Page"
133 -if [[ ${PV} == *_p* ]] ; then
134 - # Please set correct commit ID for a snapshot release!!!
135 - COMMIT="abe805ed6c7f38e48002e575535afd1f673b9bcd"
136 - SRC_URI="https://git.alsa-project.org/?p=${PN}.git;a=snapshot;h=${COMMIT};sf=tgz -> ${P}.tar.gz"
137 - S="${WORKDIR}"/${PN}-${COMMIT:0:7}
138 -else
139 - # TODO: Upstream does publish .sig files, so someone could implement verify-sig ;)
140 - SRC_URI="https://www.alsa-project.org/files/pub/lib/${P}.tar.bz2"
141 -fi
142 -
143 -LICENSE="LGPL-2.1"
144 -SLOT="0"
145 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
146 -IUSE="alisp debug doc python +thread-safety"
147 -
148 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
149 -
150 -BDEPEND="doc? ( >=app-doc/doxygen-1.2.6 )"
151 -RDEPEND="python? ( ${PYTHON_DEPS} )
152 - media-libs/alsa-topology-conf
153 - media-libs/alsa-ucm-conf
154 -"
155 -DEPEND="${RDEPEND}"
156 -
157 -PATCHES=(
158 - "${FILESDIR}/${PN}-1.1.6-missing_files.patch" # bug #652422
159 -)
160 -
161 -pkg_setup() {
162 - use python && python-single-r1_pkg_setup
163 -}
164 -
165 -src_prepare() {
166 - find . -name Makefile.am -exec sed -i -e '/CFLAGS/s:-g -O2::' {} + || die
167 - # https://bugs.gentoo.org/545950
168 - sed -i -e '5s:^$:\nAM_CPPFLAGS = -I$(top_srcdir)/include:' test/lsb/Makefile.am || die
169 - default
170 - eautoreconf
171 -}
172 -
173 -multilib_src_configure() {
174 - local myeconfargs=(
175 - --disable-maintainer-mode
176 - --disable-resmgr
177 - --enable-aload
178 - --enable-rawmidi
179 - --enable-seq
180 - --enable-shared
181 - # enable Python only on final ABI
182 - $(multilib_native_use_enable python)
183 - $(use_enable alisp)
184 - $(use_enable thread-safety)
185 - $(use_with debug)
186 - )
187 -
188 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
189 -}
190 -
191 -multilib_src_compile() {
192 - emake
193 -
194 - if multilib_is_native_abi && use doc; then
195 - emake doc
196 - grep -FZrl "${S}" doc/doxygen/html | \
197 - xargs -0 sed -i -e "s:${S}::" || die
198 - fi
199 -}
200 -
201 -multilib_src_install() {
202 - multilib_is_native_abi && use doc && local HTML_DOCS=( doc/doxygen/html/. )
203 - default
204 -}
205 -
206 -multilib_src_install_all() {
207 - find "${ED}" -type f \( -name '*.a' -o -name '*.la' \) -delete || die
208 - dodoc ChangeLog doc/asoundrc.txt NOTES TODO
209 -}
210
211 diff --git a/media-libs/alsa-lib/alsa-lib-1.2.6.ebuild b/media-libs/alsa-lib/alsa-lib-1.2.6.ebuild
212 deleted file mode 100644
213 index c9ea9965ca37..000000000000
214 --- a/media-libs/alsa-lib/alsa-lib-1.2.6.ebuild
215 +++ /dev/null
216 @@ -1,87 +0,0 @@
217 -# Copyright 1999-2022 Gentoo Authors
218 -# Distributed under the terms of the GNU General Public License v2
219 -
220 -EAPI=8
221 -
222 -PYTHON_COMPAT=( python3_{8..10} )
223 -inherit autotools multilib-minimal python-single-r1
224 -
225 -DESCRIPTION="Advanced Linux Sound Architecture Library"
226 -HOMEPAGE="https://alsa-project.org/wiki/Main_Page"
227 -if [[ ${PV} == *_p* ]] ; then
228 - # Please set correct commit ID for a snapshot release!!!
229 - COMMIT="abe805ed6c7f38e48002e575535afd1f673b9bcd"
230 - SRC_URI="https://git.alsa-project.org/?p=${PN}.git;a=snapshot;h=${COMMIT};sf=tgz -> ${P}.tar.gz"
231 - S="${WORKDIR}"/${PN}-${COMMIT:0:7}
232 -else
233 - # TODO: Upstream does publish .sig files, so someone could implement verify-sig ;)
234 - SRC_URI="https://www.alsa-project.org/files/pub/lib/${P}.tar.bz2"
235 -fi
236 -
237 -LICENSE="LGPL-2.1"
238 -SLOT="0"
239 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
240 -IUSE="alisp debug doc python +thread-safety"
241 -
242 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
243 -
244 -BDEPEND="doc? ( >=app-doc/doxygen-1.2.6 )"
245 -RDEPEND="python? ( ${PYTHON_DEPS} )
246 - media-libs/alsa-topology-conf
247 - media-libs/alsa-ucm-conf
248 -"
249 -DEPEND="${RDEPEND}"
250 -
251 -PATCHES=(
252 - "${FILESDIR}/${PN}-1.1.6-missing_files.patch" # bug #652422
253 -)
254 -
255 -pkg_setup() {
256 - use python && python-single-r1_pkg_setup
257 -}
258 -
259 -src_prepare() {
260 - find . -name Makefile.am -exec sed -i -e '/CFLAGS/s:-g -O2::' {} + || die
261 - # https://bugs.gentoo.org/545950
262 - sed -i -e '5s:^$:\nAM_CPPFLAGS = -I$(top_srcdir)/include:' test/lsb/Makefile.am || die
263 - default
264 - eautoreconf
265 -}
266 -
267 -multilib_src_configure() {
268 - local myeconfargs=(
269 - --disable-maintainer-mode
270 - --disable-resmgr
271 - --enable-aload
272 - --enable-rawmidi
273 - --enable-seq
274 - --enable-shared
275 - # enable Python only on final ABI
276 - $(multilib_native_use_enable python)
277 - $(use_enable alisp)
278 - $(use_enable thread-safety)
279 - $(use_with debug)
280 - )
281 -
282 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
283 -}
284 -
285 -multilib_src_compile() {
286 - emake
287 -
288 - if multilib_is_native_abi && use doc; then
289 - emake doc
290 - grep -FZrl "${S}" doc/doxygen/html | \
291 - xargs -0 sed -i -e "s:${S}::" || die
292 - fi
293 -}
294 -
295 -multilib_src_install() {
296 - multilib_is_native_abi && use doc && local HTML_DOCS=( doc/doxygen/html/. )
297 - default
298 -}
299 -
300 -multilib_src_install_all() {
301 - find "${ED}" -type f \( -name '*.a' -o -name '*.la' \) -delete || die
302 - dodoc ChangeLog doc/asoundrc.txt NOTES TODO
303 -}
304
305 diff --git a/media-libs/alsa-lib/files/alsa-lib-1.2.4-musl.patch b/media-libs/alsa-lib/files/alsa-lib-1.2.4-musl.patch
306 deleted file mode 100644
307 index 54e6c0e0d23e..000000000000
308 --- a/media-libs/alsa-lib/files/alsa-lib-1.2.4-musl.patch
309 +++ /dev/null
310 @@ -1,32 +0,0 @@
311 -https://github.com/alsa-project/alsa-lib/commit/ad8c8e5503980295dd8e5e54a6285d2d7e32eb1e
312 -https://bugs.gentoo.org/792570
313 -
314 -From ad8c8e5503980295dd8e5e54a6285d2d7e32eb1e Mon Sep 17 00:00:00 2001
315 -From: Jaroslav Kysela <perex@×××××.cz>
316 -Date: Thu, 22 Oct 2020 20:57:32 +0200
317 -Subject: [PATCH] dlmisc: the snd_plugin_dir_set / snd_plugin_dir must be
318 - declared even for \!DL_ORIGIN_AVAILABLE
319 -
320 -Fixes: 8580c081c2 ("dlsym: add support for ALSA_PLUGIN_DIR environment variable")
321 -BugLink: https://github.com/alsa-project/alsa-lib/issues/91
322 -Signed-off-by: Jaroslav Kysela <perex@×××××.cz>
323 ----
324 - src/dlmisc.c | 2 --
325 - 1 file changed, 2 deletions(-)
326 -
327 -diff --git a/src/dlmisc.c b/src/dlmisc.c
328 -index c9517c55..f20eb593 100644
329 ---- a/src/dlmisc.c
330 -+++ b/src/dlmisc.c
331 -@@ -42,11 +42,9 @@
332 - #ifndef PIC
333 - struct snd_dlsym_link *snd_dlsym_start = NULL;
334 - #endif
335 --#ifdef DL_ORIGIN_AVAILABLE
336 - static int snd_plugin_dir_set = 0;
337 - static char *snd_plugin_dir = NULL;
338 - #endif
339 --#endif
340 -
341 - #if defined(DL_ORIGIN_AVAILABLE) && defined(HAVE_LIBPTHREAD)
342 - static pthread_mutex_t snd_dlpath_mutex = PTHREAD_MUTEX_INITIALIZER;