mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
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:
1
sci-chemistry/vesta-bin/Manifest
Normal file
1
sci-chemistry/vesta-bin/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST VESTA-gtk3.tar.bz2 24963082 BLAKE2B e3f32358c841ba3dadcb95df68385ef7bd3d004abdd4aad67ad170b04c252318bf49c8bf52eed505277342df22d59d80a1e68440d248c52d08fb12c870c519a2 SHA512 d6ec6ed11a173b899b8d29da0b727f454272e5b3127544c1992a0a8a5a9d4318b0e021230beddd0b43b92cdd5a077a1394dc987dd9dae1b40f00e8ebddef9843
|
||||
8
sci-chemistry/vesta-bin/files/VESTA.desktop
Normal file
8
sci-chemistry/vesta-bin/files/VESTA.desktop
Normal 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;
|
||||
8
sci-chemistry/vesta-bin/metadata.xml
Normal file
8
sci-chemistry/vesta-bin/metadata.xml
Normal 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>
|
||||
40
sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
Normal file
40
sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user