From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-856874-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AE9501388BF for <garchives@archives.gentoo.org>; Tue, 12 Jan 2016 14:34:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B188121C001; Tue, 12 Jan 2016 14:34:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4491421C001 for <gentoo-commits@lists.gentoo.org>; Tue, 12 Jan 2016 14:34:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1ADF9340AA9 for <gentoo-commits@lists.gentoo.org>; Tue, 12 Jan 2016 14:34:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2D31FCF6 for <gentoo-commits@lists.gentoo.org>; Tue, 12 Jan 2016 14:34:16 +0000 (UTC) From: "Reinis Danne" <rei4dan@gmail.com> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Reinis Danne" <rei4dan@gmail.com> Message-ID: <1452608846.702a6b6aec4d7af6e39b6a44ccb5b8b5350b671e.rei4dan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/wxmacmolplt/, sci-chemistry/wxmacmolplt/files/ X-VCS-Repository: proj/sci X-VCS-Files: sci-chemistry/wxmacmolplt/files/wxmacmolplt-7.5-glew.patch sci-chemistry/wxmacmolplt/metadata.xml sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.1.ebuild X-VCS-Directories: sci-chemistry/wxmacmolplt/files/ sci-chemistry/wxmacmolplt/ X-VCS-Committer: rei4dan X-VCS-Committer-Name: Reinis Danne X-VCS-Revision: 702a6b6aec4d7af6e39b6a44ccb5b8b5350b671e X-VCS-Branch: master Date: Tue, 12 Jan 2016 14:34:16 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a1ff9599-bfbf-4812-9254-5a17b45433f2 X-Archives-Hash: 17bea8fcef39df2e4ab3daf2490abd28 commit: 702a6b6aec4d7af6e39b6a44ccb5b8b5350b671e Author: Reinis Danne <rei4dan <AT> gmail <DOT> com> AuthorDate: Tue Jan 12 14:27:26 2016 +0000 Commit: Reinis Danne <rei4dan <AT> gmail <DOT> com> CommitDate: Tue Jan 12 14:27:26 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=702a6b6a sci-chemistry/wxmacmolplt: Version bump Upstream has moved to GitHub. .../wxmacmolplt/files/wxmacmolplt-7.5-glew.patch | 12 ++++++ sci-chemistry/wxmacmolplt/metadata.xml | 11 +++++ sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.1.ebuild | 47 ++++++++++++++++++++++ 3 files changed, 70 insertions(+) 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 0000000..08986db --- /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 0000000..cd9831e --- /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.6.1.ebuild b/sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.1.ebuild new file mode 100644 index 0000000..62a1a4c --- /dev/null +++ b/sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +WX_GTK_VER=3.0 + +inherit autotools eutils wxwidgets + +DESCRIPTION="Chemical 3D graphics program with GAMESS input builder" +HOMEPAGE="http://brettbode.github.io/wxmacmolplt/" +SRC_URI="https://github.com/brettbode/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="flash" + +RDEPEND=" + media-libs/glew + 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}"/${PN}-7.5-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;" +}