diff options
author | Loïc Bartoletti <lbartoletti@FreeBSD.org> | 2020-04-29 05:27:55 +0000 |
---|---|---|
committer | Loïc Bartoletti <lbartoletti@FreeBSD.org> | 2020-04-29 05:27:55 +0000 |
commit | f22c8b9e3227a66eee269d1015c3a5877a7c7585 (patch) | |
tree | b296a87781dae373931fea67f759c6cdab3106da /games/libretro-beetle_bsnes | |
parent | 4e52d52bb35a2ae6ba242ea83e17075a5327ce6d (diff) | |
download | freebsd-ports-f22c8b9e3227a66eee269d1015c3a5877a7c7585.zip |
[NEW PORTS]: games/libretro-* libretro cores for compatible emulators
Libretro is a simple API that allows for the creation of games and emulators. It needs a compatible libretro emulator to work (such as retroarch). This is a collection of 48 ports and a meta port to play retrogames.
libretro - meta port for libretro cores
libretro-2048 - 2048 puzzle
libretro-beetle_bsnes - Nintendo SNES emulator from Mednafen
libretro-beetle_gba - Nintendo Gameboy Advance emulator from Mednafen
libretro-beetle_lynx - Atari Lynx emulator from Mednafen
libretro-beetle_ngp - Neogeo Pocket emulator from Mednafen
libretro-beetle_pce_fast - NEC PC Engine emulator from Mednafen
libretro-beetle_pcfx - NEC PCFX emulator from Mednafen
libretro-beetle_psx - Sony Playstation emulator from Mednafen
libretro-beetle_supergrafx - NEC Supergrafx emulator from Mednafen
libretro-beetle_vb - Nintendo Virtual Boy emulator from Mednafen
libretro-beetle_wswan - Bandai Wonderswan emulator from Mednafen
libretro-bluemsx - MSX emulator
libretro-desmume2015 - Nintendo DS emulator
libretro-dosbox - MS-DOS emulator
libretro-emux - Emulator project support a couple of 8bit platforms
libretro-fbalpha - Final Burn Alpha, arcade emulator
libretro-fceumm - Nintendo NES emulator
libretro-fuse - ZX Spectrum emulator
libretro-gambatte - Nintendo Gameboy Color Emulator
libretro-genesis_plus_gx - Sega 8 and 16 bit multi-emulator
libretro-gpsp - Nintendo Gameboy emulator
libretro-gw - Nintendo Game & Watch emulator
libretro-handy - Atari Lynx emulator
libretro-hatari - Atari ST/STE/TT/Falcon emulator
libretro-mame2000 - Multiple Arcade Machine Emulator (0.37b5)
libretro-mame2003 - Multiple Arcade Machine Emulator (0.78)
libretro-mame2003_plus - Multiple Arcade Machine Emulator (0.78 with extra games)
libretro-mgba - Nintendo Gameboy Advance emulator
libretro-nestopia - Nintendo NES emulator
libretro-nxengine - Cave Story engine
libretro-o2em - Magnavox Odyssey 2 / Phillips Videopac emulator
libretro-opera - Panasonic 3DO emulator
libretro-pcsx_rearmed - Sony Playstion 1 emulator
libretro-picodrive - Sega 8 and 16 bit multi-emulator
libretro-prboom - Doom engine
libretro-prosystem - Atari 7800 / Prosystem emulator
libretro-quicknes - Nintendo NES emulator
libretro-scummvm - SCUMMVM backend
libretro-snes9x - Nintendo SNES emulator (Trunk)
libretro-snes9x2005 - Nintendo SNES emulator (1.43)
libretro-snes9x2010 - Nintendo SNES emulator (1.52)
libretro-stella2014 - Atari 2600 emulator
libretro-tgbdual - Nintendo Game Boy / Game Boy Color emulator
libretro-tyrquake - Quake engine
libretro-uae - Commodore Amiga emulator
libretro-vbanext - Nintendo Game Boy Advance emulator
libretro-vecx - GCE Vectrex emulator
libretro-virtualjaguar - Atari Jaguar emulator
PR: 244897
Submitted by: Daniel Menelkir <menelkir@itroll.org>
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D24516
Diffstat (limited to 'games/libretro-beetle_bsnes')
-rw-r--r-- | games/libretro-beetle_bsnes/Makefile | 26 | ||||
-rw-r--r-- | games/libretro-beetle_bsnes/distinfo | 3 | ||||
-rw-r--r-- | games/libretro-beetle_bsnes/files/patch-mednafen_snes_src_lib_libco_aarch64.c | 17 | ||||
-rw-r--r-- | games/libretro-beetle_bsnes/pkg-descr | 3 |
4 files changed, 49 insertions, 0 deletions
diff --git a/games/libretro-beetle_bsnes/Makefile b/games/libretro-beetle_bsnes/Makefile new file mode 100644 index 000000000000..326d17567cdb --- /dev/null +++ b/games/libretro-beetle_bsnes/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= libretro-beetle_bsnes +PORTVERSION= 0.20200313 +CATEGORIES= games + +MAINTAINER= menelkir@itroll.org +COMMENT= Standalone port of Mednafen bSNES to libretro + +LICENSE= GPLv2 + +USES= compiler:c++11-lib gmake +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= libretro +GH_PROJECT= beetle-bsnes-libretro +GH_TAGNAME= de22d84 + +PLIST_FILES= libexec/libretro/mednafen_snes_libretro.so + +do-install: + ${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/libretro; + ${INSTALL_LIB} $$(find ${WRKSRC}/${COREDIR}/ -name "*.so") ${STAGEDIR}/${PREFIX}/libexec/libretro; + +.include <bsd.port.mk> diff --git a/games/libretro-beetle_bsnes/distinfo b/games/libretro-beetle_bsnes/distinfo new file mode 100644 index 000000000000..48414b83b975 --- /dev/null +++ b/games/libretro-beetle_bsnes/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1584470447 +SHA256 (libretro-beetle-bsnes-libretro-0.20200313-de22d84_GH0.tar.gz) = 1d18a49d670d1e2baaeb11df6473dba10c209b256dd817e81cf2a7aac849fbe7 +SIZE (libretro-beetle-bsnes-libretro-0.20200313-de22d84_GH0.tar.gz) = 547398 diff --git a/games/libretro-beetle_bsnes/files/patch-mednafen_snes_src_lib_libco_aarch64.c b/games/libretro-beetle_bsnes/files/patch-mednafen_snes_src_lib_libco_aarch64.c new file mode 100644 index 000000000000..9ea4b83ad5f5 --- /dev/null +++ b/games/libretro-beetle_bsnes/files/patch-mednafen_snes_src_lib_libco_aarch64.c @@ -0,0 +1,17 @@ +--- mednafen/snes/src/lib/libco/aarch64.c.orig 2020-04-28 06:21:33 UTC ++++ mednafen/snes/src/lib/libco/aarch64.c +@@ -12,7 +12,13 @@ + #include <stdint.h> + + #ifndef IOS +-#include <malloc.h> ++#include <sys/param.h> ++ ++void * ++memalign(size_t align, size_t size) ++{ ++ return (aligned_alloc(align, roundup(size, align))); ++} + #endif + + #ifdef __cplusplus diff --git a/games/libretro-beetle_bsnes/pkg-descr b/games/libretro-beetle_bsnes/pkg-descr new file mode 100644 index 000000000000..f98c398ce60a --- /dev/null +++ b/games/libretro-beetle_bsnes/pkg-descr @@ -0,0 +1,3 @@ +Standalone port of Mednafen bSNES to libretro, itself a fork of bsnes 0.59. + +WWW: https://github.com/libretro/beetle-bsnes-libretro |