public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/golly/
Date: Fri, 20 Jan 2023 23:19:58 +0000 (UTC)	[thread overview]
Message-ID: <1674256794.81b2fcc4ef99f828f27fc5d2621bd89f03ba6558.xgqt@gentoo> (raw)

commit:     81b2fcc4ef99f828f27fc5d2621bd89f03ba6558
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 20 23:10:39 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Jan 20 23:19:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81b2fcc4

app-misc/golly: bump to 4.2

Bug: https://bugs.gentoo.org/577030
Closes: https://bugs.gentoo.org/890330
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-misc/golly/Manifest         |  1 +
 app-misc/golly/golly-4.2.ebuild | 70 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/app-misc/golly/Manifest b/app-misc/golly/Manifest
index 547f4e8e0b82..8534b248b213 100644
--- a/app-misc/golly/Manifest
+++ b/app-misc/golly/Manifest
@@ -1,2 +1,3 @@
 DIST golly-4.0-src.tar.gz 5579026 BLAKE2B fc6c9d4db80e92635ac466250ca65c5cbe496c668f2fbd583226a2ecd686ac022aa4d47f453628284bceeb16554b91340b442216eab8412506243e30085a3a32 SHA512 3a39e170ceddfa4f8c261a81f7b45039e9cc2aef901915d83d3227231514bf66e254d307802cb0afddd7458722b8cbf2ce527cb9ee84a2710b52bf5bdb15484d
 DIST golly-4.1-src.tar.gz 14877727 BLAKE2B d9cac1250901a39d6a360b527c6f4872fc78d0426ea255b9f9129136b938a6655ff59f8c5b0204fd44f4ac0ae76e307c763ddb24a1d8a00bd4e548e4ac2277c3 SHA512 bc050a216a36091f0df42e61a19c34353c6306dc1ae86c194693c85a4489b118435da238b25017bde4b3d31a79e12a6988f7b7da5ae90cfcc9ca0795e66d4a99
+DIST golly-4.2-src.tar.gz 15348982 BLAKE2B 21ebed4c282a77a3f61aafa98936c0bb39b39a7c97505e96fc43ac720bd2eea4cf20996ca28c801f79a46577a0cf99ff60614ce134081605d14ca5972c841d50 SHA512 b9f5cfdfe9b96590411695805dd8b875329c81027fef98dff3f16b832018be2ad3a06583bb64e12fb305268feba2347ef63c4586ff0e645721a8085f04ab382a

diff --git a/app-misc/golly/golly-4.2.ebuild b/app-misc/golly/golly-4.2.ebuild
new file mode 100644
index 000000000000..2cdfc69578d6
--- /dev/null
+++ b/app-misc/golly/golly-4.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+WX_GTK_VER=3.2-gtk3
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit desktop python-single-r1 toolchain-funcs wxwidgets xdg
+
+DESCRIPTION="simulator for Conway's Game of Life and other cellular automata"
+HOMEPAGE="http://golly.sourceforge.net/
+	https://sourceforge.net/projects/golly/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+S="${WORKDIR}/${P}-src"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+	sys-libs/zlib
+	virtual/opengl
+	x11-libs/wxGTK:${WX_GTK_VER}[X,curl,opengl,sdl,tiff]
+	${PYTHON_DEPS}
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-4.0-CFLAGS.patch )
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+	setup-wxwidgets
+}
+
+src_compile() {
+	local -a mymakeopts=(
+		ENABLE_SOUND=yes
+		GOLLYDIR="${EPREFIX}/usr/share/${PN}"
+		PYTHON=${EPYTHON}
+		WX_CONFIG=${WX_CONFIG}
+		AR="$(tc-getAR)"
+		CC="$(tc-getCC)"
+		CXX="$(tc-getCXX)"
+		CXXC="$(tc-getCXX)"
+		RANLIB="$(tc-getRANLIB)"
+	)
+	emake -C gui-wx -f makefile-gtk "${mymakeopts[@]}"
+}
+
+src_install() {
+	# Has no 'make install', let's install files manually.
+	exeinto /usr/bin
+	doexe golly bgolly
+
+	insinto /usr/share/${PN}
+	doins -r Help Patterns Scripts Rules docs
+
+	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:[~2023-01-20 23:20 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-20 23:19 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-04  0:19 [gentoo-commits] repo/gentoo:master commit in: app-misc/golly/ Maciej Barć
2024-07-08 18:22 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ć
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-07-03 22:07 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=1674256794.81b2fcc4ef99f828f27fc5d2621bd89f03ba6558.xgqt@gentoo \
    --to=xgqt@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