diff options
author | Sam James <sam@gentoo.org> | 2021-04-04 10:08:34 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-04 10:11:01 +0000 |
commit | 29303b349ec832d47efd8bd166d5580d8fd35f5b (patch) | |
tree | 994fd55de767f89816280ef5b49fd9264954ac3d /games-misc/lucidlife | |
parent | games-misc/funny-manpages: port to EAPI 7, eutils-- (diff) | |
download | gentoo-29303b349ec832d47efd8bd166d5580d8fd35f5b.tar.gz gentoo-29303b349ec832d47efd8bd166d5580d8fd35f5b.tar.bz2 gentoo-29303b349ec832d47efd8bd166d5580d8fd35f5b.zip |
games-misc/lucidlife: port to EAPI 7, eutils--
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-misc/lucidlife')
-rw-r--r-- | games-misc/lucidlife/files/lucidlife-0.9.2-gnome-vfs.patch | 12 | ||||
-rw-r--r-- | games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch | 4 | ||||
-rw-r--r-- | games-misc/lucidlife/lucidlife-0.9.2-r1.ebuild | 29 |
3 files changed, 30 insertions, 15 deletions
diff --git a/games-misc/lucidlife/files/lucidlife-0.9.2-gnome-vfs.patch b/games-misc/lucidlife/files/lucidlife-0.9.2-gnome-vfs.patch index 49918b62146a..68fe0a3b3bc6 100644 --- a/games-misc/lucidlife/files/lucidlife-0.9.2-gnome-vfs.patch +++ b/games-misc/lucidlife/files/lucidlife-0.9.2-gnome-vfs.patch @@ -1,5 +1,5 @@ ---- lucidlife-0.9.2/configure.ac -+++ lucidlife-0.9.2/configure.ac +--- a/configure.ac ++++ b/configure.ac @@ -23,7 +23,7 @@ AC_SUBST(CFLAGS) AC_SUBST(LDFLAGS) @@ -9,8 +9,8 @@ PKG_CHECK_MODULES(GNOME, $GNOME_MODULES) AC_SUBST(GNOME_CFLAGS) AC_SUBST(GNOME_LIBS) ---- lucidlife-0.9.2/src/lucidlife.c -+++ lucidlife-0.9.2/src/lucidlife.c +--- a/src/lucidlife.c ++++ b/src/lucidlife.c @@ -35,8 +35,6 @@ #include <gtk/gtk.h> @@ -55,8 +55,8 @@ free(url); } ---- lucidlife-0.9.2/lucidlife.desktop.in -+++ lucidlife-0.9.2/lucidlife.desktop.in +--- a/lucidlife.desktop.in ++++ b/lucidlife.desktop.in @@ -2,8 +2,7 @@ Name=LucidLife Comment=A user-friendly version of Conway's game of life 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 77bd7092b812..f83c8214b60c 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 @@ ---- a/src/Makefile.am 2011-06-17 17:31:54.078600741 +0200 -+++ b/src/Makefile.am 2011-06-17 17:32:05.491299944 +0200 +--- a/src/Makefile.am ++++ b/src/Makefile.am @@ -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 index d899eb14600c..05012e421cc6 100644 --- a/games-misc/lucidlife/lucidlife-0.9.2-r1.ebuild +++ b/games-misc/lucidlife/lucidlife-0.9.2-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit autotools eutils +EAPI=7 + +inherit autotools DESCRIPTION="A Conway's Life simulator written in GTK+2 - fork from Gtklife" HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" @@ -11,13 +12,24 @@ SRC_URI="mirror://gentoo/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" -RDEPEND="x11-libs/gtk+:2" -DEPEND="${DEPEND} +RDEPEND=" + dev-libs/atk + dev-libs/glib + dev-libs/gobject-introspection + media-libs/fontconfig + media-libs/freetype + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/pango +" +DEPEND="${RDEPEND}" +BDEPEND=" dev-util/intltool sys-devel/gettext - virtual/pkgconfig" + virtual/pkgconfig +" PATCHES=( "${FILESDIR}"/${P}-gnome-vfs.patch @@ -37,5 +49,8 @@ src_install() { pixmapdir=/usr/share/pixmaps \ DESTDIR="${D}" + # Let's just shift the docdir + mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die + dodoc AUTHORS ChangeLog NEWS README TODO } |