1 |
commit: 7a550f9142402d46d9a46b0a298d0891b267aff3 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 25 17:06:55 2019 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 25 17:08:03 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a550f91 |
7 |
|
8 |
games-arcade/solarwolf: Debian fixes, python3 support |
9 |
|
10 |
Package-Manager: Portage-2.3.82, Repoman-2.3.20 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
|
13 |
games-arcade/solarwolf/Manifest | 1 + |
14 |
games-arcade/solarwolf/solarwolf-1.5-r2.ebuild | 47 ++++++++++++++++++++++++++ |
15 |
2 files changed, 48 insertions(+) |
16 |
|
17 |
diff --git a/games-arcade/solarwolf/Manifest b/games-arcade/solarwolf/Manifest |
18 |
index 20ce6d8d7d2..dd673590cfd 100644 |
19 |
--- a/games-arcade/solarwolf/Manifest |
20 |
+++ b/games-arcade/solarwolf/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST solarwolf-1.5.tar.gz 2045888 BLAKE2B 66498b1d9b202b45ff87ea9d4b1ab14dcb6e343e8b0761576cfbf1c84ee9575cbf665e4b94552eb764f5e4fbaa02739f62c9eb20217085a6d18483d3ca7eb587 SHA512 44d84976f7797e3b859f1e5e50f9f964e5c6d6d4437ad25cf04720035e8697cc0c86490fdbbf8d923320a5c15c6e3afd1fbcfb9f17e7e31ce6f7264004e991f2 |
23 |
+DIST solarwolf_1.5+dfsg1-1.debian.tar.xz 8392 BLAKE2B 099543a22e93775756a90867dfeb7926ab9131b8367fa356a6d74efb682d17c5426f5f5372079052967a752a0c75e1d2db36b2ce0b43d00010c65468da968817 SHA512 b4d8ad1a0e83e4cf97185b075a53b7f66fbc20f865e490f714295f678fc675a111d2318e7c0b543028b5d948677140070acb9c04b07fdab1165e37606f34d87a |
24 |
|
25 |
diff --git a/games-arcade/solarwolf/solarwolf-1.5-r2.ebuild b/games-arcade/solarwolf/solarwolf-1.5-r2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..cf1968f2691 |
28 |
--- /dev/null |
29 |
+++ b/games-arcade/solarwolf/solarwolf-1.5-r2.ebuild |
30 |
@@ -0,0 +1,47 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
36 |
+ |
37 |
+inherit desktop eutils python-r1 |
38 |
+ |
39 |
+DESCRIPTION="Action/arcade recreation of SolarFox" |
40 |
+HOMEPAGE="http://www.pygame.org/shredwheat/solarwolf/" |
41 |
+SRC_URI=" |
42 |
+ http://www.pygame.org/shredwheat/solarwolf/${P}.tar.gz |
43 |
+ mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}+dfsg1-1.debian.tar.xz |
44 |
+" |
45 |
+ |
46 |
+LICENSE="LGPL-2.1" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~hppa ~x86" |
49 |
+ |
50 |
+IUSE="" |
51 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
52 |
+ |
53 |
+RDEPEND="${PYTHON_DEPS} |
54 |
+ >=dev-python/pygame-1.5.6 |
55 |
+ media-libs/sdl-mixer[mod,vorbis] |
56 |
+" |
57 |
+DEPEND="${RDEPEND}" |
58 |
+BDEPEND="" |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ default |
62 |
+ |
63 |
+ eapply -p1 "${WORKDIR}"/debian/patches/*.patch |
64 |
+ |
65 |
+ find . -name .xvpics -print0 | xargs -0 rm -fr |
66 |
+ gunzip dist/${PN}.6.gz || die #619948 |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ insinto /usr/share/${PN} |
71 |
+ doins -r code data *py |
72 |
+ make_wrapper ${PN} "python3 ./solarwolf.py" /usr/share/${PN} |
73 |
+ newicon data/ship-big.png ${PN}.png |
74 |
+ make_desktop_entry ${PN} SolarWolf |
75 |
+ einstalldocs |
76 |
+ doman dist/${PN}.6 |
77 |
+} |