1 |
commit: 3ef5c34f506305d28473f4dcc08c7abcd54efd2b |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 26 22:02:47 2022 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 26 22:02:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ef5c34f |
7 |
|
8 |
games-rpg/crosscode: New package at version 1.4.2 |
9 |
|
10 |
Despite the arch-specific filename, this game will run under any platform that |
11 |
NW.js supports. We're only supporting amd64 for now though. |
12 |
|
13 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
14 |
|
15 |
games-rpg/crosscode/Manifest | 1 + |
16 |
games-rpg/crosscode/crosscode-1.4.2.ebuild | 49 ++++++++++++++++++++++++++++++ |
17 |
games-rpg/crosscode/metadata.xml | 8 +++++ |
18 |
3 files changed, 58 insertions(+) |
19 |
|
20 |
diff --git a/games-rpg/crosscode/Manifest b/games-rpg/crosscode/Manifest |
21 |
new file mode 100644 |
22 |
index 000000000000..df0d0771a9dc |
23 |
--- /dev/null |
24 |
+++ b/games-rpg/crosscode/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST crosscode-new-linux64.zip 562370653 BLAKE2B 5e114e3618615604fe255e1e1a9817714af4bdf43aae1001f0416c78ab379e047fd5bef4e015f239fbead54aa9726531081ea9164e6bd3504eaa30c982b1feb1 SHA512 eae7d0bcdab3cb97dfa03f877bc8849118839aac762d69781d62efadfac8cc87c87e5a0d491d500161dbc8c9bea29ec767e175b9d5f7e62e100050ddc84d61ca |
27 |
|
28 |
diff --git a/games-rpg/crosscode/crosscode-1.4.2.ebuild b/games-rpg/crosscode/crosscode-1.4.2.ebuild |
29 |
new file mode 100644 |
30 |
index 000000000000..016286137665 |
31 |
--- /dev/null |
32 |
+++ b/games-rpg/crosscode/crosscode-1.4.2.ebuild |
33 |
@@ -0,0 +1,49 @@ |
34 |
+# Copyright 1999-2022 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=8 |
38 |
+ |
39 |
+CHECKREQS_DISK_BUILD="767M" |
40 |
+inherit check-reqs desktop wrapper xdg |
41 |
+ |
42 |
+DESCRIPTION="Retro-inspired 2D Action RPG with a sci-fi story" |
43 |
+HOMEPAGE="https://radicalfishgames.itch.io/crosscode" |
44 |
+SRC_URI="crosscode-new-linux64.zip" |
45 |
+ |
46 |
+LICENSE="all-rights-reserved" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64" |
49 |
+RESTRICT="bindist fetch splitdebug" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-libs/nwjs-0.62.1 |
53 |
+" |
54 |
+ |
55 |
+BDEPEND=" |
56 |
+ app-arch/unzip |
57 |
+" |
58 |
+ |
59 |
+S="${WORKDIR}" |
60 |
+DIR="/usr/share/${PN}" |
61 |
+ |
62 |
+pkg_nofetch() { |
63 |
+ einfo "Please buy and download ${SRC_URI} from:" |
64 |
+ einfo " ${HOMEPAGE}" |
65 |
+ einfo "and move it to your distfiles directory." |
66 |
+} |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ default |
70 |
+ |
71 |
+ # Greenworks is only needed under Steam. |
72 |
+ rm -r assets/modules/ || die |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ insinto "${DIR}" |
77 |
+ doins -r assets/ favicon.png natives_blob.bin package.json |
78 |
+ |
79 |
+ newicon assets/media/face/lore/lea.png ${PN}.png |
80 |
+ make_wrapper ${PN} "nwjs '${EPREFIX}${DIR}'" |
81 |
+ make_desktop_entry ${PN} CrossCode |
82 |
+} |
83 |
|
84 |
diff --git a/games-rpg/crosscode/metadata.xml b/games-rpg/crosscode/metadata.xml |
85 |
new file mode 100644 |
86 |
index 000000000000..7c730d47817a |
87 |
--- /dev/null |
88 |
+++ b/games-rpg/crosscode/metadata.xml |
89 |
@@ -0,0 +1,8 @@ |
90 |
+<?xml version="1.0" encoding="UTF-8"?> |
91 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
92 |
+<pkgmetadata> |
93 |
+ <maintainer type="project"> |
94 |
+ <email>games@g.o</email> |
95 |
+ <name>Gentoo Games Project</name> |
96 |
+ </maintainer> |
97 |
+</pkgmetadata> |