public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sci-chemistry/vesta-bin/, sci-chemistry/vesta-bin/files/
@ 2022-09-10 23:38 Patrick Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Taylor @ 2022-09-10 23:38 UTC (permalink / raw
  To: gentoo-commits

commit:     d03410871366d089e0888d0743dd438ce4a0f85b
Author:     Patrick J Taylor <patrick.joseph.taylor <AT> gmail <DOT> com>
AuthorDate: Sat Sep 10 23:37:28 2022 +0000
Commit:     Patrick Taylor <patrick.joseph.taylor <AT> gmail <DOT> com>
CommitDate: Sat Sep 10 23:37:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0341087

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

Signed-off-by: Patrick J Taylor <patrick.joseph.taylor <AT> gmail.com>

 sci-chemistry/vesta-bin/Manifest               |  1 +
 sci-chemistry/vesta-bin/files/VESTA.desktop    |  8 ++++++
 sci-chemistry/vesta-bin/metadata.xml           |  8 ++++++
 sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild | 40 ++++++++++++++++++++++++++
 4 files changed, 57 insertions(+)

diff --git a/sci-chemistry/vesta-bin/Manifest b/sci-chemistry/vesta-bin/Manifest
new file mode 100644
index 000000000..eddda12fc
--- /dev/null
+++ b/sci-chemistry/vesta-bin/Manifest
@@ -0,0 +1 @@
+DIST VESTA-gtk3.tar.bz2 24963082 BLAKE2B e3f32358c841ba3dadcb95df68385ef7bd3d004abdd4aad67ad170b04c252318bf49c8bf52eed505277342df22d59d80a1e68440d248c52d08fb12c870c519a2 SHA512 d6ec6ed11a173b899b8d29da0b727f454272e5b3127544c1992a0a8a5a9d4318b0e021230beddd0b43b92cdd5a077a1394dc987dd9dae1b40f00e8ebddef9843

diff --git a/sci-chemistry/vesta-bin/files/VESTA.desktop b/sci-chemistry/vesta-bin/files/VESTA.desktop
new file mode 100644
index 000000000..240692b76
--- /dev/null
+++ b/sci-chemistry/vesta-bin/files/VESTA.desktop
@@ -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;

diff --git a/sci-chemistry/vesta-bin/metadata.xml b/sci-chemistry/vesta-bin/metadata.xml
new file mode 100644
index 000000000..50dcf2837
--- /dev/null
+++ b/sci-chemistry/vesta-bin/metadata.xml
@@ -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>

diff --git a/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
new file mode 100644
index 000000000..38cf7d8a9
--- /dev/null
+++ b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
@@ -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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sci-chemistry/vesta-bin/, sci-chemistry/vesta-bin/files/
@ 2022-09-11  1:10 Patrick Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Taylor @ 2022-09-11  1:10 UTC (permalink / raw
  To: gentoo-commits

commit:     e2c88d95b6cf9b32b65f525119d7cd4ba241c23a
Author:     Patrick J Taylor <patrick.joseph.taylor <AT> gmail <DOT> com>
AuthorDate: Sun Sep 11 01:09:01 2022 +0000
Commit:     Patrick Taylor <patrick.joseph.taylor <AT> gmail <DOT> com>
CommitDate: Sun Sep 11 01:09:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e2c88d95

sci-chemistry/vesta-bin: remove absolute symlink

Signed-off-by: Patrick J Taylor <patrick.joseph.taylor <AT> gmail.com>

 sci-chemistry/vesta-bin/files/VESTA.desktop    | 4 ++--
 sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/sci-chemistry/vesta-bin/files/VESTA.desktop b/sci-chemistry/vesta-bin/files/VESTA.desktop
index 240692b76..8741428db 100644
--- a/sci-chemistry/vesta-bin/files/VESTA.desktop
+++ b/sci-chemistry/vesta-bin/files/VESTA.desktop
@@ -2,7 +2,7 @@
 Name=VESTA
 Type=Application
 Comment=For the visualisation of molecular and crystal structures.
-Exec=VESTA
-TryExec=VESTA
+Exec=/opt/VESTA/VESTA
+TryExec=/opt/VESTA/VESTA
 Icon=/usr/share/icons/hicolor/128x128/apps/VESTA.png
 Categories=Science;

diff --git a/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
index 7969e59ca..65ce1ce48 100644
--- a/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
+++ b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
@@ -36,5 +36,4 @@ src_install() {
 	newicon -s 128x128 "${D}"/opt/VESTA/img/logo.png VESTA.png
 
 	dosym -r /opt/VESTA/libVESTA.so /usr/lib64/libVESTA.so
-	dosym "${EPREFIX}"/opt/VESTA/VESTA /usr/bin/VESTA
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-11  1:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-10 23:38 [gentoo-commits] repo/proj/guru:dev commit in: sci-chemistry/vesta-bin/, sci-chemistry/vesta-bin/files/ Patrick Taylor
  -- strict thread matches above, loose matches on Subject: below --
2022-09-11  1:10 Patrick Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox