From: Pacho Ramos Date: Mon, 16 Apr 2018 19:43:39 +0000 (+0200) Subject: games-arcade/fishsupper: Stop using games.eclass X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e6f680b7de7fbccb756eee3d4eb834b6b3c82b1d;p=gentoo.git games-arcade/fishsupper: Stop using games.eclass Package-Manager: Portage-2.3.28, Repoman-2.3.9 --- 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 2aba6f099e88..eae5ca15921a 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 4d5185dae7e9..2be91b65a16d 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 000000000000..e73b4a0b1d7d --- /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" +}