diff options
Diffstat (limited to 'games-arcade/fishsupper')
-rw-r--r-- | games-arcade/fishsupper/Manifest | 6 | ||||
-rw-r--r-- | games-arcade/fishsupper/files/fishsupper-0.1.6-asneeded.patch | 11 | ||||
-rw-r--r-- | games-arcade/fishsupper/files/fishsupper-0.1.6-gcc6.patch | 49 | ||||
-rw-r--r-- | games-arcade/fishsupper/files/fishsupper-0.1.6-ovflfix.patch | 11 | ||||
-rw-r--r-- | games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild | 38 | ||||
-rw-r--r-- | games-arcade/fishsupper/metadata.xml | 11 |
6 files changed, 126 insertions, 0 deletions
diff --git a/games-arcade/fishsupper/Manifest b/games-arcade/fishsupper/Manifest new file mode 100644 index 000000000000..03add5472e32 --- /dev/null +++ b/games-arcade/fishsupper/Manifest @@ -0,0 +1,6 @@ +AUX fishsupper-0.1.6-asneeded.patch 297 BLAKE2B 18b749a0e6733ee92bbe38ef2fd65fc5acfdb440ccbce23c0d1ae78d7b3f7601ebd3c6f23d5fdd89cd95caac11a9acea2a217b1ef6bd0f1e938d49d7c0735311 SHA512 934d5a308ae6c25e34e437c773ed71d12ac146555848a21855116a848768edd8c4e30e1d789c20a75e8c89f2b5a586c75d9ef122a70e83206848919c7c275be5 +AUX fishsupper-0.1.6-gcc6.patch 1730 BLAKE2B 41317933789d096b9b00a184e15df47b8daf946e9730e6688895497a94bf3efe7d96adf1a39b016dd9874b97a2721472fe98650732689464283495e817d76223 SHA512 9dfaf5c9a5a9554c87e93a3876cb9fb858a638b2ead10a3a10e4c9d8a68fca1608f08c1920d506aa09bc2c965c93ffc748ef3b4e3dad3b24bb86bd1481703d48 +AUX fishsupper-0.1.6-ovflfix.patch 308 BLAKE2B 16d9956ad39c518c171a7d99151853329c0fe76a092494a04d0e4f549819fa07f29a4bc01cd0dcfac104c3dc1df9e25c835dec7fb834b8b9ded24b742e56dda9 SHA512 75501a6ca44c510d73859d4339ee041e71dd3d0bbde3e071cfe438b014b515e868e8788d14ddef461b6402c8ef6c67c14bc3ad94e9a06a553c3aadbba602013a +DIST fishsupper-0.1.6.tar.gz 1136893 BLAKE2B f07e5cc8fcfef4547fe2af029db1472ab0299fb5267e8f3a4fb29b9aa2cb39115101c217f509f35a4dc81a0e4f6c72f70bb2102c74c7c45981ced4e50230cd5c SHA512 a6b3df47010e8ac186ff4446db3659fd9173e9e3fc973ab376eed46da9cd13f7a4c0c02b25f3427232252e7fe5728036fa91ea773affe0948387a56f617fc7af +EBUILD fishsupper-0.1.6-r1.ebuild 835 BLAKE2B 47a77e1bbbd699277c5c29f9909041d613f4ef08d880f3babe1a1d8189b476c91e719dbc407cc83f6439c85f7b9592c59a550e3dbc23f4781e068e14495510ca SHA512 6097c550acfb2518cfd78937175a61ea6b3ef461aedf5c5618cb68a1bdccc5807143d33c1bad0df6abfffd0e0cf9aa5f751e240e16ce513b26ae269cbfc2c311 +MISC metadata.xml 333 BLAKE2B de23175a8ff9c7bd8f8e2d59072017d790d2594882ac5963acdf28e4bab252152c01754cf9c3b57122dbc37fc857f2e749bbc52333700d25b43ac4b0b1ecd165 SHA512 6a3a977950808ae8b79c2c34c17fe8e1dd9ae21b9f9a43a2f2808931a4569042825f381d4c10024480eb2e2635893de8433eacf94f5f755d086285e3fe6770b3 diff --git a/games-arcade/fishsupper/files/fishsupper-0.1.6-asneeded.patch b/games-arcade/fishsupper/files/fishsupper-0.1.6-asneeded.patch new file mode 100644 index 000000000000..eae5ca15921a --- /dev/null +++ b/games-arcade/fishsupper/files/fishsupper-0.1.6-asneeded.patch @@ -0,0 +1,11 @@ +--- 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@ \ + -Wall +-AM_LDFLAGS = @SDL_LIBS@ ++LDADD = @SDL_LIBS@ + + bin_PROGRAMS = fishsupper + diff --git a/games-arcade/fishsupper/files/fishsupper-0.1.6-gcc6.patch b/games-arcade/fishsupper/files/fishsupper-0.1.6-gcc6.patch new file mode 100644 index 000000000000..3ca63cb4a68b --- /dev/null +++ b/games-arcade/fishsupper/files/fishsupper-0.1.6-gcc6.patch @@ -0,0 +1,49 @@ +Bug: https://bugs.gentoo.org/610660 + +--- a/src/Settings_screen.cpp ++++ b/src/Settings_screen.cpp +@@ -217,3 +217,7 @@ + + // ************************************************** + ++const float FS::Settings_screen::bold = 1.0; ++const float FS::Settings_screen::faded = 0.2; ++ ++// ************************************************** +--- a/src/Settings_screen.h ++++ b/src/Settings_screen.h +@@ -71,8 +71,8 @@ + static const int tick1_x = 252; + static const int tick_y_offset = 33; + static const int sprite_texture_start = FS_gfx::JOYSTICK; +- static const float bold = 1.0; +- static const float faded = 0.2; ++ static const float bold; ++ static const float faded; + + Settings* settings_ptr; + int current_option; +--- a/src/Star_particle_system.cpp ++++ b/src/Star_particle_system.cpp +@@ -137,6 +137,10 @@ + } // FS::Star_particle_system::launch_new_star + + // ************************************************** ++ ++const float FS::Star_particle_system::lifespan = 1500.0; ++ ++// ************************************************** + // ************************************************** + // ************************************************** + // ************************************************** +--- a/src/Star_particle_system.h ++++ b/src/Star_particle_system.h +@@ -77,7 +77,7 @@ + static const int STAR_WIDTH = 30; + static const int STAR_HEIGHT = 30; + // This is a float so that we get floating-point division in update. +- static const float lifespan = 1500.0; // in ms ++ static const float lifespan; // in ms + + // A particle is basically a lightweight sprite. + // Unlike a usual sprite, we don't need to worry about diff --git a/games-arcade/fishsupper/files/fishsupper-0.1.6-ovflfix.patch b/games-arcade/fishsupper/files/fishsupper-0.1.6-ovflfix.patch new file mode 100644 index 000000000000..2be91b65a16d --- /dev/null +++ b/games-arcade/fishsupper/files/fishsupper-0.1.6-ovflfix.patch @@ -0,0 +1,11 @@ +--- 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) + { +- fs_dir = new char[ strlen(".") ]; ++ fs_dir = new char[ strlen(".") + 1]; + strcpy(fs_dir, "."); + } // if ... else + 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" +} diff --git a/games-arcade/fishsupper/metadata.xml b/games-arcade/fishsupper/metadata.xml new file mode 100644 index 000000000000..06f43265c42e --- /dev/null +++ b/games-arcade/fishsupper/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">fishsupper</remote-id> + </upstream> +</pkgmetadata> |