From 702a6b6aec4d7af6e39b6a44ccb5b8b5350b671e Mon Sep 17 00:00:00 2001 From: Reinis Danne Date: Tue, 12 Jan 2016 16:27:26 +0200 Subject: sci-chemistry/wxmacmolplt: Version bump Upstream has moved to GitHub. --- sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.1.ebuild | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.1.ebuild (limited to 'sci-chemistry/wxmacmolplt/wxmacmolplt-7.6.1.ebuild') 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 000000000..62a1a4cd7 --- /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;" +} -- cgit v1.2.3-65-gdbad