app-misc/golly: drop old 4.1-r1

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2023-09-02 16:29:57 +02:00
parent 701bfb068e
commit c56ceb930e
2 changed files with 0 additions and 68 deletions
-1
View File
@@ -1,2 +1 @@
DIST golly-4.1-src.tar.gz 14877727 BLAKE2B d9cac1250901a39d6a360b527c6f4872fc78d0426ea255b9f9129136b938a6655ff59f8c5b0204fd44f4ac0ae76e307c763ddb24a1d8a00bd4e548e4ac2277c3 SHA512 bc050a216a36091f0df42e61a19c34353c6306dc1ae86c194693c85a4489b118435da238b25017bde4b3d31a79e12a6988f7b7da5ae90cfcc9ca0795e66d4a99
DIST golly-4.2-src.tar.gz 15348982 BLAKE2B 21ebed4c282a77a3f61aafa98936c0bb39b39a7c97505e96fc43ac720bd2eea4cf20996ca28c801f79a46577a0cf99ff60614ce134081605d14ca5972c841d50 SHA512 b9f5cfdfe9b96590411695805dd8b875329c81027fef98dff3f16b832018be2ad3a06583bb64e12fb305268feba2347ef63c4586ff0e645721a8085f04ab382a
-67
View File
@@ -1,67 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
WX_GTK_VER=3.0-gtk3
PYTHON_COMPAT=( python3_{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
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
}