summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2018-12-23 15:05:51 +0000
committernia <nia@pkgsrc.org>2018-12-23 15:05:51 +0000
commitbc2621c72387c717e9679655bedbd47178dfa0db (patch)
tree97ff604b91a34f3b3894a09762d3abd90d2de7ff
parent7d0d581e90ca20b49946077fcf463a598dc91337 (diff)
downloadpkgsrc-bc2621c72387c717e9679655bedbd47178dfa0db.tar.gz
games/libretro-nxengine: Import version 20181126
Libretro is a simple but powerful development interface that allows for the easy creation of emulators, games and multimedia applications that can plug straight into any libretro-compatible frontend. This development interface is open to others so that they can run these pluggable emulator and game cores also in their own programs or devices. NXEngine is a Cave Story game engine clone developed by Caitlin Shaw. Cave Story is a platform-adventure video game developed over five years by Daisuke "Pixel" Amaya. Cave Story features 2D platform mechanics and is reminiscent of the classic games the developer played in his youth, such as Metroid and Castlevania. It received wide critical acclaim for its compelling characters, setting, story and gameplay.
-rw-r--r--doc/TODO12
-rw-r--r--games/Makefile3
-rw-r--r--games/libretro-nxengine/DESCR16
-rw-r--r--games/libretro-nxengine/MESSAGE11
-rw-r--r--games/libretro-nxengine/Makefile33
-rw-r--r--games/libretro-nxengine/PLIST2
-rw-r--r--games/libretro-nxengine/distinfo6
7 files changed, 76 insertions, 7 deletions
diff --git a/doc/TODO b/doc/TODO
index 72931073f5e..0d6eefedfae 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -1,4 +1,4 @@
-$NetBSD: TODO,v 1.18715 2018/12/21 09:33:23 wiz Exp $
+$NetBSD: TODO,v 1.18716 2018/12/23 15:05:51 nia Exp $
Suggested new packages
======================
@@ -325,11 +325,11 @@ Suggested new packages
Video game system emulators: libretro-citra, libretro-beetle-pcfx,
libretro-beetle-lynx (or Handy, too buggy?), libretro-kronos,
some version of MAME
- Standalone games: libretro-nxengine (Cave Story), libretro-2048,
- libretro-dinothawr, libretro-mrboom, libretro-thepowdertoy,
- libretro-openlara, libretro-gw, libretro-tyrquake (wip),
- libretro-prboom (wip), libretro-easyrpg, libretro-scummvm,
- libretro-stonesoup, libretro-cannonball, libretro-reminiscence
+ Standalone games: libretro-2048, libretro-dinothawr, libretro-mrboom,
+ libretro-thepowdertoy, libretro-openlara, libretro-gw,
+ libretro-tyrquake (wip), libretro-prboom (wip), libretro-easyrpg,
+ libretro-scummvm, libretro-stonesoup, libretro-cannonball,
+ libretro-reminiscence
Suggested package updates
=========================
diff --git a/games/Makefile b/games/Makefile
index ee907060ded..b5da2505f59 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.421 2018/12/21 16:57:35 nia Exp $
+# $NetBSD: Makefile,v 1.422 2018/12/23 15:05:51 nia Exp $
#
COMMENT= Games
@@ -227,6 +227,7 @@ SUBDIR+= libkdegames
SUBDIR+= libkmahjongg
SUBDIR+= liblcf
SUBDIR+= libretro-craft
+SUBDIR+= libretro-nxengine
SUBDIR+= lincity
SUBDIR+= lincity-ng
SUBDIR+= liquidwar
diff --git a/games/libretro-nxengine/DESCR b/games/libretro-nxengine/DESCR
new file mode 100644
index 00000000000..ec360dde13f
--- /dev/null
+++ b/games/libretro-nxengine/DESCR
@@ -0,0 +1,16 @@
+Libretro is a simple but powerful development interface that allows
+for the easy creation of emulators, games and multimedia applications
+that can plug straight into any libretro-compatible frontend. This
+development interface is open to others so that they can run these
+pluggable emulator and game cores also in their own programs or
+devices.
+
+NXEngine is a Cave Story game engine clone developed by Caitlin
+Shaw.
+
+Cave Story is a platform-adventure video game developed over five
+years by Daisuke "Pixel" Amaya. Cave Story features 2D platform
+mechanics and is reminiscent of the classic games the developer
+played in his youth, such as Metroid and Castlevania. It received
+wide critical acclaim for its compelling characters, setting, story
+and gameplay.
diff --git a/games/libretro-nxengine/MESSAGE b/games/libretro-nxengine/MESSAGE
new file mode 100644
index 00000000000..f59e3dc289a
--- /dev/null
+++ b/games/libretro-nxengine/MESSAGE
@@ -0,0 +1,11 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2018/12/23 15:05:52 nia Exp $
+
+To start the NXEngine core, you need to obtain NXEngine's data files. You
+can do this by going to RetroArch's main menu screen and selecting
+'Online Updater'. From there, select 'Content Downloader', then 'NXEngine'.
+
+After downloading Cave Story, go back to RetroArch's main menu screen.
+Select 'Load Content', then 'Downloads', then 'Doukutsu.exe'.
+
+===========================================================================
diff --git a/games/libretro-nxengine/Makefile b/games/libretro-nxengine/Makefile
new file mode 100644
index 00000000000..2994a027b16
--- /dev/null
+++ b/games/libretro-nxengine/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2018/12/23 15:05:52 nia Exp $
+
+DISTNAME= libretro-nxengine-20181126
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
+GITHUB_PROJECT= nxengine-libretro
+GITHUB_TAG= 0fd3d36eeb6339eb3c1cc185b0b6bd589331b1a9
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://docs.libretro.com/library/nxengine/
+COMMENT= Libretro core based on the NXEngine game engine for Cave Story
+LICENSE= gnu-gpl-v3
+
+EXTRACT_USING= bsdtar
+USE_TOOLS+= gmake
+USE_LANGUAGES= c c++
+
+.include "../../mk/endian.mk"
+
+.if ${MACHINE_ENDIAN} == "big"
+CFLAGS+= -DMSB_FIRST
+.endif
+
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-version-script=build/link.T
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-no-undefined
+
+INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
+
+do-install:
+ ${INSTALL_LIB} ${WRKSRC}/nxengine_libretro.so \
+ ${DESTDIR}${PREFIX}/lib/libretro/nxengine_libretro.so
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/libretro-nxengine/PLIST b/games/libretro-nxengine/PLIST
new file mode 100644
index 00000000000..3ac8a158c98
--- /dev/null
+++ b/games/libretro-nxengine/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/12/23 15:05:52 nia Exp $
+lib/libretro/nxengine_libretro.so
diff --git a/games/libretro-nxengine/distinfo b/games/libretro-nxengine/distinfo
new file mode 100644
index 00000000000..27e1440d1e2
--- /dev/null
+++ b/games/libretro-nxengine/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/12/23 15:05:52 nia Exp $
+
+SHA1 (libretro-nxengine-20181126-0fd3d36eeb6339eb3c1cc185b0b6bd589331b1a9.tar.gz) = 246cbeac38676c104c36258d40d2cf55288131ae
+RMD160 (libretro-nxengine-20181126-0fd3d36eeb6339eb3c1cc185b0b6bd589331b1a9.tar.gz) = bea45dc45cc3fd05b40e321e2ec32e6068d17318
+SHA512 (libretro-nxengine-20181126-0fd3d36eeb6339eb3c1cc185b0b6bd589331b1a9.tar.gz) = ff8a932768e1dab744c94862ef588075724e4fe978f5193eaf615242e7e76e0929ca7d75b3856656d03353ed4ef4790edd19de844304d2505cdd2e088919581a
+Size (libretro-nxengine-20181126-0fd3d36eeb6339eb3c1cc185b0b6bd589331b1a9.tar.gz) = 2705434 bytes