sci-physics/ovito: fix opengl dep

Signed-off-by: Denis Strizhkin <strdenis02@gmail.com>
This commit is contained in:
Denis Strizhkin
2024-07-15 17:12:12 +00:00
parent 19a368a741
commit a710201075
2 changed files with 43 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ Version=1.0
Type=Application
Name=OVITO
Comment=Open Visualization Tool
Exec=ovito
Exec=ovito %F
Icon=ovito
Terminal=false
StartupNotify=false

View File

@@ -0,0 +1,42 @@
# 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[opengl,gui]
dev-qt/qtsvg:6
media-video/ffmpeg
sci-libs/hdf5
sci-libs/netcdf
"
src_configure() {
cmake_src_configure
}
src_install() {
cmake_src_install
domenu "${FILESDIR}/ovito.desktop"
newicon "${DISTDIR}/${ICON}" ovito.png
}