commit:     9bfa1265902adccac7f66d861a4edb2a91ba9f47
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 21:28:56 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 22:55:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bfa1265

games-misc/lucidlife: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 .../files/lucidlife-0.9.2-underlink.patch          |  4 +--
 games-misc/lucidlife/lucidlife-0.9.2-r1.ebuild     | 42 ++++++++++++++++++++++
 2 files changed, 44 insertions(+), 2 deletions(-)

diff --git a/games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch 
b/games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch
index af74e85..77bd709 100644
--- a/games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch
+++ b/games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch
@@ -1,5 +1,5 @@
---- src/Makefile.am.old        2011-06-17 17:31:54.078600741 +0200
-+++ src/Makefile.am    2011-06-17 17:32:05.491299944 +0200
+--- a/src/Makefile.am  2011-06-17 17:31:54.078600741 +0200
++++ b/src/Makefile.am  2011-06-17 17:32:05.491299944 +0200
 @@ -2,7 +2,7 @@
             -DDATADIR=\""$(datadir)/lucidlife"\" \
             -DDOCDIR=\""$(datadir)/doc/lucidlife"\"

diff --git a/games-misc/lucidlife/lucidlife-0.9.2-r1.ebuild 
b/games-misc/lucidlife/lucidlife-0.9.2-r1.ebuild
new file mode 100644
index 00000000..9643c9c
--- /dev/null
+++ b/games-misc/lucidlife/lucidlife-0.9.2-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="A Conway's Life simulator written in GTK+2 - fork from Gtklife"
+HOMEPAGE="http://gtk-apps.org/content/show.php/LucidLife?content=130867";
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${DEPEND}
+       dev-util/intltool
+       sys-devel/gettext
+       virtual/pkgconfig"
+
+PATCHES=(
+       "${FILESDIR}"/${P}-gnome-vfs.patch
+       "${FILESDIR}"/${P}-underlink.patch
+)
+
+src_prepare() {
+       default
+
+       eautoreconf
+       intltoolize --force --copy --automake || die
+}
+
+src_install() {
+       emake install \
+               desktopdir=/usr/share/applications \
+               pixmapdir=/usr/share/pixmaps \
+               DESTDIR="${D}"
+
+       dodoc AUTHORS ChangeLog NEWS README TODO
+}

Reply via email to