commit:     d418302f5aefc67ecb09aa6b8022e046d1ea4e27
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Tue Aug  6 16:55:55 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Oct 10 20:22:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d418302f

games-misc/gtklife: add 5.3

Closes: https://bugs.gentoo.org/898982
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/37997
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 games-misc/gtklife/Manifest           |  1 +
 games-misc/gtklife/gtklife-5.3.ebuild | 47 +++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/games-misc/gtklife/Manifest b/games-misc/gtklife/Manifest
index d6db74553db0..63604814da0d 100644
--- a/games-misc/gtklife/Manifest
+++ b/games-misc/gtklife/Manifest
@@ -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

diff --git a/games-misc/gtklife/gtklife-5.3.ebuild 
b/games-misc/gtklife/gtklife-5.3.ebuild
new file mode 100644
index 000000000000..cfe71dab0c3f
--- /dev/null
+++ b/games-misc/gtklife/gtklife-5.3.ebuild
@@ -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
+}

Reply via email to