commit:     db2814bc296a7d0ecc937c14207deb833939275c
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 17 16:07:41 2015 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Oct 17 16:07:51 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db2814bc

app-misc/golly: This version also supports wxGTK:3.0 finally (#562480)

Package-Manager: portage-2.2.23

 app-misc/golly/golly-2.7-r1.ebuild | 49 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/app-misc/golly/golly-2.7-r1.ebuild 
b/app-misc/golly/golly-2.7-r1.ebuild
new file mode 100644
index 0000000..156ece7
--- /dev/null
+++ b/app-misc/golly/golly-2.7-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+WX_GTK_VER=3.0
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-single-r1 gnome2-utils wxwidgets
+
+DESCRIPTION="simulator for Conway's Game of Life and other cellular automata"
+HOMEPAGE="http://golly.sourceforge.net/";
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-lang/perl
+       sys-libs/zlib
+       x11-libs/wxGTK:${WX_GTK_VER}[X]"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${P}-src
+ECONF_SOURCE=gui-wx/configure
+
+src_configure() {
+       econf --with-perl-shlib="libperl.so"
+}
+
+src_install() {
+       emake docdir= DESTDIR="${D}" install
+       dodoc docs/ReadMe.html
+       newicon --size 32 gui-wx/icons/appicon.xpm ${PN}.xpm
+       make_desktop_entry ${PN} "Golly" ${PN} "Science"
+}
+
+pkg_preinst() {
+       gnome2_icon_savelist
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}

Reply via email to