mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
games-engines/nxengine-evo: Bump to 2.6.5_p1
Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
1
games-engines/nxengine-evo/files/series
Normal file
1
games-engines/nxengine-evo/files/series
Normal file
@@ -0,0 +1 @@
|
||||
nxengine-evo-2.6.5-1-gcc13.patch
|
||||
55
games-engines/nxengine-evo/nxengine-evo-2.6.5_p1.ebuild
Normal file
55
games-engines/nxengine-evo/nxengine-evo-2.6.5_p1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user