Files
guru/games-engines/nxengine-evo/nxengine-evo-2.6.4.ebuild
Andrew Ammerlaan 1568f6389e games-engines/nxengine-evo: DEPENDS --> DEPEND
Closes: https://bugs.gentoo.org/780972
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2021-04-13 13:33:13 +02:00

41 lines
876 B
Bash

# 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"
DEPEND="
media-libs/libpng:=
media-libs/libsdl2:=
media-libs/sdl2-mixer:=
media-libs/sdl2-ttf:=
"
BDEPEND="app-arch/unzip"
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"
}