1 |
commit: 9bfa1265902adccac7f66d861a4edb2a91ba9f47 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 11 21:28:56 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=9bfa1265 |
7 |
|
8 |
games-misc/lucidlife: remove deprecated games eclass |
9 |
|
10 |
Also update to EAPI 6 |
11 |
|
12 |
Gentoo-Bug: https://bugs.gentoo.org/574082 |
13 |
|
14 |
Package-Manager: portage-2.3.0 |
15 |
|
16 |
.../files/lucidlife-0.9.2-underlink.patch | 4 +-- |
17 |
games-misc/lucidlife/lucidlife-0.9.2-r1.ebuild | 42 ++++++++++++++++++++++ |
18 |
2 files changed, 44 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch b/games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch |
21 |
index af74e85..77bd709 100644 |
22 |
--- a/games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch |
23 |
+++ b/games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch |
24 |
@@ -1,5 +1,5 @@ |
25 |
---- src/Makefile.am.old 2011-06-17 17:31:54.078600741 +0200 |
26 |
-+++ src/Makefile.am 2011-06-17 17:32:05.491299944 +0200 |
27 |
+--- a/src/Makefile.am 2011-06-17 17:31:54.078600741 +0200 |
28 |
++++ b/src/Makefile.am 2011-06-17 17:32:05.491299944 +0200 |
29 |
@@ -2,7 +2,7 @@ |
30 |
-DDATADIR=\""$(datadir)/lucidlife"\" \ |
31 |
-DDOCDIR=\""$(datadir)/doc/lucidlife"\" |
32 |
|
33 |
diff --git a/games-misc/lucidlife/lucidlife-0.9.2-r1.ebuild b/games-misc/lucidlife/lucidlife-0.9.2-r1.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000..9643c9c |
36 |
--- /dev/null |
37 |
+++ b/games-misc/lucidlife/lucidlife-0.9.2-r1.ebuild |
38 |
@@ -0,0 +1,42 @@ |
39 |
+# Copyright 1999-2016 Gentoo Foundation |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+# $Id$ |
42 |
+ |
43 |
+EAPI=6 |
44 |
+inherit autotools eutils |
45 |
+ |
46 |
+DESCRIPTION="A Conway's Life simulator written in GTK+2 - fork from Gtklife" |
47 |
+HOMEPAGE="http://gtk-apps.org/content/show.php/LucidLife?content=130867" |
48 |
+SRC_URI="mirror://gentoo/${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="GPL-2" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+IUSE="" |
54 |
+ |
55 |
+RDEPEND="x11-libs/gtk+:2" |
56 |
+DEPEND="${DEPEND} |
57 |
+ dev-util/intltool |
58 |
+ sys-devel/gettext |
59 |
+ virtual/pkgconfig" |
60 |
+ |
61 |
+PATCHES=( |
62 |
+ "${FILESDIR}"/${P}-gnome-vfs.patch |
63 |
+ "${FILESDIR}"/${P}-underlink.patch |
64 |
+) |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ default |
68 |
+ |
69 |
+ eautoreconf |
70 |
+ intltoolize --force --copy --automake || die |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ emake install \ |
75 |
+ desktopdir=/usr/share/applications \ |
76 |
+ pixmapdir=/usr/share/pixmaps \ |
77 |
+ DESTDIR="${D}" |
78 |
+ |
79 |
+ dodoc AUTHORS ChangeLog NEWS README TODO |
80 |
+} |