diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-04-16 21:43:39 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-04-16 22:26:24 +0200 |
commit | e6f680b7de7fbccb756eee3d4eb834b6b3c82b1d (patch) | |
tree | b5eafb7bafd441410f4890e613928aa7111f6ae5 /games-arcade/fishsupper | |
parent | games-arcade/excido: Drop old (diff) | |
download | gentoo-e6f680b7de7fbccb756eee3d4eb834b6b3c82b1d.tar.gz gentoo-e6f680b7de7fbccb756eee3d4eb834b6b3c82b1d.tar.bz2 gentoo-e6f680b7de7fbccb756eee3d4eb834b6b3c82b1d.zip |
games-arcade/fishsupper: Stop using games.eclass
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'games-arcade/fishsupper')
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 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" +} |