diff options
author | Michael Palimaka <kensington@gentoo.org> | 2016-09-15 06:27:37 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2016-09-15 06:45:17 +1000 |
commit | e3b9196e5d19db1770bfec45c753608df2447675 (patch) | |
tree | 520848ab49845118350d3ab73f38f78f8bf6e69b /sci-visualization/kst | |
parent | sci-libs/clipper: Remove old ebuild (diff) | |
download | gentoo-e3b9196e5d19db1770bfec45c753608df2447675.tar.gz gentoo-e3b9196e5d19db1770bfec45c753608df2447675.tar.bz2 gentoo-e3b9196e5d19db1770bfec45c753608df2447675.zip |
sci-visualization/kst: avoid REQUIRED_USE for Qt version selection
Package-Manager: portage-2.3.0
Diffstat (limited to 'sci-visualization/kst')
-rw-r--r-- | sci-visualization/kst/kst-2.0.8.ebuild | 13 |
1 files 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 7a792318de8d..4b0c98e7d336 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} |