games-misc/gtklife: add 5.3

Closes: https://bugs.gentoo.org/898982
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/37997
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2024-08-06 18:55:55 +02:00
committed by Conrad Kostecki
parent 525708d22e
commit d418302f5a
2 changed files with 48 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST gtklife-5.2.tar.gz 808937 BLAKE2B c6eb8e8fac94db2872a83060ed1b5fc96bb097dc2e43e90b0b82acdc65e36774e9e655a4cd523693cbe6f0d8bf8646b3fbd3fa7ea4fc01e9d60b5173d1199be9 SHA512 3c40368fbfbf3092c5f8976ed797858a50d67044c5ef029ff52aab911d04899e3f09f564c883905fa23ee5b3c313ef129094affe533e6fc795071f5a18bca3e5
DIST gtklife-5.3.tar.gz 808938 BLAKE2B d9e52486f86e4ea169b04877e7e4e9cdcbb770114c2d555d77829f396f627404aad95cbbbb70d58b4fee887749d490023952bd4770fd70785de6319d96c932ea SHA512 7007a322edc5ecbbe115258d933d07d2ab4ed9e288a25efe0103078d6ac5fe26485777d9922d958a4ff86d2e9b811ea1c0e576110548936edc2c89a3a1ee12a9

View File

@@ -0,0 +1,47 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools desktop xdg
DESCRIPTION="Conway's Life simulator for Unix"
HOMEPAGE="https://homeforaday.org/gtklife/"
SRC_URI="https://homeforaday.org/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~x86"
RDEPEND="
dev-libs/glib:2
x11-libs/gtk+:2
x11-libs/libX11"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_prepare(){
default
eautoreconf
}
src_configure() {
local myeconfargs=(
--with-gtk2
--with-docdir=/usr/share/doc/${PF}/html
)
econf "${myeconfargs[@]}"
}
src_install() {
dobin ${PN}
insinto /usr/share/${PN}
doins -r graphics patterns
newicon -s 48 icon_48x48.png ${PN}.png
make_desktop_entry ${PN} GtkLife
dodoc -r doc/*
dodoc AUTHORS README NEWS
}