diff options
author | Pacho Ramos <pacho@gentoo.org> | 2019-12-25 17:47:16 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2019-12-25 17:57:16 +0100 |
commit | e1b6cde2fd305ffd406cd4421a43aadf20b106ac (patch) | |
tree | 71975c27d505cc3ea150dd96571bcf8df8a28a19 /games-arcade | |
parent | media-libs/opencv: Needs python_optimize, add python 3.8 support (diff) | |
download | gentoo-e1b6cde2fd305ffd406cd4421a43aadf20b106ac.tar.gz gentoo-e1b6cde2fd305ffd406cd4421a43aadf20b106ac.tar.bz2 gentoo-e1b6cde2fd305ffd406cd4421a43aadf20b106ac.zip |
games-arcade/funnyboat: Lots of fixes from Debian, python3 support too
And use higher resolution icon
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/funnyboat/Manifest | 1 | ||||
-rw-r--r-- | games-arcade/funnyboat/funnyboat-1.5_p11.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/games-arcade/funnyboat/Manifest b/games-arcade/funnyboat/Manifest index 6c34560e4a0e..c95cc716393d 100644 --- a/games-arcade/funnyboat/Manifest +++ b/games-arcade/funnyboat/Manifest @@ -1 +1,2 @@ DIST funnyboat-1.5-src.zip 3839990 BLAKE2B 30576f2bb20a236d518a5aca1b173d0e6f876a8411eef87d85950059536b3c6f1801b6f5a498d854ce6f390911ecc3a604f3c9bd438692943721b064f9c6d708 SHA512 7d38070e73825602d6f0a82e810fe8937fe919ce12f6e802ee25147ca1a2333c2b90821d92e20b8e071070505099bf9ec562e8c7b8cd8d241c3021b840e707cc +DIST funnyboat_1.5-11.debian.tar.xz 12572 BLAKE2B 691a547cdc2ad07515268fe3e5c828d557f691746e9a9f136dc2634b9130210330ebd68b89fdc783373e5b660ddfe1caf2b74465e6d473b8e7c66a602b3a3f10 SHA512 9dd117e71715ec0a421061c1b71447ac9413b0d80f0337ab4cecc941324f6b9b2466981ed39a9670fa0c56075e60499eeb619ec0bfd8c7c010469d56d3ed66ec diff --git a/games-arcade/funnyboat/funnyboat-1.5_p11.ebuild b/games-arcade/funnyboat/funnyboat-1.5_p11.ebuild new file mode 100644 index 000000000000..3851d7837d3f --- /dev/null +++ b/games-arcade/funnyboat/funnyboat-1.5_p11.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit desktop eutils gnome2-utils python-single-r1 xdg + +DESCRIPTION="A side scrolling shooter game starring a steamboat on the sea" +HOMEPAGE="http://funnyboat.sourceforge.net/" +SRC_URI=" + mirror://sourceforge/${PN}/${P/_p*}-src.zip + mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PV/*_p}.debian.tar.xz +" + +LICENSE="GPL-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-python/pygame-1.6.2[${PYTHON_USEDEP}] +" +DEPEND="${DEPEND}" +BDEPEND="app-arch/unzip" + +S="${WORKDIR}/${PN}" + +src_prepare() { + # Drop Debian specific patch + rm "${WORKDIR}"/debian/patches/use_debian_vera_ttf.patch || die + eapply -p1 "${WORKDIR}"/debian/patches/*.patch + + xdg_src_prepare +} + +src_install() { + insinto /usr/share/${PN} + doins -r data *.py + python_optimize "${ED%/}"/usr/share/${PN} + + dodoc *.txt + + make_wrapper ${PN} "${EPYTHON} main.py" /usr/share/${PN} + + newicon data/titanic.png ${PN}.png + make_desktop_entry ${PN} "Trip on the Funny Boat" +} |