aboutsummaryrefslogtreecommitdiff
blob: 20f1e4f1c2ee08dfd37767d3cef870467e031fb6 (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
EAPI=8

SLOT="0"
LICENSE="GPL-3"

DESCRIPTION="Open Visualization Tool"
HOMEPAGE="https://www.ovito.org"

ICON="logo_rgb-768x737.png"

SRC_URI="
	https://gitlab.com/stuko/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
	https://www.ovito.org/wp-content/uploads/${ICON}
"
KEYWORDS="~amd64"

S="${WORKDIR}/${PN}-v${PV}"

inherit cmake desktop

DEPEND="
	dev-qt/qtbase:6[gui]
	dev-qt/qtsvg:6
	sci-libs/hdf5
	dev-libs/boost
	sci-libs/netcdf
	media-video/ffmpeg
	virtual/opengl
"

src_configure() {
	cmake_src_configure
}

src_install() {
	cmake_src_install

	domenu "${FILESDIR}/ovito.desktop"
	newicon "${DISTDIR}/${ICON}" ovito.png
}