You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.2 KiB
55 lines
1.2 KiB
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
5 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
3 years ago
|
EAPI=8
|
||
5 years ago
|
|
||
3 years ago
|
PYTHON_COMPAT=( python3_{8..10} )
|
||
3 years ago
|
inherit desktop python-single-r1 wrapper
|
||
5 years ago
|
|
||
3 years ago
|
DESCRIPTION="Side scrolling shooter game starring a steamboat on the sea"
|
||
5 years ago
|
HOMEPAGE="http://funnyboat.sourceforge.net/"
|
||
|
SRC_URI="
|
||
|
mirror://sourceforge/${PN}/${P/_p*}-src.zip
|
||
3 years ago
|
mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PV/*_p}.debian.tar.xz"
|
||
|
S="${WORKDIR}/${PN}"
|
||
5 years ago
|
|
||
3 years ago
|
LICENSE="BitstreamVera GPL-2 MIT"
|
||
5 years ago
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||
|
|
||
3 years ago
|
RDEPEND="
|
||
|
${PYTHON_DEPS}
|
||
3 years ago
|
$(python_gen_cond_dep 'dev-python/pygame[${PYTHON_USEDEP}]')
|
||
3 years ago
|
media-libs/sdl2-image[png]
|
||
|
media-libs/sdl2-mixer[vorbis]"
|
||
|
BDEPEND="
|
||
|
${PYTHON_DEPS}
|
||
|
app-arch/unzip"
|
||
5 years ago
|
|
||
3 years ago
|
PATCHES=(
|
||
3 years ago
|
"${WORKDIR}"/debian/patches
|
||
|
"${FILESDIR}"/${P}-windowed.patch
|
||
3 years ago
|
)
|
||
5 years ago
|
|
||
|
src_prepare() {
|
||
|
# Drop Debian specific patch
|
||
|
rm "${WORKDIR}"/debian/patches/use_debian_vera_ttf.patch || die
|
||
|
|
||
3 years ago
|
default
|
||
5 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
insinto /usr/share/${PN}
|
||
|
doins -r data *.py
|
||
3 years ago
|
|
||
5 years ago
|
python_optimize "${ED}"/usr/share/${PN}
|
||
|
|
||
3 years ago
|
einstalldocs
|
||
5 years ago
|
|
||
|
make_wrapper ${PN} "${EPYTHON} main.py" /usr/share/${PN}
|
||
|
|
||
|
newicon data/titanic.png ${PN}.png
|
||
|
make_desktop_entry ${PN} "Trip on the Funny Boat"
|
||
|
}
|