1 |
commit: 105b13866e1f3054d617f936c4f6c9a2cd266bf8 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 23 23:04:38 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 24 02:12:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=105b1386 |
7 |
|
8 |
games-arcade/funnyboat: add missing deps, gnome2-utils-- |
9 |
|
10 |
Game won't start if [png] or [vorbis] are missing. |
11 |
|
12 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
13 |
|
14 |
...5_p11-r1.ebuild => funnyboat-1.5_p11-r2.ebuild} | 34 ++++++++++++---------- |
15 |
1 file changed, 18 insertions(+), 16 deletions(-) |
16 |
|
17 |
diff --git a/games-arcade/funnyboat/funnyboat-1.5_p11-r1.ebuild b/games-arcade/funnyboat/funnyboat-1.5_p11-r2.ebuild |
18 |
similarity index 63% |
19 |
rename from games-arcade/funnyboat/funnyboat-1.5_p11-r1.ebuild |
20 |
rename to games-arcade/funnyboat/funnyboat-1.5_p11-r2.ebuild |
21 |
index 7ede8a43298..0d431c264d4 100644 |
22 |
--- a/games-arcade/funnyboat/funnyboat-1.5_p11-r1.ebuild |
23 |
+++ b/games-arcade/funnyboat/funnyboat-1.5_p11-r2.ebuild |
24 |
@@ -3,46 +3,48 @@ |
25 |
|
26 |
EAPI=7 |
27 |
|
28 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
29 |
-inherit desktop gnome2-utils python-single-r1 wrapper xdg |
30 |
+PYTHON_COMPAT=( python3_{8..9} ) |
31 |
+inherit desktop python-single-r1 wrapper xdg |
32 |
|
33 |
-DESCRIPTION="A side scrolling shooter game starring a steamboat on the sea" |
34 |
+DESCRIPTION="Side scrolling shooter game starring a steamboat on the sea" |
35 |
HOMEPAGE="http://funnyboat.sourceforge.net/" |
36 |
SRC_URI=" |
37 |
mirror://sourceforge/${PN}/${P/_p*}-src.zip |
38 |
- mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PV/*_p}.debian.tar.xz |
39 |
-" |
40 |
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PV/*_p}.debian.tar.xz" |
41 |
+S="${WORKDIR}/${PN}" |
42 |
|
43 |
-LICENSE="GPL-2 MIT" |
44 |
+LICENSE="BitstreamVera GPL-2 MIT" |
45 |
SLOT="0" |
46 |
KEYWORDS="~amd64 ~x86" |
47 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
48 |
|
49 |
RDEPEND=" |
50 |
${PYTHON_DEPS} |
51 |
- $(python_gen_cond_dep ' |
52 |
- >=dev-python/pygame-1.6.2[${PYTHON_MULTI_USEDEP}] |
53 |
- ') |
54 |
-" |
55 |
-DEPEND="${RDEPEND}" |
56 |
-BDEPEND="app-arch/unzip" |
57 |
+ $(python_gen_cond_dep 'dev-python/pygame[${PYTHON_MULTI_USEDEP}]') |
58 |
+ media-libs/sdl2-image[png] |
59 |
+ media-libs/sdl2-mixer[vorbis]" |
60 |
+BDEPEND=" |
61 |
+ ${PYTHON_DEPS} |
62 |
+ app-arch/unzip" |
63 |
|
64 |
-S="${WORKDIR}/${PN}" |
65 |
+PATCHES=( |
66 |
+ "${WORKDIR}"/debian/patches |
67 |
+) |
68 |
|
69 |
src_prepare() { |
70 |
# Drop Debian specific patch |
71 |
rm "${WORKDIR}"/debian/patches/use_debian_vera_ttf.patch || die |
72 |
- eapply -p1 "${WORKDIR}"/debian/patches/*.patch |
73 |
|
74 |
- xdg_src_prepare |
75 |
+ default |
76 |
} |
77 |
|
78 |
src_install() { |
79 |
insinto /usr/share/${PN} |
80 |
doins -r data *.py |
81 |
+ |
82 |
python_optimize "${ED}"/usr/share/${PN} |
83 |
|
84 |
- dodoc *.txt |
85 |
+ einstalldocs |
86 |
|
87 |
make_wrapper ${PN} "${EPYTHON} main.py" /usr/share/${PN} |