summaryrefslogtreecommitdiff
path: root/games-misc/gtklife
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-misc/gtklife
reinit the tree, so we can have metadata
Diffstat (limited to 'games-misc/gtklife')
-rw-r--r--games-misc/gtklife/Manifest7
-rw-r--r--games-misc/gtklife/files/gtklife-5.1-link.patch20
-rw-r--r--games-misc/gtklife/gtklife-5.1-r1.ebuild44
-rw-r--r--games-misc/gtklife/gtklife-5.1.ebuild44
-rw-r--r--games-misc/gtklife/metadata.xml8
5 files changed, 123 insertions, 0 deletions
diff --git a/games-misc/gtklife/Manifest b/games-misc/gtklife/Manifest
new file mode 100644
index 000000000000..0b7c8e81e292
--- /dev/null
+++ b/games-misc/gtklife/Manifest
@@ -0,0 +1,7 @@
+AUX gtklife-5.1-link.patch 578 SHA256 73f111a3ef7e2e18e6b3673f87628263bc540d941f3d69274aaf3b99b4501d1b SHA512 2bcfff0164f13dd236edd3d2b88c37aebd79bf6344b7f0108a51b652cf291ea67d9ef4a4b0ccb11bd97a867617b4fb45b0b4668e8014e5c53ebcb345e1937a97 WHIRLPOOL aa1b6a8ae4f767535c5a5b48ef45133dea46317a565900e61bfafaec4c5820b292a40cbb0937086081b156ae91ce4ba1877e4dda5d4057dfe5e4c1288529cf0e
+DIST gtklife-5.1.tar.gz 809542 SHA256 fcf5a6515595d1822291fd6da4fec93dcfb5162cfce48445686ba73ab4a98191 SHA512 b80a2f0fc41583c2905e84e00baf689870c22262a55af25dfc2fe9e914d214f9c01b6800125e68516b63067005d25338ee7edf0c63ee37327479411693840025 WHIRLPOOL 6553956c570bd83d4237c02055d77a82944f30c9a6760c8dd6bbaafbca97633589c94ede839ea7abb4c2e3537856c6733de4fc1f369c8bd56e40361bc6469d27
+EBUILD gtklife-5.1-r1.ebuild 781 SHA256 145ec3a10d2893d6ec9421d1fd9b4204c10036b20261ff50b75e726237d3a158 SHA512 30087cc2ca2b2133a52bbfa0592df47a16ceebdeb6380720f6c50c33209648515c441dba70cc6c22f850affff4f3a06fb7857425c360c0e600d664e41a7862b4 WHIRLPOOL d3a2b8d0de69fd580320207493a3ddc245b52cdd0fb64d61738b100d3e58bda36a8d1e8148acf9b9308b7403285c6dbbd178b3b198814ae972001f8ecd0824c9
+EBUILD gtklife-5.1.ebuild 826 SHA256 b3dd099490fe04e7076f61ee437a0c10aec9a4ff3519ea4971d4be02be1c2069 SHA512 c932c9f37dc2801994cd26d2cb45452495766727355bf1c4df54b5a3802420c356faa5685a73d2855cddb3548866261a91e7b0c5a91b17a502c9ddf4b558e9b0 WHIRLPOOL 2a0029dca8733da94ba08e47ca2b68c04a052c5626f5060fca746f5abac91330ec9129b0c788285be5f7fd4e61c0446909bb864043835b93f7fc35efedb4be55
+MISC ChangeLog 2979 SHA256 ef460e58ddf071c3f6be132304d6d44dfa90a03c3c391132bcd03eb2a6bf022f SHA512 a17bf1680ec285f41e8d242e5801803bce2d165868a315c3bc4c7ef7de0cc1715f3f5d6e073711610d7ab22a3aa5bf53f28b7dea8e06d28b23508a3525608af7 WHIRLPOOL 55fde154ec29c165bc3ef9d78a6bad0b6fed24b1666c74e55424bfdfaea56ddd59d090489576198040ce8f4818e93fbe21aad7afc314ddae57dc9c6dc9b5c5c0
+MISC ChangeLog-2015 2131 SHA256 81db1fbcb9804d19cc6e2bc82c38240a8a3e1f22c0cd3cfec9c8ecd24a9ea872 SHA512 260d19f1bc1d7d9abc79074d918d94a71898cfe1c5ff5d5be23f6dc0beaa10829d9ab2f181b9bfd000bbbd56d50f4f263182a2dafb2034ed4e12e2d4394f92a0 WHIRLPOOL 34af251401b5377bc8c874643298b345934473e1a72301d3e960517c668780728c8e0e99126503c6fadf5a8120c1e9750037bdd9fe0e858a4515966893b5be33
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
diff --git a/games-misc/gtklife/files/gtklife-5.1-link.patch b/games-misc/gtklife/files/gtklife-5.1-link.patch
new file mode 100644
index 000000000000..0971a5d73cc8
--- /dev/null
+++ b/games-misc/gtklife/files/gtklife-5.1-link.patch
@@ -0,0 +1,20 @@
+--- a/Makefile.in 2014-07-24 21:25:09.072431615 +0200
++++ b/Makefile.in 2014-07-24 21:26:34.898037740 +0200
+@@ -22,7 +22,7 @@
+ # Preprocessor and linking flags
+
+ CPPFLAGS:=$(CPPFLAGS) $(GTK_CFLAGS) -DVERSION=\"$(VERSION)\" -DDATADIR=\"$(pkgdatadir)\" -DDOCDIR=\"$(docdir)\"
+-LDFLAGS:=$(LDFLAGS) $(GTK_LIBS)
++LDLIBS:=$(GTK_LIBS) -lX11
+
+ # Object files
+
+@@ -51,7 +51,7 @@
+ $(INSTALL_DATA) doc/* $(docdir)
+
+ gtklife: $(OBJS)
+- $(CC) -o gtklife $(OBJS) $(LDFLAGS)
++ $(CC) -o gtklife $(OBJS) $(LDFLAGS) $(LDLIBS)
+
+ create_lookup: $(CL_OBJS)
+ $(CC) -o create_lookup $(CL_OBJS)
diff --git a/games-misc/gtklife/gtklife-5.1-r1.ebuild b/games-misc/gtklife/gtklife-5.1-r1.ebuild
new file mode 100644
index 000000000000..bca795466a9a
--- /dev/null
+++ b/games-misc/gtklife/gtklife-5.1-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="A Conway's Life simulator for Unix"
+HOMEPAGE="http://ironphoenix.org/tril/gtklife/"
+SRC_URI="http://ironphoenix.org/tril/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/glib:2
+ x11-libs/gtk+:2
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-link.patch
+)
+
+src_configure() {
+ econf \
+ --with-gtk2 \
+ --with-docdir=/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ dobin ${PN}
+
+ insinto /usr/share/${PN}
+ doins -r graphics patterns
+
+ newicon icon_48x48.png ${PN}.png
+ make_desktop_entry ${PN} GtkLife
+
+ dodoc -r doc/*
+ dodoc AUTHORS README NEWS
+}
diff --git a/games-misc/gtklife/gtklife-5.1.ebuild b/games-misc/gtklife/gtklife-5.1.ebuild
new file mode 100644
index 000000000000..00f859feb4d7
--- /dev/null
+++ b/games-misc/gtklife/gtklife-5.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="A Conway's Life simulator for Unix"
+HOMEPAGE="http://ironphoenix.org/tril/gtklife/"
+SRC_URI="http://ironphoenix.org/tril/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 hppa x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ dev-libs/glib:2
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-link.patch
+}
+
+src_configure() {
+ egamesconf \
+ --with-gtk2 \
+ --with-docdir=/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ dogamesbin ${PN}
+
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r graphics patterns
+
+ newicon icon_48x48.png ${PN}.png
+ make_desktop_entry ${PN} GtkLife
+
+ dohtml doc/*
+ dodoc AUTHORS README NEWS
+ prepgamesdirs
+}
diff --git a/games-misc/gtklife/metadata.xml b/games-misc/gtklife/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-misc/gtklife/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+</pkgmetadata>