From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F35A0158087 for ; Wed, 1 Dec 2021 08:54:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B69382BC00F; Wed, 1 Dec 2021 08:54:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 369EB2BC00A for ; Wed, 1 Dec 2021 08:54:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 58351342D7E for ; Wed, 1 Dec 2021 08:54:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 411FA132 for ; Wed, 1 Dec 2021 08:54:11 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1638348826.15eb1454cb24fdc2ac23a5069312528b85d95df1.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/golly/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/golly/Manifest app-misc/golly/golly-4.1.ebuild X-VCS-Directories: app-misc/golly/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 15eb1454cb24fdc2ac23a5069312528b85d95df1 X-VCS-Branch: master Date: Wed, 1 Dec 2021 08:54:11 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 033cd334-57ff-4867-b691-fab90601d16a X-Archives-Hash: ac7175b2d75a524d3c264514c227cb46 commit: 15eb1454cb24fdc2ac23a5069312528b85d95df1 Author: Maciej Barć gentoo org> AuthorDate: Wed Dec 1 08:49:31 2021 +0000 Commit: Maciej Barć gentoo org> CommitDate: Wed Dec 1 08:53:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15eb1454 app-misc/golly: bump to 4.1 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Maciej Barć gentoo.org> app-misc/golly/Manifest | 1 + app-misc/golly/golly-4.1.ebuild | 68 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/app-misc/golly/Manifest b/app-misc/golly/Manifest index 18e55e3d1acc..547f4e8e0b82 100644 --- a/app-misc/golly/Manifest +++ b/app-misc/golly/Manifest @@ -1 +1,2 @@ DIST golly-4.0-src.tar.gz 5579026 BLAKE2B fc6c9d4db80e92635ac466250ca65c5cbe496c668f2fbd583226a2ecd686ac022aa4d47f453628284bceeb16554b91340b442216eab8412506243e30085a3a32 SHA512 3a39e170ceddfa4f8c261a81f7b45039e9cc2aef901915d83d3227231514bf66e254d307802cb0afddd7458722b8cbf2ce527cb9ee84a2710b52bf5bdb15484d +DIST golly-4.1-src.tar.gz 14877727 BLAKE2B d9cac1250901a39d6a360b527c6f4872fc78d0426ea255b9f9129136b938a6655ff59f8c5b0204fd44f4ac0ae76e307c763ddb24a1d8a00bd4e548e4ac2277c3 SHA512 bc050a216a36091f0df42e61a19c34353c6306dc1ae86c194693c85a4489b118435da238b25017bde4b3d31a79e12a6988f7b7da5ae90cfcc9ca0795e66d4a99 diff --git a/app-misc/golly/golly-4.1.ebuild b/app-misc/golly/golly-4.1.ebuild new file mode 100644 index 000000000000..623f94070a39 --- /dev/null +++ b/app-misc/golly/golly-4.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +WX_GTK_VER=3.0-gtk3 +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +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/" +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,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 mymakeopts=( + ENABLE_SOUND=yes + ENABLE_PERL=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. + dobin 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 +}