blob: f6ac813dc00fd5505d8b547f634e9da91e771228 (
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
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
CMAKE_IN_SOURCE_BUILD=0
inherit java-pkg-opt-2 cmake-utils
DESCRIPTION="General purpose computer algebra system"
HOMEPAGE="http://www.yacas.org/"
SRC_URI="https://codeload.github.com/grzegorzmazur/${PN}/tar.gz/v${PV} -> ${P}.tar.gz"
SLOT="0/1"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="doc gui java +jupyter static-libs"
DEPEND="
doc? ( dev-python/sphinx )
gui? ( >=dev-qt/qtcore-5.5[icu]
>=dev-qt/qtgui-5.5
>=dev-qt/qtwidgets-5.5
>=dev-qt/qtnetwork-5.5
>=dev-qt/qtwebkit-5.5
>=dev-qt/qtmultimedia-5.5
>=dev-qt/qtsql-5.5
>=dev-qt/qtprintsupport-5.5
>=dev-qt/qtopengl-5.5
>=dev-qt/qtprintsupport-5.5 )
jupyter? ( dev-python/jupyter
dev-libs/boost
dev-libs/jsoncpp
dev-libs/openssl:0
net-libs/zeromq
>=net-libs/zmqpp-4.1.2 )
java? ( >=virtual/jdk-1.6 )"
RDEPEND="java? ( >=virtual/jre-1.6 )"
src_configure() {
local mycmakeargs=(
-DENABLE_DOCS=$(usex doc)
-DENABLE_CYACAS_GUI=$(usex gui)
-DENABLE_CYACAS_KERNEL=$(usex jupyter)
-DENABLE_JYACAS=$(usex java)
)
cmake-utils_src_configure
}
|