aboutsummaryrefslogtreecommitdiff
blob: 39b097c92533649661672a10efd863c0615acdc4 (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DOCS_BUILDER="doxygen"
DOCS_DIR="doc/src"
DOCS_DEPEND="media-gfx/graphviz"

inherit cmake docs

DESCRIPTION="A complete OpenCascade - OCAF based CAD framework"
HOMEPAGE="https://sourceforge.net/projects/salomegeometry/"
SRC_URI="mirror://sourceforge/salomegeometry/${P}.tar.gz"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

OCC_SLOT="7.4.0"

RDEPEND="sci-libs/opencascade:${OCC_SLOT}"
DEPEND="${RDEPEND}"

S="${WORKDIR}"

src_configure() {
	mycmakeargs=(
		-DOCC_INCLUDE_PATH="/usr/lib64/opencascade-${OCC_SLOT}/ros/include/opencascade/"
	)
	cmake_src_configure
}

src_compile() {
	docs_compile
	cmake_src_compile
}