sci-chemistry/vesta-bin: new package, add 3.5.8

Signed-off-by: Patrick J Taylor <patrick.joseph.taylor@gmail.com>
This commit is contained in:
Patrick J Taylor
2022-09-11 00:37:28 +01:00
parent 4dcefd003b
commit d034108713
4 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST VESTA-gtk3.tar.bz2 24963082 BLAKE2B e3f32358c841ba3dadcb95df68385ef7bd3d004abdd4aad67ad170b04c252318bf49c8bf52eed505277342df22d59d80a1e68440d248c52d08fb12c870c519a2 SHA512 d6ec6ed11a173b899b8d29da0b727f454272e5b3127544c1992a0a8a5a9d4318b0e021230beddd0b43b92cdd5a077a1394dc987dd9dae1b40f00e8ebddef9843

View File

@@ -0,0 +1,8 @@
[Desktop Entry]
Name=VESTA
Type=Application
Comment=For the visualisation of molecular and crystal structures.
Exec=VESTA
TryExec=VESTA
Icon=/usr/share/icons/hicolor/128x128/apps/VESTA.png
Categories=Science;

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>patrick.joseph.taylor@gmail.com</email>
<name>Patrick J Taylor</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg
DESCRIPTION="Visualisation for Electronic and STructural Analysis."
HOMEPAGE="https://jp-minerals.org/vesta/en/"
SRC_URI="https://jp-minerals.org/vesta/archives/${PV}/VESTA-gtk3.tar.bz2"
S="${WORKDIR}/VESTA-gtk3"
LICENSE="VESTA"
SLOT="0"
KEYWORDS="~amd64"
# As of 3.5.6, wayland support required for gtk even when running on xorg.
RDEPEND=">=x11-libs/gtk+-3.24.34[wayland]
>=virtual/glu-9.0-r2
>=virtual/jdk-17"
RESTRICT="strip"
src_install() {
insinto /opt/VESTA
doins -r ${S}/*
fperms +x /opt/VESTA/VESTA
fperms +x /opt/VESTA/VESTA-gui
domenu "${FILESDIR}/VESTA.desktop"
newicon -s 128x128 ${D}/opt/VESTA/img/logo.png VESTA.png
dosym /opt/VESTA/libVESTA.so /usr/lib64/libVESTA.so
dosym /opt/VESTA/VESTA-gui /usr/bin/VESTA
}