* [gentoo-commits] proj/sci:master commit in: sci-chemistry/chimera/
@ 2023-04-27 23:17 Pacho Ramos
0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2023-04-27 23:17 UTC (permalink / raw
To: gentoo-commits
commit: c99319166709ae3b673c6976d3f8bd7e6ef44fb2
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 27 13:14:27 2023 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu Apr 27 23:15:21 2023 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c9931916
sci-chemistry/chimera: new package, add 1.17.1
By the way, as chimera-bin was dropped, use a non "-bin" name as there is no
source version for this
https://devmanual.gentoo.org/ebuild-writing/file-format/index.html#binary-packages
Closes: https://bugs.gentoo.org/903559
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
sci-chemistry/chimera/chimera-1.17.1.ebuild | 93 +++++++++++++++++++++++++++++
sci-chemistry/chimera/metadata.xml | 12 ++++
2 files changed, 105 insertions(+)
diff --git a/sci-chemistry/chimera/chimera-1.17.1.ebuild b/sci-chemistry/chimera/chimera-1.17.1.ebuild
new file mode 100644
index 000000000..6cb958a5f
--- /dev/null
+++ b/sci-chemistry/chimera/chimera-1.17.1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit desktop xdg
+
+DESCRIPTION="Next generation molecular visualization program from RBVI"
+HOMEPAGE="https://www.cgl.ucsf.edu/chimerax/"
+SRC_URI="chimera-${PV}-linux_x86_64.bin
+ fetch+http://svn.cgl.ucsf.edu/svn/chimera/trunk/icons/chimera/Chimera512.png"
+
+SLOT="0"
+LICENSE="chimera"
+KEYWORDS="~amd64 ~x86"
+
+RESTRICT="fetch mirror strip"
+QA_PREBUILT="*"
+
+DEPEND=""
+BDEPEND=""
+RDEPEND="
+ dev-lang/tcl
+ dev-lang/tk
+ dev-libs/expat
+ dev-libs/libotf
+ dev-libs/openssl:0
+ dev-libs/libpcre
+ sys-libs/zlib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/ftgl
+ media-libs/libpng
+ media-libs/tiff
+ sci-libs/hdf5
+ sys-devel/gcc[openmp,fortran]
+ media-libs/libjpeg-turbo
+ virtual/glu
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libICE
+ x11-libs/libXext
+ x11-libs/libXft
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXrender
+ x11-libs/libSM
+ x11-libs/libXt
+ x11-libs/libGLw
+ virtual/libcrypt:=
+"
+
+S="${WORKDIR}"
+
+pkg_nofetch() {
+ elog "Please visit"
+ elog "https://www.cgl.ucsf.edu/chimera/download.html"
+ elog "and download chimera-${PV}-linux_x86_64.bin into your DISTDIR"
+}
+
+src_unpack() {
+ cp "${DISTDIR}"/chimera-${PV}-linux_x86_64.bin chimera-${PV}-linux_x86_64.bin.zip
+ unzip chimera-${PV}-linux_x86_64.bin.zip || die
+}
+
+src_install() {
+ chmod +x ./chimera.bin
+ dodir /opt/
+ ./chimera.bin -d foo || die
+ newicon "${DISTDIR}"/Chimera512.png Chimera.png
+ make_desktop_entry "${EPREFIX}/opt/bin/chimera" Chimera Chimera
+ mv foo "${ED}/opt/${PN}" || die
+
+ cat >> "${T}"/chimera <<- EOF
+ #!${EPREFX}/bin/bash
+
+ export PATH="${EPREFIX}/opt/${PN}/bin:\${PATH}"
+ "${EPREFIX}/opt/${PN}/bin/chimera" \$@
+ EOF
+
+ exeinto /opt/bin/
+ doexe "${T}"/chimera
+
+ # point the symlink to the correct location
+ rm "${ED}/opt/chimera/include/ft2build.h" || die
+ dosym ../../../usr/include/freetype2/ft2build.h opt/chimera/include/ft2build.h
+
+ if use prefix; then
+ local i
+ for i in "${ED}"/opt/${PN}/bin/{tiffcp,povray,al2co} "${ED}"/opt/${PN}/lib/*.so; do
+ patchelf --set-rpath "${EPREFIX}/usr/lib:${EPREFIX}/opt/${PN}/lib" "${i}" || die
+ done
+ fi
+}
diff --git a/sci-chemistry/chimera/metadata.xml b/sci-chemistry/chimera/metadata.xml
new file mode 100644
index 000000000..5c83ce208
--- /dev/null
+++ b/sci-chemistry/chimera/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>pacho@gentoo.org</email>
+ <name>Pacho Ramos</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci-chemistry@gentoo.org</email>
+ <name>Gentoo Chemistry Project</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/chimera/
@ 2023-05-04 12:04 Pacho Ramos
0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2023-05-04 12:04 UTC (permalink / raw
To: gentoo-commits
commit: 228413e53ddf1e03f63b120f31fda54c4957c86e
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu May 4 12:04:46 2023 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu May 4 12:04:46 2023 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=228413e5
sci-chemistry/chimera: update HOMEPAGE
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
sci-chemistry/chimera/chimera-1.17.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-chemistry/chimera/chimera-1.17.1.ebuild b/sci-chemistry/chimera/chimera-1.17.1.ebuild
index 6cb958a5f..919350ac9 100644
--- a/sci-chemistry/chimera/chimera-1.17.1.ebuild
+++ b/sci-chemistry/chimera/chimera-1.17.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
inherit desktop xdg
DESCRIPTION="Next generation molecular visualization program from RBVI"
-HOMEPAGE="https://www.cgl.ucsf.edu/chimerax/"
+HOMEPAGE="https://www.cgl.ucsf.edu/chimera/"
SRC_URI="chimera-${PV}-linux_x86_64.bin
fetch+http://svn.cgl.ucsf.edu/svn/chimera/trunk/icons/chimera/Chimera512.png"
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-chemistry/chimera/
@ 2023-10-19 14:25 Pacho Ramos
0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2023-10-19 14:25 UTC (permalink / raw
To: gentoo-commits
commit: 44e946f5745557c6147af42882099eabcc97ebd4
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 19 14:22:10 2023 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu Oct 19 14:22:10 2023 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=44e946f5
sci-chemistry/chimera: add 1.17.3
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
sci-chemistry/chimera/chimera-1.17.3.ebuild | 93 +++++++++++++++++++++++++++++
1 file changed, 93 insertions(+)
diff --git a/sci-chemistry/chimera/chimera-1.17.3.ebuild b/sci-chemistry/chimera/chimera-1.17.3.ebuild
new file mode 100644
index 000000000..4fdafd361
--- /dev/null
+++ b/sci-chemistry/chimera/chimera-1.17.3.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit desktop xdg
+
+DESCRIPTION="Next generation molecular visualization program from RBVI"
+HOMEPAGE="https://www.cgl.ucsf.edu/chimera/"
+SRC_URI="${P}-linux_x86_64.bin
+ mirror+https://dev.gentoo.org/~pacho/${PN}/Chimera512.png"
+
+SLOT="0"
+LICENSE="chimera"
+KEYWORDS="~amd64 ~x86"
+
+RESTRICT="fetch mirror strip"
+QA_PREBUILT="*"
+
+DEPEND=""
+BDEPEND=""
+RDEPEND="
+ dev-lang/tcl
+ dev-lang/tk
+ dev-libs/expat
+ dev-libs/libotf
+ dev-libs/openssl:0
+ dev-libs/libpcre
+ sys-libs/zlib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/ftgl
+ media-libs/libpng
+ media-libs/tiff
+ sci-libs/hdf5
+ sys-devel/gcc[openmp,fortran]
+ media-libs/libjpeg-turbo
+ virtual/glu
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libICE
+ x11-libs/libXext
+ x11-libs/libXft
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXrender
+ x11-libs/libSM
+ x11-libs/libXt
+ x11-libs/libGLw
+ virtual/libcrypt:=
+"
+
+S="${WORKDIR}"
+
+pkg_nofetch() {
+ elog "Please visit"
+ elog "https://www.cgl.ucsf.edu/chimera/download.html"
+ elog "and download ${P}-linux_x86_64.bin into your DISTDIR"
+}
+
+src_unpack() {
+ cp "${DISTDIR}"/${P}-linux_x86_64.bin ${P}-linux_x86_64.bin.zip
+ unzip ${P}-linux_x86_64.bin.zip || die
+}
+
+src_install() {
+ chmod +x ./chimera.bin
+ dodir /opt/
+ ./chimera.bin -d foo || die
+ newicon "${DISTDIR}"/Chimera512.png Chimera.png
+ make_desktop_entry "${EPREFIX}/opt/bin/chimera" Chimera Chimera
+ mv foo "${ED}/opt/${PN}" || die
+
+ cat >> "${T}"/chimera <<- EOF
+ #!${EPREFX}/bin/bash
+
+ export PATH="${EPREFIX}/opt/${PN}/bin:\${PATH}"
+ "${EPREFIX}/opt/${PN}/bin/chimera" \$@
+ EOF
+
+ exeinto /opt/bin/
+ doexe "${T}"/chimera
+
+ # point the symlink to the correct location
+ rm "${ED}/opt/chimera/include/ft2build.h" || die
+ dosym ../../../usr/include/freetype2/ft2build.h opt/chimera/include/ft2build.h
+
+ if use prefix; then
+ local i
+ for i in "${ED}"/opt/${PN}/bin/{tiffcp,povray,al2co} "${ED}"/opt/${PN}/lib/*.so; do
+ patchelf --set-rpath "${EPREFIX}/usr/lib:${EPREFIX}/opt/${PN}/lib" "${i}" || die
+ done
+ fi
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-10-19 14:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-04 12:04 [gentoo-commits] proj/sci:master commit in: sci-chemistry/chimera/ Pacho Ramos
-- strict thread matches above, loose matches on Subject: below --
2023-10-19 14:25 Pacho Ramos
2023-04-27 23:17 Pacho Ramos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox