From 2771f79232c273bc2a57d23bf335dd81ccf6af28 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 5 Dec 2021 02:47:11 +0000 Subject: gentoo resync : 05.12.2021 --- games-arcade/funnyboat/Manifest | 3 +- .../files/funnyboat-1.5_p11-windowed.patch | 10 ++++ games-arcade/funnyboat/funnyboat-1.5_p11-r2.ebuild | 53 --------------------- games-arcade/funnyboat/funnyboat-1.5_p11-r3.ebuild | 54 ++++++++++++++++++++++ 4 files changed, 66 insertions(+), 54 deletions(-) create mode 100644 games-arcade/funnyboat/files/funnyboat-1.5_p11-windowed.patch delete mode 100644 games-arcade/funnyboat/funnyboat-1.5_p11-r2.ebuild create mode 100644 games-arcade/funnyboat/funnyboat-1.5_p11-r3.ebuild (limited to 'games-arcade/funnyboat') diff --git a/games-arcade/funnyboat/Manifest b/games-arcade/funnyboat/Manifest index 71337bfd1c92..9eb8949392ca 100644 --- a/games-arcade/funnyboat/Manifest +++ b/games-arcade/funnyboat/Manifest @@ -1,4 +1,5 @@ +AUX funnyboat-1.5_p11-windowed.patch 324 BLAKE2B 8733bac588e8e11dcf026465e536e0d4fc3e3ca13abc7283d06c53bfd40645e90072a3cae28efe435ac4c9cd78bff1dc2e492434a79623e121a18b9a921b96ab SHA512 65ba6d02f67cc817f08e8d2c616ab426225294fc2014ce81adbeb8087b5757b752848d6052c0e4694f2e3c0856b463a5cc52c56bc403038cbb45eab69d62a15e DIST funnyboat-1.5-src.zip 3839990 BLAKE2B 30576f2bb20a236d518a5aca1b173d0e6f876a8411eef87d85950059536b3c6f1801b6f5a498d854ce6f390911ecc3a604f3c9bd438692943721b064f9c6d708 SHA512 7d38070e73825602d6f0a82e810fe8937fe919ce12f6e802ee25147ca1a2333c2b90821d92e20b8e071070505099bf9ec562e8c7b8cd8d241c3021b840e707cc DIST funnyboat_1.5-11.debian.tar.xz 12572 BLAKE2B 691a547cdc2ad07515268fe3e5c828d557f691746e9a9f136dc2634b9130210330ebd68b89fdc783373e5b660ddfe1caf2b74465e6d473b8e7c66a602b3a3f10 SHA512 9dd117e71715ec0a421061c1b71447ac9413b0d80f0337ab4cecc941324f6b9b2466981ed39a9670fa0c56075e60499eeb619ec0bfd8c7c010469d56d3ed66ec -EBUILD funnyboat-1.5_p11-r2.ebuild 1200 BLAKE2B 0f0d5fdf7448493f3153d2fe24463ce53bfbac908e19f01c6b1c0f3b9002b7b25533712601b1df0bd77203aaa5caa8e3f3ffb81046a7b612887c16072a0c2325 SHA512 d8f1b1d834032d332ccf7e08241e5daa98e1e85d9be4c4c912a1ba2d840f75ace72d64b2b0ec2d0ba5d4901ec66d938234df73b1e16aabc6cd3785f8b0d3c2e0 +EBUILD funnyboat-1.5_p11-r3.ebuild 1235 BLAKE2B 7379af679f30a8a74516bc5c7ff29a87279930fa768c7873a2f6471e80964fef55e4b34ac99a1b695b719c5f9d6da32a4d8f28142fdb5fa99ca09c0d64e2f687 SHA512 282dc422260f987c260565c223f26c6984c7104394adbcb7a8102d145d6182dab54295984cee4383179f9e4a84d167b910e006408adc13c3c2b696ef60ac48ca MISC metadata.xml 333 BLAKE2B e506e238fa8d4ef6e00a4718e21c9497760eb471db4a5b3ad25884c03a088aff2d6452271ca7010d60587a71072f61b840a391664f8784b8745715d6dd9579c9 SHA512 499775c32a66f2a1447384a4d14c3690e88e289469eeb202d7c181e5c6984cb59be2dca5b819ab4cab458d5aebf9fab6ccca9fa776950ad8411874411d40c7ff diff --git a/games-arcade/funnyboat/files/funnyboat-1.5_p11-windowed.patch b/games-arcade/funnyboat/files/funnyboat-1.5_p11-windowed.patch new file mode 100644 index 000000000000..a736a43e9fb9 --- /dev/null +++ b/games-arcade/funnyboat/files/funnyboat-1.5_p11-windowed.patch @@ -0,0 +1,10 @@ +Fullscreen can misdisplay depending on available modes and, while there +is a command line option to enable it (-f), there is none to disable. + +https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432693 +--- a/locals.py ++++ b/locals.py +@@ -18,2 +18,2 @@ + name = "Funny Boater" +- fullscreen = True ++ fullscreen = False diff --git a/games-arcade/funnyboat/funnyboat-1.5_p11-r2.ebuild b/games-arcade/funnyboat/funnyboat-1.5_p11-r2.ebuild deleted file mode 100644 index a0c6232d07c0..000000000000 --- a/games-arcade/funnyboat/funnyboat-1.5_p11-r2.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..9} ) -inherit desktop python-single-r1 wrapper - -DESCRIPTION="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" -S="${WORKDIR}/${PN}" - -LICENSE="BitstreamVera GPL-2 MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - $(python_gen_cond_dep 'dev-python/pygame[${PYTHON_USEDEP}]') - media-libs/sdl2-image[png] - media-libs/sdl2-mixer[vorbis]" -BDEPEND=" - ${PYTHON_DEPS} - app-arch/unzip" - -PATCHES=( - "${WORKDIR}"/debian/patches -) - -src_prepare() { - # Drop Debian specific patch - rm "${WORKDIR}"/debian/patches/use_debian_vera_ttf.patch || die - - default -} - -src_install() { - insinto /usr/share/${PN} - doins -r data *.py - - python_optimize "${ED}"/usr/share/${PN} - - einstalldocs - - make_wrapper ${PN} "${EPYTHON} main.py" /usr/share/${PN} - - newicon data/titanic.png ${PN}.png - make_desktop_entry ${PN} "Trip on the Funny Boat" -} diff --git a/games-arcade/funnyboat/funnyboat-1.5_p11-r3.ebuild b/games-arcade/funnyboat/funnyboat-1.5_p11-r3.ebuild new file mode 100644 index 000000000000..1f1181187f85 --- /dev/null +++ b/games-arcade/funnyboat/funnyboat-1.5_p11-r3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit desktop python-single-r1 wrapper + +DESCRIPTION="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" +S="${WORKDIR}/${PN}" + +LICENSE="BitstreamVera GPL-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/pygame[${PYTHON_USEDEP}]') + media-libs/sdl2-image[png] + media-libs/sdl2-mixer[vorbis]" +BDEPEND=" + ${PYTHON_DEPS} + app-arch/unzip" + +PATCHES=( + "${WORKDIR}"/debian/patches + "${FILESDIR}"/${P}-windowed.patch +) + +src_prepare() { + # Drop Debian specific patch + rm "${WORKDIR}"/debian/patches/use_debian_vera_ttf.patch || die + + default +} + +src_install() { + insinto /usr/share/${PN} + doins -r data *.py + + python_optimize "${ED}"/usr/share/${PN} + + einstalldocs + + make_wrapper ${PN} "${EPYTHON} main.py" /usr/share/${PN} + + newicon data/titanic.png ${PN}.png + make_desktop_entry ${PN} "Trip on the Funny Boat" +} -- cgit v1.2.3