commit:     e6f680b7de7fbccb756eee3d4eb834b6b3c82b1d
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 16 19:43:39 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Apr 16 20:26:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6f680b7

games-arcade/fishsupper: Stop using games.eclass

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 .../files/fishsupper-0.1.6-asneeded.patch          |  4 +--
 .../files/fishsupper-0.1.6-ovflfix.patch           |  4 +--
 games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild | 38 ++++++++++++++++++++++
 3 files changed, 42 insertions(+), 4 deletions(-)

diff --git a/games-arcade/fishsupper/files/fishsupper-0.1.6-asneeded.patch 
b/games-arcade/fishsupper/files/fishsupper-0.1.6-asneeded.patch
index 2aba6f099e8..eae5ca15921 100644
--- a/games-arcade/fishsupper/files/fishsupper-0.1.6-asneeded.patch
+++ b/games-arcade/fishsupper/files/fishsupper-0.1.6-asneeded.patch
@@ -1,5 +1,5 @@
---- src/Makefile.am.old        2012-06-24 18:47:58.947143638 +0200
-+++ src/Makefile.am    2012-06-24 18:51:35.738921904 +0200
+--- a/src/Makefile.am.old      2012-06-24 18:47:58.947143638 +0200
++++ b/src/Makefile.am  2012-06-24 18:51:35.738921904 +0200
 @@ -1,7 +1,7 @@
  AM_CPPFLAGS = -DPKG_DATA_DIR=\"$(pkgdatadir)\" \
                          @SDL_CFLAGS@ \

diff --git a/games-arcade/fishsupper/files/fishsupper-0.1.6-ovflfix.patch 
b/games-arcade/fishsupper/files/fishsupper-0.1.6-ovflfix.patch
index 4d5185dae7e..2be91b65a16 100644
--- a/games-arcade/fishsupper/files/fishsupper-0.1.6-ovflfix.patch
+++ b/games-arcade/fishsupper/files/fishsupper-0.1.6-ovflfix.patch
@@ -1,5 +1,5 @@
---- src/main.cpp.old   2012-06-24 18:35:27.661894094 +0200
-+++ src/main.cpp       2012-06-24 18:35:41.041954632 +0200
+--- a/src/main.cpp.old 2012-06-24 18:35:27.661894094 +0200
++++ b/src/main.cpp     2012-06-24 18:35:41.041954632 +0200
 @@ -293,7 +293,7 @@
      
      if (!ok)

diff --git a/games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild 
b/games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild
new file mode 100644
index 00000000000..e73b4a0b1d7
--- /dev/null
+++ b/games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools desktop
+
+DESCRIPTION="A simple arcade/puzzle game, loosely based on the retro classic 
Frogger"
+HOMEPAGE="https://sourceforge.net/projects/fishsupper/";
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="CC-BY-SA-2.5 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+       media-libs/libsdl[sound,video,opengl,X]
+       media-libs/sdl-image[png]
+       media-libs/sdl-mixer[wav]
+       virtual/opengl
+"
+DEPEND="${RDEPEND}
+       dev-libs/boost
+"
+
+src_prepare() {
+       default
+       eapply "${FILESDIR}"/${P}-ovflfix.patch \
+               "${FILESDIR}"/${P}-asneeded.patch \
+               "${FILESDIR}"/${P}-gcc6.patch
+       eautoreconf
+}
+
+src_install() {
+       default
+       newicon data/images/fs_sprite_042.png ${PN}.png
+       make_desktop_entry ${PN} "Fish Supper"
+}

Reply via email to