public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/chimera-bin/
Date: Sat, 18 Jan 2014 07:38:50 +0000 (UTC)	[thread overview]
Message-ID: <1390030714.d7715040619e35925eb7f0a053e92aacae1d5d15.jlec@gentoo> (raw)

commit:     d7715040619e35925eb7f0a053e92aacae1d5d15
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 09:21:14 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 18 07:38:34 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=d7715040

sci-chemistry/chimera-bin: Version BUmp, #498154

Package-Manager: portage-2.2.8

---
 sci-chemistry/chimera-bin/ChangeLog                |  7 +-
 sci-chemistry/chimera-bin/chimera-bin-1.8.1.ebuild | 94 ++++++++++++++++++++++
 2 files changed, 100 insertions(+), 1 deletion(-)

diff --git a/sci-chemistry/chimera-bin/ChangeLog b/sci-chemistry/chimera-bin/ChangeLog
index 734fbb8..622652c 100644
--- a/sci-chemistry/chimera-bin/ChangeLog
+++ b/sci-chemistry/chimera-bin/ChangeLog
@@ -1,7 +1,12 @@
 # ChangeLog for sci-chemistry/chimera-bin
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*chimera-bin-1.8.1 (16 Jan 2014)
+
+  16 Jan 2014; Justin Lecher <jlec@gentoo.org> +chimera-bin-1.8.1.ebuild:
+  Version BUmp, #498154
+
 *chimera-bin-1.8 (16 Aug 2013)
 
   16 Aug 2013; Justin Lecher <jlec@gentoo.org> chimera-bin-1.6.2.ebuild,

diff --git a/sci-chemistry/chimera-bin/chimera-bin-1.8.1.ebuild b/sci-chemistry/chimera-bin/chimera-bin-1.8.1.ebuild
new file mode 100644
index 0000000..07734d6
--- /dev/null
+++ b/sci-chemistry/chimera-bin/chimera-bin-1.8.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="An extensible Molecular Modelling System"
+HOMEPAGE="http://www.cgl.ucsf.edu/chimera"
+SRC_URI="
+	amd64? ( chimera-${PV}-linux_x86_64.bin )
+	x86? ( chimera-${PV}-linux.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:1.2
+	media-libs/tiff
+	media-libs/tiff:3
+	sci-libs/hdf5
+	sys-devel/gcc[openmp,fortran]
+	virtual/jpeg
+	virtual/glu
+	virtual/opengl
+	www-apps/swish-e
+	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 <media-libs/mesa-8 )"
+
+S="${WORKDIR}"
+
+RESTRICT="fetch strip"
+
+QA_PREBUILT="opt/.*"
+
+pkg_nofetch() {
+	elog "Please visit"
+	elog "http://www.cgl.ucsf.edu/chimera/download.html"
+	elog "and download ${A} into ${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:[~2014-01-18  7:38 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-18  7:38 Justin Lecher [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
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
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=1390030714.d7715040619e35925eb7f0a053e92aacae1d5d15.jlec@gentoo \
    --to=jlec@gentoo.org \
    --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