From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-engines/nxengine-evo/files/, games-engines/nxengine-evo/
Date: Thu, 11 Jan 2024 11:57:58 +0000 (UTC) [thread overview]
Message-ID: <1704927967.154a84e5e9e44f08a30e4a8c5a37f3313d34420d.davidroman@gentoo> (raw)
commit: 154a84e5e9e44f08a30e4a8c5a37f3313d34420d
Author: Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Wed Jan 10 22:50:21 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Jan 10 23:06:07 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=154a84e5
games-engines/nxengine-evo: Bump to 2.6.5_p1
Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
games-engines/nxengine-evo/Manifest | 1 +
.../files/nxengine-evo-2.6.5-1-gcc13.patch | 10 ++++
games-engines/nxengine-evo/files/series | 1 +
.../nxengine-evo/nxengine-evo-2.6.5_p1.ebuild | 55 ++++++++++++++++++++++
4 files changed, 67 insertions(+)
diff --git a/games-engines/nxengine-evo/Manifest b/games-engines/nxengine-evo/Manifest
index 9f912b59dc..52f7fb7fd4 100644
--- a/games-engines/nxengine-evo/Manifest
+++ b/games-engines/nxengine-evo/Manifest
@@ -1,2 +1,3 @@
DIST cavestoryen.zip 1136575 BLAKE2B 9f9ee10099b26677f905074ba14dfe858ead679ecec4dc0154d5f8ad8d616c0c99750c685a33b3445fbf6d4bcb04f561866d1b9d8d6b457bd1cee45673c0db6f SHA512 9c7c2c6c8114974df14b1dce379b86da48caf299716e1de3d743e47c3ac6a8c13c4a0ada85778e69f11c2428f991dcbfcb0020212279f9c1787260102988cbc3
DIST nxengine-evo-2.6.4.tar.gz 3329255 BLAKE2B af72d2de83c01e24bea2487fe84cad67e4d031e9f3afa803691032c87bae515a6f1f636ab5abb12c64ba8a981a67aa59c68abcaad7d1120321e68a04c8da72db SHA512 e931d6ea6a726edecc75223139dd0a4b1eef840eca599b74146a98b7aa34f38dc5c627d3c65dd25ac23ce86531ce0a3a06a30814256743c035955c69641cae65
+DIST nxengine-evo-2.6.5-1.tar.gz 3891070 BLAKE2B 5481b546dd53d02b9d1ea1136a05ecd486bade4ac3fd644861714b47467e6e331237a5863b7c0823ef58053b43f2fea0e0a29212efd1d8a12cb9b5f3967e7101 SHA512 a2ff5995b114301f5576e44a3d70f614967aceaa5a50de668313899bbf23458bdb9039fd0f63fbe0446edd94edc0b7a990394ed94557d253b5c8fb0e1104e4b2
diff --git a/games-engines/nxengine-evo/files/nxengine-evo-2.6.5-1-gcc13.patch b/games-engines/nxengine-evo/files/nxengine-evo-2.6.5-1-gcc13.patch
new file mode 100644
index 0000000000..9dccb8395f
--- /dev/null
+++ b/games-engines/nxengine-evo/files/nxengine-evo-2.6.5-1-gcc13.patch
@@ -0,0 +1,10 @@
+--- nxengine-evo-2.6.5-1.orig/src/siflib/sectStringArray.h
++++ nxengine-evo-2.6.5-1/src/siflib/sectStringArray.h
+@@ -3,6 +3,7 @@
+ #define _SECT_STRINGARRAY_H
+ #include <string>
+ #include <vector>
++#include <cstdint>
+
+ // the SectStringArray handler decodes sif sections which consist of an array
+ // of pascal strings. This includes SIF_SECTION_SHEETS and SIF_SECTION_DIRECTORY.
diff --git a/games-engines/nxengine-evo/files/series b/games-engines/nxengine-evo/files/series
new file mode 100644
index 0000000000..17315f9d7e
--- /dev/null
+++ b/games-engines/nxengine-evo/files/series
@@ -0,0 +1 @@
+nxengine-evo-2.6.5-1-gcc13.patch
diff --git a/games-engines/nxengine-evo/nxengine-evo-2.6.5_p1.ebuild b/games-engines/nxengine-evo/nxengine-evo-2.6.5_p1.ebuild
new file mode 100644
index 0000000000..4005305d66
--- /dev/null
+++ b/games-engines/nxengine-evo/nxengine-evo-2.6.5_p1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 2018-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg cmake
+
+DESCRIPTION="rewrite of the jump-and-run platformer Doukutsu Monogatari(Cave Story)"
+HOMEPAGE="https://github.com/nxengine/nxengine-evo http://nxengine.sourceforge.net/"
+
+MY_PV="${PV/_p/-}"
+SRC_URI="
+ https://github.com/nxengine/nxengine-evo/archive/v${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz
+ https://www.cavestory.org/downloads/cavestoryen.zip
+"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+SLOT="0"
+LICENSE="GPL-3 freedist"
+KEYWORDS="~amd64"
+
+DEPEND="
+ media-libs/libpng:=
+ media-libs/libsdl2:=
+ media-libs/sdl2-mixer:=
+ media-libs/sdl2-ttf:=
+"
+RDEPEND="${DEPEND}"
+BDEPEND="app-arch/unzip"
+
+PATCHES=(
+ "${FILESDIR}/nxengine-evo-2.6.5-1-gcc13.patch"
+)
+
+src_compile() {
+ cmake_src_compile
+
+ cp -r data "${WORKDIR}/CaveStory" || die
+ cd "${WORKDIR}/CaveStory" || die
+ "${BUILD_DIR}/nxextract" || die
+}
+
+src_install() {
+ cmake_src_install
+
+ cd "${WORKDIR}/CaveStory"
+
+ insinto /usr/share/nxengine
+ doins -r data
+
+ newdoc Readme.txt Doukutsu-Readme.txt
+ docinto html
+ newdoc Manual.html Doukutsu-Manual.html
+ dodoc -r Manual
+}
reply other threads:[~2024-01-11 11:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1704927967.154a84e5e9e44f08a30e4a8c5a37f3313d34420d.davidroman@gentoo \
--to=davidroman96@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox