summaryrefslogtreecommitdiff
path: root/sci-visualization/kst
diff options
context:
space:
mode:
Diffstat (limited to 'sci-visualization/kst')
-rw-r--r--sci-visualization/kst/Manifest6
-rw-r--r--sci-visualization/kst/files/kst-2.0.8-includes.patch25
-rw-r--r--sci-visualization/kst/kst-2.0.8.ebuild57
-rw-r--r--sci-visualization/kst/metadata.xml12
4 files changed, 100 insertions, 0 deletions
diff --git a/sci-visualization/kst/Manifest b/sci-visualization/kst/Manifest
new file mode 100644
index 000000000000..6adc2809b203
--- /dev/null
+++ b/sci-visualization/kst/Manifest
@@ -0,0 +1,6 @@
+AUX kst-2.0.8-includes.patch 581 SHA256 980e9b51f5cb10218bf4b948696fd57971842e17921965e5aa58c0785a79b75e SHA512 d4b0f764beff6c8f9e8d64a5152153d1d9ddc72da029f5e10b83865e2f9aa94ae59eb1678b33f653ac06b38086b5bb03aa172c79cedbe562c0f1b9c872e124a4 WHIRLPOOL 0d21f5e8b23520011a71cd9c00e0998054fa17a6d6b8da6b3c946fc849ab4b87efac6db040bf3fae35dd2d6f2fc868b78890e78f7a828bef3f8356b575128cc3
+DIST Kst-2.0.8.tar.gz 14527129 SHA256 cefbfd3e3710771985e08f02a397ef8ab407168fa8415d2c3c5740c031af18c6 SHA512 81be1e9ef189dbf087c5626b984297d4c8f84f22fce50c4933ea467a65f8595c0254af78d55f2b2e324934346f0758b7a0cf48d06d1108026b60b7ffba1221fb WHIRLPOOL d143cd2c88e7dcff1aeb53375272cf4b7a60f546a9c8dbd76bf8c9933575ab6fbb5f7e5f82f793dbde19d523af9314eeb8efecb8e82f30b3846ebf9d222d27d1
+EBUILD kst-2.0.8.ebuild 1082 SHA256 1e06251051ba6620da032e09ec29d3119efa78fda2062212253954cf407ac732 SHA512 b696a26bccdab039f0d0845b5716048fccd2b9ddd50cd6c4208525182d2ea5c6a205e65e5db88afbe3c347e887b84d4576806e5708287eefee072250c4e8b2e3 WHIRLPOOL ac719e7618648b6ac6a0b0df9127599bbdcb73eb554edb735ef62263bd70397b7c936f66fbe704105e57113b404545e8c1c2d03885c8e26bf65dc7bcef4880da
+MISC ChangeLog 3534 SHA256 e4169ad93a966686bacb2e88757bf11827c66a1d5800914cbdd83b7d527b9d9a SHA512 0516abebe8c5af38d8360406ed4183d9aba1a74bcd4d4b830210c1ecd5f8d3ae8fc3ae5212ec852c9730decb4d608b80696e032c6a20f95e924461fc002a58a5 WHIRLPOOL 1821eb3a613132c9197a7e4667ee76125ffa66feb8b99f388319fac39449dd366dd7aeeb87745d8ac8091df26b32214262eb518ea7e0e541916b0c52a96cf3a1
+MISC ChangeLog-2015 3668 SHA256 095d4e49678fcb3e9e622712033ccc3b9a75bc4296839c969317c9c86d9b795f SHA512 eebe3ef0fad8db058a7b113b8f30e1eac490e27d2669a7dec227e20683e64401395e1ba9f0892994d2d9f3e27bd300fa9ff037722faf1c2ec8c6b879bd7fe809 WHIRLPOOL 65d89083a93ac4bd41e3094321bea955b4ae657fa67a1f262fe0310a4d61879ccc3c27e40730dfa559e77b2093fb4d757285b052850de52cfa1f8f1adc7bc9f5
+MISC metadata.xml 364 SHA256 b14feb09126944c1936c684b6eef30f29f871aff3ee5e6441b9d119eac0ccc4f SHA512 46ab4c2f002b9b516a49e8c678740344b3cdb79ce92ada0b22ee205fe17b54a804fcc520ae517bfc2f420870eaa28c40043007e54c4b55506e8edcdf7f958e66 WHIRLPOOL 3617d503c469dd2c0d5fed43af3545e5763ad3b9fb7409ec44db55d6f893304972b2b4db1df94b612193f22402e0b8184a34b8bf8a422fadee15ce8698791507
diff --git a/sci-visualization/kst/files/kst-2.0.8-includes.patch b/sci-visualization/kst/files/kst-2.0.8-includes.patch
new file mode 100644
index 000000000000..113d9dcc807d
--- /dev/null
+++ b/sci-visualization/kst/files/kst-2.0.8-includes.patch
@@ -0,0 +1,25 @@
+Add missing includes required for Qt 5 build to succeed.
+
+Author: David Carne <davidcarne@gmail.com>
+Gentoo-bug: 587948
+
+--- a/src/libkst/editablematrix.cpp
++++ b/src/libkst/editablematrix.cpp
+@@ -19,6 +19,7 @@
+ #include "debug.h"
+ #include <qbytearray.h>
+ #include <QXmlStreamWriter>
++#include <QDataStream>
+
+ namespace Kst {
+
+--- a/src/libkst/editablevector.cpp
++++ b/src/libkst/editablevector.cpp
+@@ -18,6 +18,7 @@
+ // Create QDataStream into a QByteArray
+ // qCompress the bytearray
+ #include <QXmlStreamWriter>
++#include <QDataStream>
+
+ #include "debug.h"
+ namespace Kst {
diff --git a/sci-visualization/kst/kst-2.0.8.ebuild b/sci-visualization/kst/kst-2.0.8.ebuild
new file mode 100644
index 000000000000..408da47f2984
--- /dev/null
+++ b/sci-visualization/kst/kst-2.0.8.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils multilib
+
+MY_P=Kst-${PV}
+
+DESCRIPTION="Fast real-time large-dataset viewing and plotting tool"
+HOMEPAGE="https://kst.kde.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2 FDL-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug test"
+
+RESTRICT="test"
+
+RDEPEND="
+ 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? ( dev-qt/qttest:5 )
+"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( AUTHORS README.kstScript )
+PATCHES=( "${FILESDIR}/${P}-includes.patch" )
+
+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_src_configure
+}
diff --git a/sci-visualization/kst/metadata.xml b/sci-visualization/kst/metadata.xml
new file mode 100644
index 000000000000..9f73ea702ac4
--- /dev/null
+++ b/sci-visualization/kst/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">kst</remote-id>
+ <bugs-to>https://bugs.kde.org/</bugs-to>
+ </upstream>
+</pkgmetadata>