From: "Reinis Danne" <rei4dan@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/wxmacmolplt/, sci-chemistry/wxmacmolplt/files/
Date: Mon, 22 Oct 2012 08:38:51 +0000 (UTC) [thread overview]
Message-ID: <1350894985.1b506b21a255d13e7e2c31e2298ede54284ff462.rei4dan@gentoo> (raw)
commit: 1b506b21a255d13e7e2c31e2298ede54284ff462
Author: Reinis Danne <rei4dan <AT> gmail <DOT> com>
AuthorDate: Mon Oct 22 08:36:25 2012 +0000
Commit: Reinis Danne <rei4dan <AT> gmail <DOT> com>
CommitDate: Mon Oct 22 08:36:25 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=1b506b21
wxmacmolplt: Version bump to 7.4.3
---
sci-chemistry/wxmacmolplt/ChangeLog | 10 ++++
.../wxmacmolplt/files/wxmacmolplt-7.4.3-glew.patch | 12 +++++
sci-chemistry/wxmacmolplt/metadata.xml | 11 +++++
sci-chemistry/wxmacmolplt/wxmacmolplt-7.4.3.ebuild | 44 ++++++++++++++++++++
4 files changed, 77 insertions(+), 0 deletions(-)
diff --git a/sci-chemistry/wxmacmolplt/ChangeLog b/sci-chemistry/wxmacmolplt/ChangeLog
new file mode 100644
index 0000000..c858c58
--- /dev/null
+++ b/sci-chemistry/wxmacmolplt/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-chemistry/wxmacmolplt
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*wxmacmolplt-7.4.3 (22 Oct 2012)
+
+ 22 Oct 2012; Reinis Danne <rei4dan@gmail.com> +wxmacmolplt-7.4.3.ebuild,
+ +files/wxmacmolplt-7.4.3-glew.patch, +metadata.xml:
+ Bump to 7.4.3.
+
diff --git a/sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.4.3-glew.patch b/sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.4.3-glew.patch
new file mode 100644
index 0000000..08986db
--- /dev/null
+++ b/sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.4.3-glew.patch
@@ -0,0 +1,12 @@
+diff -urN wxmacmolplt-7.4.2.orig/configure.ac wxmacmolplt-7.4.2/configure.ac
+--- wxmacmolplt-7.4.2.orig/configure.ac 2010-12-05 02:48:29.000000000 +0300
++++ wxmacmolplt-7.4.2/configure.ac 2010-12-06 19:30:24.000000000 +0300
+@@ -20,7 +20,7 @@
+ ;;
+ *)
+ HOST=LINUX
+- LIBGL="-lGL -lGLU"
++ LIBGL=`pkg-config --libs glu glew`
+ ;;
+ esac
+ AM_CONDITIONAL(HOST_IS_MSW, [test "x$HOST" == xMSW])
diff --git a/sci-chemistry/wxmacmolplt/metadata.xml b/sci-chemistry/wxmacmolplt/metadata.xml
new file mode 100644
index 0000000..fb69a7d
--- /dev/null
+++ b/sci-chemistry/wxmacmolplt/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-chemistry</herd>
+<longdescription>
+wxMacMolPlt is a program for plotting 3D molecular structures and normal modes (vibrations), various orbitals and electron density maps. It reads a variety of file formats including any GAMESS input, log or IRC file directly to create animations. It has a simple GAMESS input (.inp) builder and a primitive molecule builder.
+</longdescription>
+<use>
+ <flag name='flash'>Add support for flash movie generation using <pkg>media-libs/ming</pkg></flag>
+</use>
+</pkgmetadata>
diff --git a/sci-chemistry/wxmacmolplt/wxmacmolplt-7.4.3.ebuild b/sci-chemistry/wxmacmolplt/wxmacmolplt-7.4.3.ebuild
new file mode 100644
index 0000000..8b300c9
--- /dev/null
+++ b/sci-chemistry/wxmacmolplt/wxmacmolplt-7.4.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+WX_GTK_VER=2.8
+
+inherit base eutils autotools wxwidgets
+
+DESCRIPTION="Chemical 3D graphics program with GAMESS input builder"
+HOMEPAGE="http://www.scl.ameslab.gov/MacMolPlt/"
+SRC_URI="http://www.scl.ameslab.gov/MacMolPlt/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="flash"
+
+RDEPEND="
+ >=media-libs/glew-1.5.3
+ media-libs/mesa
+ x11-libs/wxGTK:2.8[X,opengl]
+ flash? ( media-libs/ming )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-glew.patch
+ sed -i -e "/^dist_doc_DATA/d" Makefile.am \
+ || die "Failed to disable installation of LICENSE file"
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-glew \
+ $(use_with flash ming)
+}
+
+src_install() {
+ emake DESTDIR="${ED}" install || die "install failed"
+ doicon resources/${PN}.png || die
+ make_desktop_entry ${PN} wxMacMolPlt ${PN} "Science;Education"
+}
next reply other threads:[~2012-10-22 8:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-22 8:38 Reinis Danne [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-01-06 18:33 [gentoo-commits] proj/sci:master commit in: sci-chemistry/wxmacmolplt/, sci-chemistry/wxmacmolplt/files/ Justin Lecher
2016-01-12 14:34 Reinis Danne
2016-01-14 9:54 Justin Lecher
2017-01-29 11:59 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=1350894985.1b506b21a255d13e7e2c31e2298ede54284ff462.rei4dan@gentoo \
--to=rei4dan@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