Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/kvazaar/
Date: Sat, 15 Oct 2016 09:42:47
Message-Id: 1476524557.f5344275922663b73a12d97f07a5c7a536a2d594.aballier@gentoo
1 commit: f5344275922663b73a12d97f07a5c7a536a2d594
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 15 09:42:31 2016 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 15 09:42:37 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5344275
7
8 media-libs/kvazaar: fix tests on live ebuild
9
10 Package-Manager: portage-2.3.2
11
12 media-libs/kvazaar/kvazaar-9999.ebuild | 3 ++-
13 1 file changed, 2 insertions(+), 1 deletion(-)
14
15 diff --git a/media-libs/kvazaar/kvazaar-9999.ebuild b/media-libs/kvazaar/kvazaar-9999.ebuild
16 index 7f8fec2..edf3031 100644
17 --- a/media-libs/kvazaar/kvazaar-9999.ebuild
18 +++ b/media-libs/kvazaar/kvazaar-9999.ebuild
19 @@ -31,6 +31,7 @@ IUSE="static-libs test"
20
21 DEPEND=""
22 RDEPEND="${DEPEND}"
23 +REQUIRED_USE="test? ( static-libs )"
24
25 ASM_DEP=">=dev-lang/yasm-1.2.0"
26 DEPEND="${DEPEND}
27 @@ -39,7 +40,7 @@ DEPEND="${DEPEND}
28
29 src_prepare() {
30 eautoreconf
31 - if use test ; then
32 + if use test && [ "${PV#9999}" = "${PV}" ]; then
33 # https://bugs.gentoo.org/show_bug.cgi?id=595932
34 rmdir "${S}/greatest" || die
35 mv "${WORKDIR}/greatest-${GREATEST_PV}" "${S}/greatest" || die