Skip to content

Commit

Permalink
media-libs/aubio: Disable tests for real
Browse files Browse the repository at this point in the history
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 <[email protected]>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
  • Loading branch information
a17r committed Oct 1, 2018
1 parent 19c3f58 commit 4f613c9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions media-libs/aubio/aubio-0.4.7.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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? (
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 4f613c9

Please sign in to comment.