summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2013-08-01 18:28:16 +0000
committerMichael Palimaka <kensington@gentoo.org>2013-08-01 18:28:16 +0000
commit75db70648bd7b91a682099682209d76ead8f357d (patch)
treec7634b2e602d5d7a6a850cc471c1a442f515f317 /sci-visualization/kst/kst-2.0.7.ebuild
parentUpdate README.gentoo doc as referenced wiki page no longer exists (#479376 by... (diff)
downloadgentoo-2-75db70648bd7b91a682099682209d76ead8f357d.tar.gz
gentoo-2-75db70648bd7b91a682099682209d76ead8f357d.tar.bz2
gentoo-2-75db70648bd7b91a682099682209d76ead8f357d.zip
Version bump. Remove old.
(Portage version: 2.1.13.2/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)
Diffstat (limited to 'sci-visualization/kst/kst-2.0.7.ebuild')
-rw-r--r--sci-visualization/kst/kst-2.0.7.ebuild65
1 files changed, 65 insertions, 0 deletions
diff --git a/sci-visualization/kst/kst-2.0.7.ebuild b/sci-visualization/kst/kst-2.0.7.ebuild
new file mode 100644
index 000000000000..99485d4b7ec1
--- /dev/null
+++ b/sci-visualization/kst/kst-2.0.7.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/kst/kst-2.0.7.ebuild,v 1.1 2013/08/01 18:28:16 kensington Exp $
+
+EAPI=4
+
+CMAKE_USE_DIR=${S}/cmake
+MY_PN="Kst"
+inherit cmake-utils multilib
+
+DESCRIPTION="Fast real-time large-dataset viewing and plotting tool for KDE4"
+HOMEPAGE="http://kst.kde.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2 FDL-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +qt4 qt5 test"
+
+REQUIRED_USE="^^ ( qt4 qt5 )"
+
+RESTRICT="test"
+
+RDEPEND="
+ qt4? (
+ dev-qt/qtcore:4
+ || ( ( >=dev-qt/qtgui-4.8.5:4 dev-qt/designer:4 ) <dev-qt/qtgui-4.8.5:4 )
+ dev-qt/qtopengl:4
+ dev-qt/qtsvg:4
+ )
+ qt5? (
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/designer: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]
+"
+DEPEND="${RDEPEND}
+ test? ( dev-qt/qttest:4 )
+"
+
+DOCS=( AUTHORS ChangeLog )
+PATCHES=( "${FILESDIR}/${PN}-2.0.7-cfitsio-includes.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -Dkst_install_libdir=$(get_libdir)
+ -Dkst_pch=OFF
+ -Dkst_release=$(usex debug OFF ON)
+ -Dkst_rpath=OFF
+ -Dkst_svnversion=OFF
+ $(cmake-utils_use test kst_test)
+ $(cmake-utils_use qt5 kst_qt5)
+ )
+ cmake-utils_src_configure
+}