blob: 6b0ac253117bff94ca0cdf89747d69cbf53b6321 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils
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"
"${FILESDIR}/${P}-qt-5.11.patch"
"${FILESDIR}/${P}-gsl-2.0.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
-Dkst_test=$(usex test)
)
cmake-utils_src_configure
}
|