games-engines/nxengine-evo: New Package

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2021-03-06 05:48:19 +01:00
parent cf22746fd3
commit 364bd364a4
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST cavestoryen.zip 1136575 BLAKE2B 9f9ee10099b26677f905074ba14dfe858ead679ecec4dc0154d5f8ad8d616c0c99750c685a33b3445fbf6d4bcb04f561866d1b9d8d6b457bd1cee45673c0db6f SHA512 9c7c2c6c8114974df14b1dce379b86da48caf299716e1de3d743e47c3ac6a8c13c4a0ada85778e69f11c2428f991dcbfcb0020212279f9c1787260102988cbc3
DIST nxengine-evo-2.6.4.tar.gz 3329255 BLAKE2B af72d2de83c01e24bea2487fe84cad67e4d031e9f3afa803691032c87bae515a6f1f636ab5abb12c64ba8a981a67aa59c68abcaad7d1120321e68a04c8da72db SHA512 e931d6ea6a726edecc75223139dd0a4b1eef840eca599b74146a98b7aa34f38dc5c627d3c65dd25ac23ce86531ce0a3a06a30814256743c035955c69641cae65

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>contact@hacktivis.me</email>
<name>Haelwenn (lanodan) Monnier</name>
</maintainer>
<upstream>
<remote-id type="github">nxengine/nxengine-evo</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,39 @@
# Copyright 2018-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="rewrite of the jump-and-run platformer Doukutsu Monogatari(Cave Story)"
HOMEPAGE="https://github.com/nxengine/nxengine-evo http://nxengine.sourceforge.net/"
SRC_URI="
https://github.com/nxengine/nxengine-evo/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://www.cavestory.org/downloads/cavestoryen.zip
"
SLOT="0"
LICENSE="GPL-3"
KEYWORDS="~amd64"
DEPENDS="
media-libs/libpng:=
media-libs/libsdl2:=
media-libs/sdl2-mixer:=
media-libs/sdl2-ttf:=
"
src_compile() {
cmake_src_compile
cp -r data/ "${WORKDIR}/CaveStory"
cd "${WORKDIR}/CaveStory"
"${S}"/bin/extract
}
src_install() {
newbin bin/extract nx-extract
dobin bin/nx
dodir /usr/share
cp -r "${WORKDIR}/CaveStory/" "${ED}/usr/share/nxengine"
}