games-misc/lucidlife: remove deprecated games eclass
authorAustin English <wizardedit@gentoo.org>
Tue, 11 Oct 2016 21:28:56 +0000 (16:28 -0500)
committerAustin English <wizardedit@gentoo.org>
Tue, 11 Oct 2016 22:55:47 +0000 (17:55 -0500)
Also update to EAPI 6

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

Package-Manager: portage-2.3.0

games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch
games-misc/lucidlife/lucidlife-0.9.2-r1.ebuild [new file with mode: 0644]

index af74e85e8c771370055bc925854f1c0c9b9761b2..77bd7092b812f1b99f631b85ace40a9b87eec0b6 100644 (file)
@@ -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 (file)
index 0000000..9643c9c
--- /dev/null
@@ -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
+}