1 |
commit: d03410871366d089e0888d0743dd438ce4a0f85b |
2 |
Author: Patrick J Taylor <patrick.joseph.taylor <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Sep 10 23:37:28 2022 +0000 |
4 |
Commit: Patrick Taylor <patrick.joseph.taylor <AT> gmail <DOT> com> |
5 |
CommitDate: Sat Sep 10 23:37:28 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0341087 |
7 |
|
8 |
sci-chemistry/vesta-bin: new package, add 3.5.8 |
9 |
|
10 |
Signed-off-by: Patrick J Taylor <patrick.joseph.taylor <AT> gmail.com> |
11 |
|
12 |
sci-chemistry/vesta-bin/Manifest | 1 + |
13 |
sci-chemistry/vesta-bin/files/VESTA.desktop | 8 ++++++ |
14 |
sci-chemistry/vesta-bin/metadata.xml | 8 ++++++ |
15 |
sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild | 40 ++++++++++++++++++++++++++ |
16 |
4 files changed, 57 insertions(+) |
17 |
|
18 |
diff --git a/sci-chemistry/vesta-bin/Manifest b/sci-chemistry/vesta-bin/Manifest |
19 |
new file mode 100644 |
20 |
index 000000000..eddda12fc |
21 |
--- /dev/null |
22 |
+++ b/sci-chemistry/vesta-bin/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST VESTA-gtk3.tar.bz2 24963082 BLAKE2B e3f32358c841ba3dadcb95df68385ef7bd3d004abdd4aad67ad170b04c252318bf49c8bf52eed505277342df22d59d80a1e68440d248c52d08fb12c870c519a2 SHA512 d6ec6ed11a173b899b8d29da0b727f454272e5b3127544c1992a0a8a5a9d4318b0e021230beddd0b43b92cdd5a077a1394dc987dd9dae1b40f00e8ebddef9843 |
25 |
|
26 |
diff --git a/sci-chemistry/vesta-bin/files/VESTA.desktop b/sci-chemistry/vesta-bin/files/VESTA.desktop |
27 |
new file mode 100644 |
28 |
index 000000000..240692b76 |
29 |
--- /dev/null |
30 |
+++ b/sci-chemistry/vesta-bin/files/VESTA.desktop |
31 |
@@ -0,0 +1,8 @@ |
32 |
+[Desktop Entry] |
33 |
+Name=VESTA |
34 |
+Type=Application |
35 |
+Comment=For the visualisation of molecular and crystal structures. |
36 |
+Exec=VESTA |
37 |
+TryExec=VESTA |
38 |
+Icon=/usr/share/icons/hicolor/128x128/apps/VESTA.png |
39 |
+Categories=Science; |
40 |
|
41 |
diff --git a/sci-chemistry/vesta-bin/metadata.xml b/sci-chemistry/vesta-bin/metadata.xml |
42 |
new file mode 100644 |
43 |
index 000000000..50dcf2837 |
44 |
--- /dev/null |
45 |
+++ b/sci-chemistry/vesta-bin/metadata.xml |
46 |
@@ -0,0 +1,8 @@ |
47 |
+<?xml version="1.0" encoding="UTF-8"?> |
48 |
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'> |
49 |
+<pkgmetadata> |
50 |
+ <maintainer type="person"> |
51 |
+ <email>patrick.joseph.taylor@×××××.com</email> |
52 |
+ <name>Patrick J Taylor</name> |
53 |
+ </maintainer> |
54 |
+</pkgmetadata> |
55 |
|
56 |
diff --git a/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild |
57 |
new file mode 100644 |
58 |
index 000000000..38cf7d8a9 |
59 |
--- /dev/null |
60 |
+++ b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild |
61 |
@@ -0,0 +1,40 @@ |
62 |
+# Copyright 1999-2022 Gentoo Authors |
63 |
+# Distributed under the terms of the GNU General Public License v2 |
64 |
+ |
65 |
+EAPI=8 |
66 |
+ |
67 |
+inherit desktop xdg |
68 |
+ |
69 |
+DESCRIPTION="Visualisation for Electronic and STructural Analysis." |
70 |
+ |
71 |
+HOMEPAGE="https://jp-minerals.org/vesta/en/" |
72 |
+ |
73 |
+SRC_URI="https://jp-minerals.org/vesta/archives/${PV}/VESTA-gtk3.tar.bz2" |
74 |
+ |
75 |
+S="${WORKDIR}/VESTA-gtk3" |
76 |
+ |
77 |
+LICENSE="VESTA" |
78 |
+ |
79 |
+SLOT="0" |
80 |
+ |
81 |
+KEYWORDS="~amd64" |
82 |
+ |
83 |
+# As of 3.5.6, wayland support required for gtk even when running on xorg. |
84 |
+RDEPEND=">=x11-libs/gtk+-3.24.34[wayland] |
85 |
+ >=virtual/glu-9.0-r2 |
86 |
+ >=virtual/jdk-17" |
87 |
+ |
88 |
+RESTRICT="strip" |
89 |
+ |
90 |
+src_install() { |
91 |
+ insinto /opt/VESTA |
92 |
+ doins -r ${S}/* |
93 |
+ fperms +x /opt/VESTA/VESTA |
94 |
+ fperms +x /opt/VESTA/VESTA-gui |
95 |
+ |
96 |
+ domenu "${FILESDIR}/VESTA.desktop" |
97 |
+ newicon -s 128x128 ${D}/opt/VESTA/img/logo.png VESTA.png |
98 |
+ |
99 |
+ dosym /opt/VESTA/libVESTA.so /usr/lib64/libVESTA.so |
100 |
+ dosym /opt/VESTA/VESTA-gui /usr/bin/VESTA |
101 |
+} |