diff options
Diffstat (limited to 'sci-chemistry/wxmacmolplt')
-rw-r--r-- | sci-chemistry/wxmacmolplt/Manifest | 6 | ||||
-rw-r--r-- | sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.5-glew.patch | 12 | ||||
-rw-r--r-- | sci-chemistry/wxmacmolplt/metadata.xml | 14 | ||||
-rw-r--r-- | sci-chemistry/wxmacmolplt/wxmacmolplt-7.5-r1.ebuild | 46 |
4 files changed, 78 insertions, 0 deletions
diff --git a/sci-chemistry/wxmacmolplt/Manifest b/sci-chemistry/wxmacmolplt/Manifest new file mode 100644 index 000000000000..e250d7b49fe9 --- /dev/null +++ b/sci-chemistry/wxmacmolplt/Manifest @@ -0,0 +1,6 @@ +AUX wxmacmolplt-7.5-glew.patch 415 SHA256 3c9f186bcc26a8ad055303be34d407d842b2ca51fec604989af11c1c560c068e SHA512 4d15247fbb5c2d9a60e7427b2c2f91d8a8f82cc457c681687f3046eda8e913125a0e041fd5d28744e0b12fe96b71280432b27bcdea5b7a8af7718b2f2d820d9e WHIRLPOOL f988892efd78d4f3ac9dcfdc048434802941731683db7a5d094bee65fd58bba46d884ea305130daba8004ef258edcb90d0e3a3b7cc8ad830fec962a2a3ec7b1c +DIST wxmacmolplt-7.5.tar.gz 1965376 SHA256 df74762d106e4b44bba8ced84d2df78848052fea543937c51297479fa98fc787 SHA512 a1064d5068136b2a91328c7f912ff57d4741081d6d61437e7b4567fbf732917485b391493d637b8892bdad50b539363cfa9c778bb35407a9c0a2bfed20e42bc0 WHIRLPOOL 9cda289232f7323819b7426dc17532396e633514e292e11f71404f380f174c1439b788bffff594f8d9a72cc0ddca48d799a173ff14a9b783edb8bc64f0b4e04c +EBUILD wxmacmolplt-7.5-r1.ebuild 968 SHA256 ef56ef59d7cd05d940d4f71e2292554fff444a7e152b8620f7fc4468dfbfd7b1 SHA512 a9b24d109de51684443e398ee3841ade82f76c1ae4513480cdfb2e71cbad3bdeebf508db38457bee4a6cc811b4a41c643a027c3d9dcd69a2ff0daa532d9ba51e WHIRLPOOL 2444d871fb91c458ff22739b2d089be99130f6f7a14c8255540978c666567d4130176cbaca0ed9aae63333c08d89866849b90603ee7b523ec047fc0c39b651f8 +MISC ChangeLog 3178 SHA256 03ed5a36bf3935d1fb1ae5dddd4d181af606fa78a5d3a194307e15b64a4b6500 SHA512 3dfe6f81a84db20806b65a101b1e95510c9f61436fa043c5e1896701ede03b3b4d3807337cacfec7d584365ffb208c4ec2a3b17163982aadb98f0e472036a60a WHIRLPOOL 9232d61a70647b3f56b0dab1d12d83d26d9c4613ffd48f703ade3d32c61fc669e37d9218823e3c8b959006bb715530ef032abef33ab0c62dc73d734be2bcaf56 +MISC ChangeLog-2015 2459 SHA256 e939561b045dd78a7068e824654c0a8fbd91345b3b8647c10ccdbb6d46bdf283 SHA512 010620184797f97e6adb5c143b7a31b66115097074f99f837656db09fe2a5ba3eebf3825ed18a7582e2f471605af23d24ad691bc005191a174dfbcca42d8425b WHIRLPOOL 5f01f8d40ad67c368023a3a962a53e07d57002b3959cf66965d1f3380842277adca9e4a393d2ae680ad24fefd7831dc2357026def12f6b29c84ed4e2ee46b6e6 +MISC metadata.xml 754 SHA256 e27039d0fdccc5306638f2a20d2f88c9408e0250c7e55db6dd02a4f959343066 SHA512 b5cd355851122f768fe0670518df7d4dbc2bd0a04c057acd95d25c3beedd8483d40dbd95b3d3090904b4e4d6289153731d8b0aa0c4753ee9614f1d693a409486 WHIRLPOOL bfc3572592dac86464690d3bb973ef811cb2ef6f0fb1de46f8effe433315cf44b7c215952b340be7192ac1c217376706c86defe193f04d401b2b40b482c18336 diff --git a/sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.5-glew.patch b/sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.5-glew.patch new file mode 100644 index 000000000000..08986db5bff2 --- /dev/null +++ b/sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.5-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 000000000000..4fa3624287b4 --- /dev/null +++ b/sci-chemistry/wxmacmolplt/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-chemistry@gentoo.org</email> + <name>Gentoo Chemistry Project</name> + </maintainer> + <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.5-r1.ebuild b/sci-chemistry/wxmacmolplt/wxmacmolplt-7.5-r1.ebuild new file mode 100644 index 000000000000..17f69a8387ae --- /dev/null +++ b/sci-chemistry/wxmacmolplt/wxmacmolplt-7.5-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +WX_GTK_VER=3.0 + +inherit autotools eutils wxwidgets + +DESCRIPTION="Chemical 3D graphics program with GAMESS input builder" +HOMEPAGE="http://www.scl.ameslab.gov/MacMolPlt/" +SRC_URI="https://wxmacmolplt.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="flash" + +RDEPEND=" + media-libs/glew:0= + media-libs/mesa + x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] + flash? ( media-libs/ming )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + need-wxwidgets unicode + epatch "${FILESDIR}"/${P}-glew.patch + sed \ + -e "/^dist_doc_DATA/d" \ + -i Makefile.am || die "Failed to disable installation of LICENSE file" + eautoreconf +} + +src_configure() { + econf \ + --with-glew \ + $(use_with flash ming) +} + +src_install() { + default + doicon resources/${PN}.png + make_desktop_entry ${PN} wxMacMolPlt ${PN} "Science;DataVisualization;" +} |