1 |
commit: e1b6cde2fd305ffd406cd4421a43aadf20b106ac |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 25 16:47:16 2019 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 25 16:57:16 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1b6cde2 |
7 |
|
8 |
games-arcade/funnyboat: Lots of fixes from Debian, python3 support too |
9 |
|
10 |
And use higher resolution icon |
11 |
|
12 |
Package-Manager: Portage-2.3.82, Repoman-2.3.20 |
13 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
14 |
|
15 |
games-arcade/funnyboat/Manifest | 1 + |
16 |
games-arcade/funnyboat/funnyboat-1.5_p11.ebuild | 49 +++++++++++++++++++++++++ |
17 |
2 files changed, 50 insertions(+) |
18 |
|
19 |
diff --git a/games-arcade/funnyboat/Manifest b/games-arcade/funnyboat/Manifest |
20 |
index 6c34560e4a0..c95cc716393 100644 |
21 |
--- a/games-arcade/funnyboat/Manifest |
22 |
+++ b/games-arcade/funnyboat/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST funnyboat-1.5-src.zip 3839990 BLAKE2B 30576f2bb20a236d518a5aca1b173d0e6f876a8411eef87d85950059536b3c6f1801b6f5a498d854ce6f390911ecc3a604f3c9bd438692943721b064f9c6d708 SHA512 7d38070e73825602d6f0a82e810fe8937fe919ce12f6e802ee25147ca1a2333c2b90821d92e20b8e071070505099bf9ec562e8c7b8cd8d241c3021b840e707cc |
25 |
+DIST funnyboat_1.5-11.debian.tar.xz 12572 BLAKE2B 691a547cdc2ad07515268fe3e5c828d557f691746e9a9f136dc2634b9130210330ebd68b89fdc783373e5b660ddfe1caf2b74465e6d473b8e7c66a602b3a3f10 SHA512 9dd117e71715ec0a421061c1b71447ac9413b0d80f0337ab4cecc941324f6b9b2466981ed39a9670fa0c56075e60499eeb619ec0bfd8c7c010469d56d3ed66ec |
26 |
|
27 |
diff --git a/games-arcade/funnyboat/funnyboat-1.5_p11.ebuild b/games-arcade/funnyboat/funnyboat-1.5_p11.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..3851d7837d3 |
30 |
--- /dev/null |
31 |
+++ b/games-arcade/funnyboat/funnyboat-1.5_p11.ebuild |
32 |
@@ -0,0 +1,49 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
38 |
+ |
39 |
+inherit desktop eutils gnome2-utils python-single-r1 xdg |
40 |
+ |
41 |
+DESCRIPTION="A side scrolling shooter game starring a steamboat on the sea" |
42 |
+HOMEPAGE="http://funnyboat.sourceforge.net/" |
43 |
+SRC_URI=" |
44 |
+ mirror://sourceforge/${PN}/${P/_p*}-src.zip |
45 |
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PV/*_p}.debian.tar.xz |
46 |
+" |
47 |
+ |
48 |
+LICENSE="GPL-2 MIT" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+IUSE="" |
52 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
53 |
+ |
54 |
+RDEPEND="${PYTHON_DEPS} |
55 |
+ >=dev-python/pygame-1.6.2[${PYTHON_USEDEP}] |
56 |
+" |
57 |
+DEPEND="${DEPEND}" |
58 |
+BDEPEND="app-arch/unzip" |
59 |
+ |
60 |
+S="${WORKDIR}/${PN}" |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ # Drop Debian specific patch |
64 |
+ rm "${WORKDIR}"/debian/patches/use_debian_vera_ttf.patch || die |
65 |
+ eapply -p1 "${WORKDIR}"/debian/patches/*.patch |
66 |
+ |
67 |
+ xdg_src_prepare |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ insinto /usr/share/${PN} |
72 |
+ doins -r data *.py |
73 |
+ python_optimize "${ED%/}"/usr/share/${PN} |
74 |
+ |
75 |
+ dodoc *.txt |
76 |
+ |
77 |
+ make_wrapper ${PN} "${EPYTHON} main.py" /usr/share/${PN} |
78 |
+ |
79 |
+ newicon data/titanic.png ${PN}.png |
80 |
+ make_desktop_entry ${PN} "Trip on the Funny Boat" |
81 |
+} |