Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
wxmacmolplt: Version bump to 7.4.3
- Loading branch information
Showing
5 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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. | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
DIST wxmacmolplt-7.4.3.tar.gz 1821649 SHA256 f7e9c282d6370983c36fb5121eb5036e9e4044a98fb43bf9e269686846fccee9 SHA512 da2b871a3b134eb5b8ee881f98821f785bb41da2845f92e1c47b8ff6755ab8a3dad8bd04273e8418b08a8d15695b70ec1b36f5005a9d8c50b454ec92d925594c WHIRLPOOL 8d321a8817057f1091baa10f62d6e761a62a784d45c1ecdaab09fb8c40ce657c055b207b39757028182a287be50b5a02cb36e176a2ea790c3193cfd0a6878255 |
12 changes: 12 additions & 0 deletions
12
sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.4.3-glew.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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" | |||
} |