summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-08-19 01:10:43 +0100
committerSam James <sam@gentoo.org>2021-08-19 01:38:57 +0100
commitd08acb0d948dde3f99699dbca733ca4d49b3012a (patch)
treedaefa7106924a8c2485f61dd0252a630b84a1962 /games-arcade/fishsupper
parentgames-fps/darkplaces: add missing libsdl[joystick] dependency (diff)
downloadgentoo-d08acb0d948dde3f99699dbca733ca4d49b3012a.tar.gz
gentoo-d08acb0d948dde3f99699dbca733ca4d49b3012a.tar.bz2
gentoo-d08acb0d948dde3f99699dbca733ca4d49b3012a.zip
games-arcade/fishsupper: update EAPI 6 -> 7, add missing libsdl2[joystick]
Closes: https://bugs.gentoo.org/740436 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-arcade/fishsupper')
-rw-r--r--games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild18
1 files 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 e73b4a0b1d7d..1ffdfa94712f 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"
}