summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-09-24 16:27:10 +1000
committerMichael Palimaka <kensington@gentoo.org>2017-09-24 16:27:32 +1000
commitf933839581a7e975affe56973e362020029ac5c7 (patch)
tree91a0a2dd7858ba1fce7ec3c9880cf191580de097
parentsys-devel/qconf: drop qt4 support (diff)
downloadgentoo-f933839581a7e975affe56973e362020029ac5c7.tar.gz
gentoo-f933839581a7e975affe56973e362020029ac5c7.tar.bz2
gentoo-f933839581a7e975affe56973e362020029ac5c7.zip
sci-visualization/kst: drop qt4 support
Package-Manager: Portage-2.3.8, Repoman-2.3.3
-rw-r--r--sci-visualization/kst/kst-2.0.8.ebuild42
1 files changed, 14 insertions, 28 deletions
diff --git a/sci-visualization/kst/kst-2.0.8.ebuild b/sci-visualization/kst/kst-2.0.8.ebuild
index b5c0423a6d08..408da47f2984 100644
--- a/sci-visualization/kst/kst-2.0.8.ebuild
+++ b/sci-visualization/kst/kst-2.0.8.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-inherit cmake-utils multilib qmake-utils
+inherit cmake-utils multilib
MY_P=Kst-${PV}
@@ -14,39 +14,27 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2 LGPL-2 FDL-1.2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="debug qt5 test"
+IUSE="debug test"
RESTRICT="test"
RDEPEND="
- !qt5? (
- dev-qt/designer:4
- dev-qt/qtcore:4
- dev-qt/qtgui:4
- dev-qt/qtopengl:4
- dev-qt/qtsvg:4
- )
- qt5? (
- dev-qt/designer:5
- dev-qt/qtconcurrent:5
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5
- dev-qt/qtopengl:5
- dev-qt/qtprintsupport:5
- dev-qt/qtwidgets:5
- dev-qt/qtxml:5
- )
+ dev-qt/designer:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtopengl:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
sci-libs/cfitsio
sci-libs/getdata
sci-libs/gsl
sci-libs/netcdf-cxx:3
"
DEPEND="${RDEPEND}
- test? (
- !qt5? ( dev-qt/qttest:4 )
- qt5? ( dev-qt/qttest:5 )
- )
+ test? ( dev-qt/qttest:5 )
"
S=${WORKDIR}/${MY_P}
@@ -58,14 +46,12 @@ src_configure() {
local mycmakeargs=(
-Dkst_install_libdir="$(get_libdir)"
-Dkst_pch=OFF
+ -Dkst_qt5=ON
-Dkst_release=$(usex debug OFF ON)
-Dkst_rpath=OFF
-Dkst_svnversion=OFF
$(cmake-utils_use test kst_test)
- $(cmake-utils_use qt5 kst_qt5)
)
- use !qt5 && mycmakeargs+=( -DQT_LCONVERT_EXECUTABLE="$(qt4_get_bindir)/lconvert" )
-
cmake-utils_src_configure
}