Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/spandsp/
Date: Sun, 27 Feb 2022 23:01:31
Message-Id: 1646002829.0f882b889ad7aa194a5a2ea8ccf50309d6705439.sam@gentoo
1 commit: 0f882b889ad7aa194a5a2ea8ccf50309d6705439
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 27 23:00:29 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 27 23:00:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f882b88
7
8 media-libs/spandsp: drop 0.0.6
9
10 Closes: https://bugs.gentoo.org/833702
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 media-libs/spandsp/spandsp-0.0.6.ebuild | 66 ---------------------------------
14 1 file changed, 66 deletions(-)
15
16 diff --git a/media-libs/spandsp/spandsp-0.0.6.ebuild b/media-libs/spandsp/spandsp-0.0.6.ebuild
17 deleted file mode 100644
18 index f5989411a1b1..000000000000
19 --- a/media-libs/spandsp/spandsp-0.0.6.ebuild
20 +++ /dev/null
21 @@ -1,66 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI="5"
26 -
27 -inherit multilib versionator
28 -
29 -DESCRIPTION="SpanDSP is a library of DSP functions for telephony"
30 -HOMEPAGE="http://www.soft-switch.org/"
31 -SRC_URI="http://www.soft-switch.org/downloads/spandsp/${P/_}.tar.gz"
32 -
33 -LICENSE="LGPL-2.1"
34 -SLOT="0"
35 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~sparc x86"
36 -IUSE="doc fixed-point cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 static-libs"
37 -
38 -RDEPEND="media-libs/tiff
39 - virtual/jpeg"
40 -DEPEND="${RDEPEND}
41 - doc? ( app-doc/doxygen
42 - dev-libs/libxslt )"
43 -
44 -# Enabled implicitly by the build system. Really useless.
45 -REQUIRED_USE="
46 - cpu_flags_x86_sse3? ( cpu_flags_x86_sse2 )
47 - cpu_flags_x86_sse2? ( cpu_flags_x86_sse )
48 - cpu_flags_x86_sse? ( cpu_flags_x86_mmx )"
49 -
50 -S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
51 -
52 -# TODO:
53 -# there are two tests options: tests and test-data
54 -# they need audiofile, fftw, libxml and probably more
55 -
56 -src_configure() {
57 - # Note: flags over sse3 aren't really used -- they're only
58 - # boilerplate. They also make some silly assumptions, e.g. that
59 - # every CPU with SSE4* has SSSE3.
60 - # Reference: https://bugs.funtoo.org/browse/FL-2069.
61 - # If you want to re-add them, first check if the code started
62 - # using them. If it did, figure out if the flags can be unbundled
63 - # from one another. Otherwise, you'd have to do REQUIRED_USE.
64 -
65 - econf \
66 - $(use_enable doc) \
67 - $(use_enable fixed-point) \
68 - $(use_enable cpu_flags_x86_mmx mmx) \
69 - $(use_enable cpu_flags_x86_sse sse) \
70 - $(use_enable cpu_flags_x86_sse2 sse2) \
71 - $(use_enable cpu_flags_x86_sse3 sse3) \
72 - $(use_enable static-libs static)
73 -}
74 -
75 -src_install() {
76 - emake DESTDIR="${D}" install
77 - dodoc AUTHORS ChangeLog DueDiligence NEWS README
78 -
79 - if ! use static-libs; then
80 - # remove useless la file when not installing static lib
81 - find "${ED}" -name '*.la' -delete || die
82 - fi
83 -
84 - if use doc; then
85 - dohtml -r doc/{api/html/*,t38_manual}
86 - fi
87 -}