games-arcade/fishsupper: Stop using games.eclass
authorPacho Ramos <pacho@gentoo.org>
Mon, 16 Apr 2018 19:43:39 +0000 (21:43 +0200)
committerPacho Ramos <pacho@gentoo.org>
Mon, 16 Apr 2018 20:26:24 +0000 (22:26 +0200)
Package-Manager: Portage-2.3.28, Repoman-2.3.9

games-arcade/fishsupper/files/fishsupper-0.1.6-asneeded.patch
games-arcade/fishsupper/files/fishsupper-0.1.6-ovflfix.patch
games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild [new file with mode: 0644]

index 2aba6f099e88da7d19c7d388d9fc9ccc72cf4e61..eae5ca15921a62b8945ed32e08fc2f51a0ae8f75 100644 (file)
@@ -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@ \
index 4d5185dae7e9df288c439e4768bd1154e4a020ef..2be91b65a16d3a5c6b58395fc478053960532e0b 100644 (file)
@@ -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 (file)
index 0000000..e73b4a0
--- /dev/null
@@ -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"
+}