public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/golly/
Date: Fri,  3 Jul 2020 22:07:01 +0000 (UTC)	[thread overview]
Message-ID: <1593814018.1358b7c339533af4059bad30fb09251777831f8b.slyfox@gentoo> (raw)

commit:     1358b7c339533af4059bad30fb09251777831f8b
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  3 22:06:49 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jul  3 22:06:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1358b7c3

app-misc/golly: switch to gtk3-based wxwidgets

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 app-misc/golly/golly-3.3-r3.ebuild | 70 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 70 insertions(+)

diff --git a/app-misc/golly/golly-3.3-r3.ebuild b/app-misc/golly/golly-3.3-r3.ebuild
new file mode 100644
index 00000000000..10240aa63d7
--- /dev/null
+++ b/app-misc/golly/golly-3.3-r3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+WX_GTK_VER=3.0-gtk3
+PYTHON_COMPAT=( python{2_7,3_{7,8,9}} )
+
+inherit autotools desktop python-single-r1 wxwidgets xdg-utils
+
+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="tiff"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="virtual/opengl
+	sys-libs/zlib
+	x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,tiff?]
+	${PYTHON_DEPS}
+"
+
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${P}-src
+
+PATCHES=(
+	"${FILESDIR}"/${P}-nondynamic-python.patch
+	"${FILESDIR}"/${P}-allow-py23-exec.patch
+	"${FILESDIR}"/${P}-glife-py23.patch
+	"${FILESDIR}"/${P}-allow-py3.patch
+)
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+	setup-wxwidgets
+}
+
+src_prepare() {
+	default
+
+	# patches change configure.ac and Makefile.am
+	pushd gui-wx/configure
+		eautoreconf
+	popd
+}
+
+src_configure() {
+	ECONF_SOURCE=gui-wx/configure econf \
+		--with-wxshared
+}
+
+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_postinst() {
+	xdg_icon_cache_update
+}
+
+pkg_postrm() {
+	xdg_icon_cache_update
+}


             reply	other threads:[~2020-07-03 22:07 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-03 22:07 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-08 18:22 [gentoo-commits] repo/gentoo:master commit in: app-misc/golly/ Maciej Barć
2024-06-25 22:03 Sam James
2024-05-25 14:06 Maciej Barć
2024-04-14 15:33 Maciej Barć
2023-09-02 14:30 Maciej Barć
2023-05-05 12:03 Maciej Barć
2023-05-01  7:26 Arthur Zamarin
2023-05-01  1:53 Sam James
2023-01-20 23:19 Maciej Barć
2023-01-20 23:19 Maciej Barć
2022-03-19 23:17 David Seifert
2022-01-31 19:57 Jakov Smolić
2022-01-31 19:57 Jakov Smolić
2021-12-01 23:13 Maciej Barć
2021-12-01  8:54 Maciej Barć
2021-12-01  8:54 Maciej Barć
2021-08-04  9:01 Sergei Trofimovich
2021-05-15 13:58 Sergei Trofimovich
2020-12-16 19:51 Sam James
2020-12-06 17:05 Thomas Deutschmann
2020-11-06 23:49 Sergei Trofimovich
2020-09-06  8:34 Sergei Trofimovich
2020-09-05 16:17 Thomas Deutschmann
2020-09-05 15:19 Sam James
2020-08-06 21:22 Sergei Trofimovich
2020-08-05 14:17 Agostino Sarubbo
2020-08-05 13:53 Agostino Sarubbo
2020-08-03 22:54 Sergei Trofimovich
2020-08-02 12:03 Michał Górny
2020-07-11 12:58 Sergei Trofimovich
2020-06-27 21:02 Sergei Trofimovich
2020-06-27  8:54 Sergei Trofimovich
2020-06-20  8:45 Sergei Trofimovich
2020-03-24  7:06 Sergei Trofimovich
2020-03-24  7:06 Sergei Trofimovich
2020-03-23 23:58 Sergei Trofimovich
2020-02-12  7:57 Agostino Sarubbo
2020-02-12  0:04 Piotr Karbowski
2020-02-11 23:03 Sergei Trofimovich
2020-02-11  9:59 Agostino Sarubbo
2020-02-11  9:52 Agostino Sarubbo
2019-12-09 18:11 Sergei Trofimovich
2019-05-20 18:04 Sergei Trofimovich
2019-05-20 11:29 Mikle Kolyada
2018-11-25 12:11 Sergei Trofimovich
2018-11-25 11:32 Sergei Trofimovich
2017-04-20  7:59 David Seifert
2017-03-04 13:30 Jeroen Roovers
2016-11-27 13:14 Pacho Ramos
2016-11-27 13:14 Pacho Ramos
2016-05-24 19:15 Pacho Ramos
2015-10-17 16:07 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1593814018.1358b7c339533af4059bad30fb09251777831f8b.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox