Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/nyancat/, games-misc/gtklife/
Date: Tue, 11 Oct 2016 22:59:30
Message-Id: 1476226547.51116b3ebaea7e94ce6f11a3ae15c066ad5aa84d.wizardedit@gentoo
1 commit: 51116b3ebaea7e94ce6f11a3ae15c066ad5aa84d
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 11 21:31:07 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 11 22:55:47 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51116b3e
7
8 games-misc/nyancat: remove deprecated games eclass
9
10 Version bump to 1.5.1
11
12 Also update to EAPI 6
13
14 Gentoo-Bug: https://bugs.gentoo.org/574082
15
16 Package-Manager: portage-2.3.0
17
18 games-misc/gtklife/gtklife-5.1-r1.ebuild | 45 ++++++++++++++++++++++++++++++++
19 games-misc/nyancat/Manifest | 1 +
20 games-misc/nyancat/nyancat-1.5.1.ebuild | 23 ++++++++++++++++
21 3 files changed, 69 insertions(+)
22
23 diff --git a/games-misc/gtklife/gtklife-5.1-r1.ebuild b/games-misc/gtklife/gtklife-5.1-r1.ebuild
24 new file mode 100644
25 index 00000000..a0a4019
26 --- /dev/null
27 +++ b/games-misc/gtklife/gtklife-5.1-r1.ebuild
28 @@ -0,0 +1,45 @@
29 +# Copyright 1999-2016 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +# $Id$
32 +
33 +EAPI=6
34 +inherit eutils
35 +
36 +DESCRIPTION="A Conway's Life simulator for Unix"
37 +HOMEPAGE="http://ironphoenix.org/tril/gtklife/"
38 +SRC_URI="http://ironphoenix.org/tril/${PN}/${P}.tar.gz"
39 +
40 +LICENSE="GPL-2"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~hppa ~ppc ~x86"
43 +IUSE=""
44 +
45 +RDEPEND="
46 + dev-libs/glib:2
47 + x11-libs/gtk+:2
48 + x11-libs/libX11"
49 +DEPEND="${RDEPEND}
50 + virtual/pkgconfig"
51 +
52 +PATCHES=(
53 + "${FILESDIR}"/${P}-link.patch
54 +)
55 +
56 +src_configure() {
57 + econf \
58 + --with-gtk2 \
59 + --with-docdir=/usr/share/doc/${PF}/html
60 +}
61 +
62 +src_install() {
63 + dobin ${PN}
64 +
65 + insinto /usr/share/${PN}
66 + doins -r graphics patterns
67 +
68 + newicon icon_48x48.png ${PN}.png
69 + make_desktop_entry ${PN} GtkLife
70 +
71 + dodoc -r doc/*
72 + dodoc AUTHORS README NEWS
73 +}
74
75 diff --git a/games-misc/nyancat/Manifest b/games-misc/nyancat/Manifest
76 index de59210..d132c9e 100644
77 --- a/games-misc/nyancat/Manifest
78 +++ b/games-misc/nyancat/Manifest
79 @@ -1 +1,2 @@
80 DIST nyancat-1.2.1.tar.gz 14109 SHA256 a5bfafb6ea69917071aa05f9a52db43e47e97272eb2f4c6c827630cddb015972 SHA512 882bdcfe702d4613484b293f767a2ed74da63f222071e59f56a4246f56947882540930bcb2deae22f6e3326064f1c6f0ff7eb78ac6d7aa08125ebe64ebdf16eb WHIRLPOOL 3c263a35cee24babac92b3ed6ec33a8a4324adcec3364ffef2d0a3ac01786689a9969a21fde3ce1d278f572cd204be336d32d2411168bf6ac46ae47de20a5204
81 +DIST nyancat-1.5.1.tar.gz 15124 SHA256 c948c769d230b4e41385173540ae8ab1f36176de689b6e2d6ed3500e9179b50a SHA512 0a45bd0b1a9b9f85650a986c7f9f8120441f6b0bd346281fb44a5470382484738e660dffe17b95088332c50b6aed3feb4b2f949f15f37dd9c1b1885f345e157d WHIRLPOOL 79aa5ed1076f61e1689c0b9dbffda5091ee2fc21335dedd79108ea746d9763b35f1069af3961b04f091b344ef6521525e56f8cd3cbe6d6048611998df7cdaeac
82
83 diff --git a/games-misc/nyancat/nyancat-1.5.1.ebuild b/games-misc/nyancat/nyancat-1.5.1.ebuild
84 new file mode 100644
85 index 00000000..9f3bda9
86 --- /dev/null
87 +++ b/games-misc/nyancat/nyancat-1.5.1.ebuild
88 @@ -0,0 +1,23 @@
89 +# Copyright 1999-2016 Gentoo Foundation
90 +# Distributed under the terms of the GNU General Public License v2
91 +# $Id$
92 +
93 +EAPI=6
94 +
95 +DESCRIPTION="Nyan Cat Telnet Server"
96 +HOMEPAGE="https://github.com/klange/nyancat"
97 +SRC_URI="https://github.com/klange/nyancat/archive/${PV}.tar.gz -> ${P}.tar.gz"
98 +
99 +LICENSE="UoI-NCSA"
100 +SLOT="0"
101 +KEYWORDS="~amd64 ~x86"
102 +IUSE=""
103 +
104 +src_compile() {
105 + emake LFLAGS="${LDFLAGS} ${CFLAGS}"
106 +}
107 +
108 +src_install() {
109 + dobin src/${PN}
110 + dodoc README.md
111 +}