Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/golly/
Date: Sat, 27 Jun 2020 21:02:12
Message-Id: 1593291725.2e023c9420fe1e39660698d5c0c5f7492b22bc5f.slyfox@gentoo
1 commit: 2e023c9420fe1e39660698d5c0c5f7492b22bc5f
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 27 19:29:42 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 27 21:02:05 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e023c94
7
8 app-misc/golly: drop unused eclasses
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 app-misc/golly/golly-3.3-r2.ebuild | 51 ++++++++++++++++++++++++++++++++++++++
14 1 file changed, 51 insertions(+)
15
16 diff --git a/app-misc/golly/golly-3.3-r2.ebuild b/app-misc/golly/golly-3.3-r2.ebuild
17 new file mode 100644
18 index 00000000000..9ae4bf4acd8
19 --- /dev/null
20 +++ b/app-misc/golly/golly-3.3-r2.ebuild
21 @@ -0,0 +1,51 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +WX_GTK_VER=3.0
28 +PYTHON_COMPAT=( python2_7 )
29 +
30 +inherit desktop python-single-r1 wxwidgets xdg-utils
31 +
32 +DESCRIPTION="simulator for Conway's Game of Life and other cellular automata"
33 +HOMEPAGE="http://golly.sourceforge.net/"
34 +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
35 +
36 +LICENSE="GPL-2"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86"
39 +IUSE="tiff"
40 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
41 +
42 +DEPEND="virtual/opengl
43 + sys-libs/zlib
44 + x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,tiff?]"
45 +RDEPEND="${DEPEND}
46 + ${PYTHON_DEPS}"
47 +
48 +S=${WORKDIR}/${P}-src
49 +
50 +pkg_setup() {
51 + setup-wxwidgets
52 +}
53 +
54 +src_configure() {
55 + ECONF_SOURCE=gui-wx/configure econf \
56 + --with-wxshared
57 +}
58 +
59 +src_install() {
60 + emake docdir= DESTDIR="${D}" install
61 + dodoc docs/ReadMe.html
62 + newicon --size 32 gui-wx/icons/appicon.xpm ${PN}.xpm
63 + make_desktop_entry ${PN} "Golly" ${PN} "Science"
64 +}
65 +
66 +pkg_postinst() {
67 + xdg_icon_cache_update
68 +}
69 +
70 +pkg_postrm() {
71 + xdg_icon_cache_update
72 +}