summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-10-01 22:07:08 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-10-01 22:08:19 +0200
commit4f613c9fe28398d60b4329e2e9e64dd5316579fd (patch)
treebbc2957d54aa492c49cc45fb0bc5b917a358480d /media-libs/aubio
parentmedia-libs/aubio: Fix USE flag conflicts (diff)
downloadgentoo-4f613c9fe28398d60b4329e2e9e64dd5316579fd.tar.gz
gentoo-4f613c9fe28398d60b4329e2e9e64dd5316579fd.tar.bz2
gentoo-4f613c9fe28398d60b4329e2e9e64dd5316579fd.zip
media-libs/aubio: Disable tests for real
Tests were always built and run regardless. At least disable them if not requested. Bug: https://bugs.gentoo.org/651956 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'media-libs/aubio')
-rw-r--r--media-libs/aubio/aubio-0.4.7.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/media-libs/aubio/aubio-0.4.7.ebuild b/media-libs/aubio/aubio-0.4.7.ebuild
index a7d7db9a590a..c7b767af9ebe 100644
--- a/media-libs/aubio/aubio-0.4.7.ebuild
+++ b/media-libs/aubio/aubio-0.4.7.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://aubio.org/pub/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0/5"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate sndfile python"
+IUSE="doc double-precision examples ffmpeg fftw jack libav libsamplerate sndfile python test"
RDEPEND="
ffmpeg? (
@@ -46,7 +46,11 @@ PYTHON_SRC_DIR="${S}"
src_prepare() {
default
- sed -i -e "s:doxygen:doxygen_disabled:" wscript || die
+ sed -e "s:doxygen:doxygen_disabled:" -i wscript || die
+
+ if ! use test; then
+ sed -e "/bld.*tests/d" -i wscript || die
+ fi
}
src_configure() {