public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-rpg/crosscode/
@ 2022-03-26 22:06 James Le Cuirot
  0 siblings, 0 replies; 3+ messages in thread
From: James Le Cuirot @ 2022-03-26 22:06 UTC (permalink / raw
  To: gentoo-commits

commit:     3ef5c34f506305d28473f4dcc08c7abcd54efd2b
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 26 22:02:47 2022 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 22:02:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ef5c34f

games-rpg/crosscode: New package at version 1.4.2

Despite the arch-specific filename, this game will run under any platform that
NW.js supports. We're only supporting amd64 for now though.

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-rpg/crosscode/Manifest               |  1 +
 games-rpg/crosscode/crosscode-1.4.2.ebuild | 49 ++++++++++++++++++++++++++++++
 games-rpg/crosscode/metadata.xml           |  8 +++++
 3 files changed, 58 insertions(+)

diff --git a/games-rpg/crosscode/Manifest b/games-rpg/crosscode/Manifest
new file mode 100644
index 000000000000..df0d0771a9dc
--- /dev/null
+++ b/games-rpg/crosscode/Manifest
@@ -0,0 +1 @@
+DIST crosscode-new-linux64.zip 562370653 BLAKE2B 5e114e3618615604fe255e1e1a9817714af4bdf43aae1001f0416c78ab379e047fd5bef4e015f239fbead54aa9726531081ea9164e6bd3504eaa30c982b1feb1 SHA512 eae7d0bcdab3cb97dfa03f877bc8849118839aac762d69781d62efadfac8cc87c87e5a0d491d500161dbc8c9bea29ec767e175b9d5f7e62e100050ddc84d61ca

diff --git a/games-rpg/crosscode/crosscode-1.4.2.ebuild b/games-rpg/crosscode/crosscode-1.4.2.ebuild
new file mode 100644
index 000000000000..016286137665
--- /dev/null
+++ b/games-rpg/crosscode/crosscode-1.4.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHECKREQS_DISK_BUILD="767M"
+inherit check-reqs desktop wrapper xdg
+
+DESCRIPTION="Retro-inspired 2D Action RPG with a sci-fi story"
+HOMEPAGE="https://radicalfishgames.itch.io/crosscode"
+SRC_URI="crosscode-new-linux64.zip"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="bindist fetch splitdebug"
+
+RDEPEND="
+	>=dev-libs/nwjs-0.62.1
+"
+
+BDEPEND="
+	app-arch/unzip
+"
+
+S="${WORKDIR}"
+DIR="/usr/share/${PN}"
+
+pkg_nofetch() {
+	einfo "Please buy and download ${SRC_URI} from:"
+	einfo "  ${HOMEPAGE}"
+	einfo "and move it to your distfiles directory."
+}
+
+src_prepare() {
+	default
+
+	# Greenworks is only needed under Steam.
+	rm -r assets/modules/ || die
+}
+
+src_install() {
+	insinto "${DIR}"
+	doins -r assets/ favicon.png natives_blob.bin package.json
+
+	newicon assets/media/face/lore/lea.png ${PN}.png
+	make_wrapper ${PN} "nwjs '${EPREFIX}${DIR}'"
+	make_desktop_entry ${PN} CrossCode
+}

diff --git a/games-rpg/crosscode/metadata.xml b/games-rpg/crosscode/metadata.xml
new file mode 100644
index 000000000000..7c730d47817a
--- /dev/null
+++ b/games-rpg/crosscode/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>games@gentoo.org</email>
+		<name>Gentoo Games Project</name>
+	</maintainer>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-rpg/crosscode/
@ 2022-04-21 22:32 James Le Cuirot
  0 siblings, 0 replies; 3+ messages in thread
From: James Le Cuirot @ 2022-04-21 22:32 UTC (permalink / raw
  To: gentoo-commits

commit:     da854f5126c5fc8646c8e3d6e8fe398f545503e1
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 21 22:31:41 2022 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 22:31:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da854f51

games-rpg/crosscode: Bump to 1.4.2.2, drop old 1.4.2

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-rpg/crosscode/Manifest                                            | 2 +-
 .../crosscode/{crosscode-1.4.2.ebuild => crosscode-1.4.2.2.ebuild}      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-rpg/crosscode/Manifest b/games-rpg/crosscode/Manifest
index df0d0771a9dc..8337be932538 100644
--- a/games-rpg/crosscode/Manifest
+++ b/games-rpg/crosscode/Manifest
@@ -1 +1 @@
-DIST crosscode-new-linux64.zip 562370653 BLAKE2B 5e114e3618615604fe255e1e1a9817714af4bdf43aae1001f0416c78ab379e047fd5bef4e015f239fbead54aa9726531081ea9164e6bd3504eaa30c982b1feb1 SHA512 eae7d0bcdab3cb97dfa03f877bc8849118839aac762d69781d62efadfac8cc87c87e5a0d491d500161dbc8c9bea29ec767e175b9d5f7e62e100050ddc84d61ca
+DIST crosscode-new-linux64.zip 562371683 BLAKE2B b964b716e1e28a7e479452aad93c6ce85600cb65bea6bde237aa625d2352dd34861b9b70a0c440a8619fa58a24655daeef01d0fb61301a18d731167e591e4048 SHA512 8294628d93c6e8d339b11010abfd57877b21a0c6b3a30eb877c9174f019ccff9076763970fc46bc46fd14d48292f01da41c7e47b7edad370751986c765ac5b84

diff --git a/games-rpg/crosscode/crosscode-1.4.2.ebuild b/games-rpg/crosscode/crosscode-1.4.2.2.ebuild
similarity index 97%
rename from games-rpg/crosscode/crosscode-1.4.2.ebuild
rename to games-rpg/crosscode/crosscode-1.4.2.2.ebuild
index 016286137665..e28c2d292fc1 100644
--- a/games-rpg/crosscode/crosscode-1.4.2.ebuild
+++ b/games-rpg/crosscode/crosscode-1.4.2.2.ebuild
@@ -16,7 +16,7 @@ KEYWORDS="~amd64"
 RESTRICT="bindist fetch splitdebug"
 
 RDEPEND="
-	>=dev-libs/nwjs-0.62.1
+	>=dev-libs/nwjs-0.63.0
 "
 
 BDEPEND="


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-rpg/crosscode/
@ 2023-04-16 15:49 James Le Cuirot
  0 siblings, 0 replies; 3+ messages in thread
From: James Le Cuirot @ 2023-04-16 15:49 UTC (permalink / raw
  To: gentoo-commits

commit:     90a8da676a57973ca25a9d1397165744be4beaae
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 16 15:48:49 2023 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Apr 16 15:48:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90a8da67

games-rpg/crosscode: Fix for newer NW.js versions

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 .../{crosscode-1.4.2.2.ebuild => crosscode-1.4.2.2-r1.ebuild}        | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/games-rpg/crosscode/crosscode-1.4.2.2.ebuild b/games-rpg/crosscode/crosscode-1.4.2.2-r1.ebuild
similarity index 86%
rename from games-rpg/crosscode/crosscode-1.4.2.2.ebuild
rename to games-rpg/crosscode/crosscode-1.4.2.2-r1.ebuild
index e28c2d292fc1..b37a1d0cb29d 100644
--- a/games-rpg/crosscode/crosscode-1.4.2.2.ebuild
+++ b/games-rpg/crosscode/crosscode-1.4.2.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -44,6 +44,7 @@ src_install() {
 	doins -r assets/ favicon.png natives_blob.bin package.json
 
 	newicon assets/media/face/lore/lea.png ${PN}.png
-	make_wrapper ${PN} "nwjs '${EPREFIX}${DIR}'"
+	# --use-gl=egl is needed with recent NW.js versions.
+	make_wrapper ${PN} "nwjs '${EPREFIX}${DIR}' --use-gl=egl"
 	make_desktop_entry ${PN} CrossCode
 }


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-16 15:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-16 15:49 [gentoo-commits] repo/gentoo:master commit in: games-rpg/crosscode/ James Le Cuirot
  -- strict thread matches above, loose matches on Subject: below --
2022-04-21 22:32 James Le Cuirot
2022-03-26 22:06 James Le Cuirot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox