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
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? (
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() {