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-hatari | |
parent | 4e52d52bb35a2ae6ba242ea83e17075a5327ce6d (diff) | |
download | ports-f22c8b9e3227a66eee269d1015c3a5877a7c7585.tar.gz 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
Notes
Notes:
svn path=/head/; revision=533314
Diffstat (limited to 'games/libretro-hatari')
-rw-r--r-- | games/libretro-hatari/Makefile | 28 | ||||
-rw-r--r-- | games/libretro-hatari/distinfo | 3 | ||||
-rw-r--r-- | games/libretro-hatari/files/patch-libretro_libretro-sdk_libco_aarch64.c | 17 | ||||
-rw-r--r-- | games/libretro-hatari/files/patch-libretro_libretro-sdk_rthreads_rthreads.c | 11 | ||||
-rw-r--r-- | games/libretro-hatari/pkg-descr | 3 |
5 files changed, 62 insertions, 0 deletions
diff --git a/games/libretro-hatari/Makefile b/games/libretro-hatari/Makefile new file mode 100644 index 000000000000..3c57acf5a36e --- /dev/null +++ b/games/libretro-hatari/Makefile @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= libretro-hatari +PORTVERSION= 0.20200313 +CATEGORIES= games + +MAINTAINER= menelkir@itroll.org +COMMENT= Hatari is an Atari ST/STE/TT/Falcon emulator + +LICENSE= GPLv2 + +USES= compiler:c++11-lib gmake +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= libretro +GH_PROJECT= hatari +GH_TAGNAME= ec1b59c + +PLIST_FILES= libexec/libretro/hatari_libretro.so + +MAKEFILE= Makefile.libretro + +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-hatari/distinfo b/games/libretro-hatari/distinfo new file mode 100644 index 000000000000..c3f4559b55af --- /dev/null +++ b/games/libretro-hatari/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1584484620 +SHA256 (libretro-hatari-0.20200313-ec1b59c_GH0.tar.gz) = 8539808c52b0078d9f3341c20cd9d13583c678f6d7e425cd3722c967209c840b +SIZE (libretro-hatari-0.20200313-ec1b59c_GH0.tar.gz) = 2757042 diff --git a/games/libretro-hatari/files/patch-libretro_libretro-sdk_libco_aarch64.c b/games/libretro-hatari/files/patch-libretro_libretro-sdk_libco_aarch64.c new file mode 100644 index 000000000000..6233d550d983 --- /dev/null +++ b/games/libretro-hatari/files/patch-libretro_libretro-sdk_libco_aarch64.c @@ -0,0 +1,17 @@ +--- libretro/libretro-sdk/libco/aarch64.c.orig 2020-04-28 06:22:25 UTC ++++ libretro/libretro-sdk/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-hatari/files/patch-libretro_libretro-sdk_rthreads_rthreads.c b/games/libretro-hatari/files/patch-libretro_libretro-sdk_rthreads_rthreads.c new file mode 100644 index 000000000000..fef03b7c7275 --- /dev/null +++ b/games/libretro-hatari/files/patch-libretro_libretro-sdk_rthreads_rthreads.c @@ -0,0 +1,11 @@ +--- libretro/libretro-sdk/rthreads/rthreads.c.orig 2020-03-17 22:37:38 UTC ++++ libretro/libretro-sdk/rthreads/rthreads.c +@@ -44,6 +44,8 @@ + #include <mach/mach.h> + #endif + ++#include <time.h> ++ + struct thread_data + { + void (*func)(void*); diff --git a/games/libretro-hatari/pkg-descr b/games/libretro-hatari/pkg-descr new file mode 100644 index 000000000000..e8b81f3f8d39 --- /dev/null +++ b/games/libretro-hatari/pkg-descr @@ -0,0 +1,3 @@ +Hatari is an Atari ST/STE/TT/Falcon emulator + +WWW: https://github.com/libretro/hatari |