1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python3_{6,7,8} )
7 inherit desktop eutils gnome2-utils python-single-r1 xdg
9 DESCRIPTION="A side scrolling shooter game starring a steamboat on the sea"
10 HOMEPAGE="http://funnyboat.sourceforge.net/"
12 mirror://sourceforge/${PN}/${P/_p*}-src.zip
13 mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PV/*_p}.debian.tar.xz
18 KEYWORDS="~amd64 ~x86"
20 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
22 RDEPEND="${PYTHON_DEPS}
23 >=dev-python/pygame-1.6.2[${PYTHON_USEDEP}]
26 BDEPEND="app-arch/unzip"
31 # Drop Debian specific patch
32 rm "${WORKDIR}"/debian/patches/use_debian_vera_ttf.patch || die
33 eapply -p1 "${WORKDIR}"/debian/patches/*.patch
39 insinto /usr/share/${PN}
41 python_optimize "${ED}"/usr/share/${PN}
45 make_wrapper ${PN} "${EPYTHON} main.py" /usr/share/${PN}
47 newicon data/titanic.png ${PN}.png
48 make_desktop_entry ${PN} "Trip on the Funny Boat"