38 lines
835 B
Bash
38 lines
835 B
Bash
# 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"
|
|
}
|