public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Horea Christian" <horea.christ@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/chimera-bin/
Date: Mon, 28 Sep 2020 08:13:44 +0000 (UTC)	[thread overview]
Message-ID: <1601280713.6e6a05ff1bc60fd9ec22a6805c7afd6429730ceb.chymera@gentoo> (raw)

commit:     6e6a05ff1bc60fd9ec22a6805c7afd6429730ceb
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Mon Sep 28 08:11:53 2020 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Mon Sep 28 08:11:53 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6e6a05ff

sci-chemistry/chimera-bin: version bump 1.14

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 sci-chemistry/chimera-bin/chimera-bin-1.14.ebuild | 92 +++++++++++++++++++++++
 1 file changed, 92 insertions(+)

diff --git a/sci-chemistry/chimera-bin/chimera-bin-1.14.ebuild b/sci-chemistry/chimera-bin/chimera-bin-1.14.ebuild
new file mode 100644
index 000000000..33f2301fd
--- /dev/null
+++ b/sci-chemistry/chimera-bin/chimera-bin-1.14.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils
+
+DESCRIPTION="An extensible Molecular Modelling System"
+HOMEPAGE="http://www.cgl.ucsf.edu/chimera"
+SRC_URI="chimera-${PV}-linux_x86_64.bin"
+
+SLOT="0"
+LICENSE="chimera"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND="prefix? ( dev-util/patchelf )"
+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
+	sci-libs/xdrfile
+	sys-devel/gcc[openmp,fortran]
+	virtual/jpeg
+	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"
+
+S="${WORKDIR}"
+
+RESTRICT="fetch strip"
+
+QA_PREBUILT="opt/.*"
+
+pkg_nofetch() {
+	elog "Please visit"
+	elog "http://www.cgl.ucsf.edu/chimera/download.html"
+	elog "or"
+	elog "http://www.cgl.ucsf.edu/chimera/olddownload.html"
+	elog "and download ${A} into your DISTDIR"
+}
+
+src_unpack() {
+	cp "${DISTDIR}"/${A} ${A}.zip
+	unzip ${A}.zip || die
+}
+
+src_install() {
+	chmod +x ./chimera.bin
+	dodir /opt/
+	./chimera.bin -d foo || die
+	doicon foo/chimeraIcon.png
+	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
+
+	make_desktop_entry "${EPREFIX}/opt/bin/chimera" Chimera chimeraIcon
+
+	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
+}


             reply	other threads:[~2020-09-28  8:13 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-28  8:13 Horea Christian [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-25 11:18 [gentoo-commits] proj/sci:master commit in: sci-chemistry/chimera-bin/ Andrew Ammerlaan
2021-02-01  5:37 Andrew Ammerlaan
2021-01-29 11:49 Andrew Ammerlaan
2021-01-29 11:46 Andrew Ammerlaan
2021-01-29 11:40 Andrew Ammerlaan
2021-01-29 11:40 Andrew Ammerlaan
2020-12-31 11:59 Aisha Tammy
2020-09-28  8:13 Horea Christian
2016-11-11 19:13 Alexey Shvetsov
2015-11-03 14:49 Justin Lecher
2015-10-10 14:11 Justin Lecher
2014-09-15  6:32 Justin Lecher
2014-06-27  9:53 Alexey Shvetsov
2014-01-18  7:39 Justin Lecher
2014-01-18  7:38 Justin Lecher
2013-08-19 23:33 Sebastien Fabbro
2012-11-14 14:41 Justin Lecher
2012-11-14 14:09 Justin Lecher
2012-09-21  6:03 Justin Lecher
2012-09-21  6:00 Justin Lecher
2012-09-20 12:39 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1601280713.6e6a05ff1bc60fd9ec22a6805c7afd6429730ceb.chymera@gentoo \
    --to=horea.christ@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox