commit:     e3b9196e5d19db1770bfec45c753608df2447675
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 14 20:27:37 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 20:45:17 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3b9196e

sci-visualization/kst: avoid REQUIRED_USE for Qt version selection

Package-Manager: portage-2.3.0

 sci-visualization/kst/kst-2.0.8.ebuild | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/sci-visualization/kst/kst-2.0.8.ebuild 
b/sci-visualization/kst/kst-2.0.8.ebuild
index 7a79231..4b0c98e 100644
--- a/sci-visualization/kst/kst-2.0.8.ebuild
+++ b/sci-visualization/kst/kst-2.0.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -15,14 +15,12 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
 LICENSE="GPL-2 LGPL-2 FDL-1.2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="debug +qt4 qt5 test"
-
-REQUIRED_USE="^^ ( qt4 qt5 )"
+IUSE="debug qt5 test"
 
 RESTRICT="test"
 
 RDEPEND="
-       qt4? (
+       !qt5? (
                dev-qt/designer:4
                dev-qt/qtcore:4
                dev-qt/qtgui:4
@@ -46,7 +44,10 @@ RDEPEND="
        sci-libs/netcdf-cxx:3
 "
 DEPEND="${RDEPEND}
-       test? ( dev-qt/qttest:4 )
+       test? (
+               !qt5? ( dev-qt/qttest:4 )
+               qt5? ( dev-qt/qttest:5 )
+       )
 "
 
 S=${WORKDIR}/${MY_P}

Reply via email to