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

EAPI=8

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

ICON="${PN}_icon.png"
SRC_URI="
	https://gitlab.com/stuko/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
	https://www.ovito.org/wp-content/uploads/logo_rgb-768x737.png -> ${ICON}
"
S="${WORKDIR}/${PN}-v${PV}"

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

KEYWORDS="~amd64"

inherit cmake desktop

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

src_configure() {
	cmake_src_configure
}

src_install() {
	cmake_src_install

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