commit:     d08acb0d948dde3f99699dbca733ca4d49b3012a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 19 00:10:43 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 19 00:38:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d08acb0d

games-arcade/fishsupper: update EAPI 6 -> 7, add missing libsdl2[joystick]

Closes: https://bugs.gentoo.org/740436
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild 
b/games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild
index e73b4a0b1d7..1ffdfa94712 100644
--- a/games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild
+++ b/games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
+
 inherit autotools desktop
 
 DESCRIPTION="A simple arcade/puzzle game, loosely based on the retro classic 
Frogger"
@@ -11,10 +12,9 @@ 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/libsdl[joystick,sound,video,opengl,X]
        media-libs/sdl-image[png]
        media-libs/sdl-mixer[wav]
        virtual/opengl
@@ -23,16 +23,20 @@ DEPEND="${RDEPEND}
        dev-libs/boost
 "
 
+PATCHES=(
+       "${FILESDIR}"/${P}-ovflfix.patch
+       "${FILESDIR}"/${P}-asneeded.patch
+       "${FILESDIR}"/${P}-gcc6.patch
+)
+
 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