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-libs/aubio/
Date: Thu, 23 Jun 2022 04:02:50
Message-Id: 1655956959.71fa229ce314df4d02534442c2b01074dc859e12.fordfrog@gentoo
1 commit: 71fa229ce314df4d02534442c2b01074dc859e12
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 23 04:02:39 2022 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 23 04:02:39 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71fa229c
7
8 media-libs/aubio: dropped obsolete 0.4.9-r1
9
10 Bug: https://bugs.gentoo.org/853610
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 media-libs/aubio/aubio-0.4.9-r1.ebuild | 142 ---------------------------------
14 1 file changed, 142 deletions(-)
15
16 diff --git a/media-libs/aubio/aubio-0.4.9-r1.ebuild b/media-libs/aubio/aubio-0.4.9-r1.ebuild
17 deleted file mode 100644
18 index 48d70ea69fd3..000000000000
19 --- a/media-libs/aubio/aubio-0.4.9-r1.ebuild
20 +++ /dev/null
21 @@ -1,142 +0,0 @@
22 -# Copyright 1999-2022 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -DISTUTILS_OPTIONAL=1
28 -PYTHON_COMPAT=( python3_{7..9} )
29 -PYTHON_REQ_USE='threads(+)'
30 -inherit distutils-r1 waf-utils
31 -
32 -DESCRIPTION="Library for audio labelling"
33 -HOMEPAGE="https://aubio.org/"
34 -SRC_URI="https://aubio.org/pub/${P}.tar.bz2"
35 -
36 -LICENSE="GPL-3"
37 -SLOT="0/5"
38 -KEYWORDS="amd64 ~ppc ppc64 sparc x86"
39 -IUSE="doc double-precision examples ffmpeg fftw jack libsamplerate sndfile python test"
40 -
41 -REQUIRED_USE="${PYTHON_REQUIRED_USE}
42 - ?? ( double-precision libsamplerate )
43 - doc? ( python )
44 -"
45 -
46 -RESTRICT="!test? ( test )"
47 -
48 -RDEPEND="
49 - ffmpeg? ( >=media-video/ffmpeg-2.6:0= )
50 - fftw? ( sci-libs/fftw:3.0= )
51 - jack? ( virtual/jack )
52 - libsamplerate? ( media-libs/libsamplerate )
53 - python? (
54 - ${PYTHON_DEPS}
55 - dev-python/numpy[${PYTHON_USEDEP}]
56 - )
57 - sndfile? ( media-libs/libsndfile )
58 -"
59 -
60 -DEPEND="${RDEPEND}
61 - ${PYTHON_DEPS}
62 - app-text/txt2man
63 - virtual/pkgconfig
64 - doc? (
65 - app-doc/doxygen
66 - dev-python/sphinx
67 - )
68 -"
69 -
70 -DOCS=( AUTHORS ChangeLog README.md )
71 -PYTHON_SRC_DIR="${S}"
72 -
73 -PATCHES=(
74 - "${FILESDIR}"/${PN}-0.4.9-docdir.patch
75 - "${FILESDIR}"/ffmpeg5.patch
76 -)
77 -
78 -src_prepare() {
79 - default
80 -
81 - sed -e "s:doxygen:doxygen_disabled:" -i wscript || die
82 -
83 - sed -e "s/, 'sphinx.ext.intersphinx'//" -i doc/conf.py || die
84 -
85 - if ! use test; then
86 - sed -e "/bld.*tests/d" -i wscript || die
87 - fi
88 -}
89 -
90 -src_configure() {
91 - python_setup
92 - local mywafconfargs=(
93 - --enable-complex
94 - --docdir="${EPREFIX}"/usr/share/doc/${PF}
95 - $(use_enable doc docs)
96 - $(use_enable double-precision double)
97 - $(use_enable fftw fftw3)
98 - $(use_enable ffmpeg avcodec)
99 - $(use_enable jack)
100 - $(use_enable libsamplerate samplerate)
101 - $(use_enable sndfile)
102 - )
103 - use double-precision || mywafconfargs+=( $(use_enable fftw fftw3f) )
104 -
105 - waf-utils_src_configure "${mywafconfargs[@]}"
106 -
107 - if use python ; then
108 - cd "${PYTHON_SRC_DIR}" || die
109 - distutils-r1_src_configure
110 - fi
111 -}
112 -
113 -src_compile() {
114 - waf-utils_src_compile --notests
115 -
116 - if use python ; then
117 - cd "${PYTHON_SRC_DIR}" || die
118 - distutils-r1_src_compile
119 -
120 - if use doc ; then
121 - # No API function like distutils_install_for_testing available for this use case
122 - pushd "${S}"/doc &>/dev/null || die
123 - python_setup
124 - LD_LIBRARY_PATH="${S}/build/src" \
125 - PYTHONPATH="${S%%/}-${EPYTHON/./_}/lib${PYTHONPATH:+:${PYTHONPATH}}" \
126 - emake dirhtml
127 - fi
128 -
129 - cd "${S}" || die
130 - fi
131 -}
132 -
133 -src_test() {
134 - waf-utils_src_compile --alltests
135 -
136 - if use python ; then
137 - cd "${PYTHON_SRC_DIR}" || die
138 - distutils-r1_src_test
139 - fi
140 -}
141 -
142 -src_install() {
143 - waf-utils_src_install
144 -
145 - if use examples; then
146 - # install dist_noinst_SCRIPTS from Makefile.am
147 - dodoc -r examples
148 - fi
149 -
150 - if use python ; then
151 - cd "${PYTHON_SRC_DIR}" || die
152 - DOCS="" distutils-r1_src_install
153 - newdoc python/README.md README.python
154 - fi
155 -
156 - if use doc; then
157 - dodoc doc/*.txt
158 - docinto html
159 - dodoc -r doc/_build/dirhtml/.
160 - fi
161 -
162 - find "${ED}" -name "*.a" -delete || die
163 -}