Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/
Date: Mon, 01 Oct 2018 20:08:39
Message-Id: 1538424499.19c3f586c801c32054718525defffa129cadf9bd.asturm@gentoo
1 commit: 19c3f586c801c32054718525defffa129cadf9bd
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 1 19:31:48 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 1 20:08:19 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19c3f586
7
8 media-libs/aubio: Fix USE flag conflicts
9
10 Thanks-to: ak <4nykey <AT> gmail.com>
11 Closes: https://bugs.gentoo.org/605750
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13 Package-Manager: Portage-2.3.50, Repoman-2.3.11
14
15 media-libs/aubio/aubio-0.4.7.ebuild | 25 +++++++++++++++----------
16 1 file changed, 15 insertions(+), 10 deletions(-)
17
18 diff --git a/media-libs/aubio/aubio-0.4.7.ebuild b/media-libs/aubio/aubio-0.4.7.ebuild
19 index 0592ffa0a50..a7d7db9a590 100644
20 --- a/media-libs/aubio/aubio-0.4.7.ebuild
21 +++ b/media-libs/aubio/aubio-0.4.7.ebuild
22 @@ -37,7 +37,9 @@ DEPEND="${RDEPEND}
23 virtual/pkgconfig
24 doc? ( app-doc/doxygen )
25 "
26 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
27 +REQUIRED_USE="${PYTHON_REQUIRED_USE}
28 + ?? ( double-precision libsamplerate )
29 +"
30
31 DOCS=( AUTHORS ChangeLog README.md )
32 PYTHON_SRC_DIR="${S}"
33 @@ -49,16 +51,19 @@ src_prepare() {
34
35 src_configure() {
36 python_setup
37 - waf-utils_src_configure \
38 - --enable-complex \
39 - --docdir="${EPREFIX}"/usr/share/doc/${PF} \
40 - $(use_enable double-precision double) \
41 - $(use_enable fftw fftw3f) \
42 - $(use_enable fftw fftw3) \
43 - $(use_enable ffmpeg avcodec) \
44 - $(use_enable jack) \
45 - $(use_enable libsamplerate samplerate) \
46 + local mywafconfargs=(
47 + --enable-complex
48 + --docdir="${EPREFIX}"/usr/share/doc/${PF}
49 + $(use_enable double-precision double)
50 + $(use_enable fftw fftw3)
51 + $(use_enable ffmpeg avcodec)
52 + $(use_enable jack)
53 + $(use_enable libsamplerate samplerate)
54 $(use_enable sndfile)
55 + )
56 + use double-precision || mywafconfargs+=( $(use_enable fftw fftw3f) )
57 +
58 + waf-utils_src_configure "${mywafconfargs[@]}"
59
60 if use python ; then
61 cd "${PYTHON_SRC_DIR}" || die