From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8971713888F for ; Sun, 25 Oct 2015 16:37:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10347E07F4; Sun, 25 Oct 2015 16:37:43 +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 A4B42E07F4 for ; Sun, 25 Oct 2015 16:37:42 +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 BA5A334074D for ; Sun, 25 Oct 2015 16:37:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D11A18D6 for ; Sun, 25 Oct 2015 16:37:39 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1445791040.2a055dd9a9983472e9fbde321a8fc31f3e1abd17.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-chemistry/wxmacmolplt/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-chemistry/wxmacmolplt/wxmacmolplt-7.5-r1.ebuild X-VCS-Directories: sci-chemistry/wxmacmolplt/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 2a055dd9a9983472e9fbde321a8fc31f3e1abd17 X-VCS-Branch: master Date: Sun, 25 Oct 2015 16:37:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e362cdf3-087c-4ced-aab3-07bf58f76771 X-Archives-Hash: bcda504d83d62220bbb9dafe8275afc6 commit: 2a055dd9a9983472e9fbde321a8fc31f3e1abd17 Author: Pacho Ramos gentoo org> AuthorDate: Sun Oct 25 16:37:20 2015 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sun Oct 25 16:37:20 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a055dd9 sci-chemistry/wxmacmolplt: Support wxGTK:3.0 Package-Manager: portage-2.2.23 .../wxmacmolplt/wxmacmolplt-7.5-r1.ebuild | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) 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 0000000..b0352c5 --- /dev/null +++ b/sci-chemistry/wxmacmolplt/wxmacmolplt-7.5-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2014 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://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 + 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;" +}