public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/
Date: Mon,  1 Oct 2018 20:08:35 +0000 (UTC)	[thread overview]
Message-ID: <1538424499.19c3f586c801c32054718525defffa129cadf9bd.asturm@gentoo> (raw)

commit:     19c3f586c801c32054718525defffa129cadf9bd
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  1 19:31:48 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Oct  1 20:08:19 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19c3f586

media-libs/aubio: Fix USE flag conflicts

Thanks-to: ak <4nykey <AT> gmail.com>
Closes: https://bugs.gentoo.org/605750
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 media-libs/aubio/aubio-0.4.7.ebuild | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/media-libs/aubio/aubio-0.4.7.ebuild b/media-libs/aubio/aubio-0.4.7.ebuild
index 0592ffa0a50..a7d7db9a590 100644
--- a/media-libs/aubio/aubio-0.4.7.ebuild
+++ b/media-libs/aubio/aubio-0.4.7.ebuild
@@ -37,7 +37,9 @@ DEPEND="${RDEPEND}
 	virtual/pkgconfig
 	doc? ( app-doc/doxygen )
 "
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+	?? ( double-precision libsamplerate )
+"
 
 DOCS=( AUTHORS ChangeLog README.md )
 PYTHON_SRC_DIR="${S}"
@@ -49,16 +51,19 @@ src_prepare() {
 
 src_configure() {
 	python_setup
-	waf-utils_src_configure \
-		--enable-complex \
-		--docdir="${EPREFIX}"/usr/share/doc/${PF} \
-		$(use_enable double-precision double) \
-		$(use_enable fftw fftw3f) \
-		$(use_enable fftw fftw3) \
-		$(use_enable ffmpeg avcodec) \
-		$(use_enable jack) \
-		$(use_enable libsamplerate samplerate) \
+	local mywafconfargs=(
+		--enable-complex
+		--docdir="${EPREFIX}"/usr/share/doc/${PF}
+		$(use_enable double-precision double)
+		$(use_enable fftw fftw3)
+		$(use_enable ffmpeg avcodec)
+		$(use_enable jack)
+		$(use_enable libsamplerate samplerate)
 		$(use_enable sndfile)
+	)
+	use double-precision || mywafconfargs+=( $(use_enable fftw fftw3f) )
+
+	waf-utils_src_configure "${mywafconfargs[@]}"
 
 	if use python ; then
 		cd "${PYTHON_SRC_DIR}" || die


             reply	other threads:[~2018-10-01 20:08 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-01 20:08 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-12 10:14 [gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/ Ionen Wolkens
2024-07-04 13:36 Miroslav Šulc
2024-07-03 22:36 Sam James
2024-07-03 22:36 Sam James
2024-07-03 22:36 Sam James
2024-07-03 22:36 Sam James
2024-06-02  0:41 Sam James
2023-09-06 18:43 WANG Xuerui
2022-06-23  4:02 Miroslav Šulc
2022-06-22  5:50 Agostino Sarubbo
2022-06-22  5:49 Agostino Sarubbo
2022-06-22  5:48 Agostino Sarubbo
2022-06-22  5:45 Agostino Sarubbo
2022-06-20  1:45 Sam James
2022-05-31  4:46 Sam James
2022-02-01 18:51 Michał Górny
2021-06-30 17:43 Miroslav Šulc
2020-11-23 23:10 Lars Wendler
2020-06-24 17:22 Sergei Trofimovich
2020-06-22  6:57 Agostino Sarubbo
2020-06-21 17:08 Agostino Sarubbo
2020-06-21 15:24 Thomas Deutschmann
2020-04-25 19:24 Mikle Kolyada
2020-01-22 21:50 Michał Górny
2020-01-16  6:39 Michał Górny
2020-01-16  6:39 Michał Górny
2019-02-20 15:08 Lars Wendler
2018-10-06 16:48 Matt Turner
2018-10-04 20:55 Sergei Trofimovich
2018-10-04  9:00 Mikle Kolyada
2018-10-01 22:42 Thomas Deutschmann
2018-10-01 20:08 Andreas Sturmlechner
2018-10-01 20:08 Andreas Sturmlechner
2018-09-25  8:22 Lars Wendler
2018-09-25  8:22 Lars Wendler
2017-10-06  7:44 Lars Wendler
2017-10-06  7:44 Lars Wendler
2017-08-22 21:41 Michał Górny
2017-05-09  7:29 Alexis Ballier
2017-04-24 12:38 Lars Wendler
2017-04-12  7:54 Lars Wendler
2017-01-13  7:56 Alexis Ballier
2016-08-28 14:12 Alexis Ballier
2016-08-27 18:30 Alexis Ballier
2015-11-10 11:52 Alexis Ballier
2015-11-01 10:37 Alexis Ballier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1538424499.19c3f586c801c32054718525defffa129cadf9bd.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox