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-uae | |
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-uae')
-rw-r--r-- | games/libretro-uae/Makefile | 29 | ||||
-rw-r--r-- | games/libretro-uae/distinfo | 3 | ||||
-rw-r--r-- | games/libretro-uae/files/patch-libco_aarch64.c | 17 | ||||
-rw-r--r-- | games/libretro-uae/files/patch-sources_src_disk.c | 10 | ||||
-rw-r--r-- | games/libretro-uae/pkg-descr | 3 |
5 files changed, 62 insertions, 0 deletions
diff --git a/games/libretro-uae/Makefile b/games/libretro-uae/Makefile new file mode 100644 index 000000000000..9f5d7153774b --- /dev/null +++ b/games/libretro-uae/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= libretro-uae +PORTVERSION= 0.20200313 +CATEGORIES= games + +MAINTAINER= menelkir@itroll.org +COMMENT= Libretro port of UAE + +LICENSE= GPLv2 + +USES= compiler:c++11-lib gmake gl +USE_LDCONFIG= yes +USE_GL= gl + +USE_GITHUB= yes +GH_ACCOUNT= libretro +GH_TAGNAME= 8333daa + +PLIST_FILES= libexec/libretro/puae_libretro.so + +post-patch: + ${REINPLACE_CMD} 's/" GIT_VERSION/${GH_TAGNAME}"/' ${WRKSRC}/libretro/libretro.c + +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-uae/distinfo b/games/libretro-uae/distinfo new file mode 100644 index 000000000000..38587bd33f6a --- /dev/null +++ b/games/libretro-uae/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1584490306 +SHA256 (libretro-libretro-uae-0.20200313-8333daa_GH0.tar.gz) = e20c9b8c33e9da99db28bd5af18c3adeac30269fac9b1a965b5a49a587650847 +SIZE (libretro-libretro-uae-0.20200313-8333daa_GH0.tar.gz) = 5327186 diff --git a/games/libretro-uae/files/patch-libco_aarch64.c b/games/libretro-uae/files/patch-libco_aarch64.c new file mode 100644 index 000000000000..090db8ad5138 --- /dev/null +++ b/games/libretro-uae/files/patch-libco_aarch64.c @@ -0,0 +1,17 @@ +--- libco/aarch64.c.orig 2020-04-28 06:24:48 UTC ++++ 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-uae/files/patch-sources_src_disk.c b/games/libretro-uae/files/patch-sources_src_disk.c new file mode 100644 index 000000000000..b8b0cb3aba06 --- /dev/null +++ b/games/libretro-uae/files/patch-sources_src_disk.c @@ -0,0 +1,10 @@ +--- sources/src/disk.c.orig 2020-03-18 00:12:17 UTC ++++ sources/src/disk.c +@@ -282,7 +282,6 @@ static void disk_date (uae_u8 *p) + struct mytimeval mtv; + + gettimeofday (&tv, NULL); +- tv.tv_sec -= timezone; + mtv.tv_sec = tv.tv_sec; + mtv.tv_usec = tv.tv_usec; + timeval_to_amiga (&mtv, &days, &mins, &ticks); diff --git a/games/libretro-uae/pkg-descr b/games/libretro-uae/pkg-descr new file mode 100644 index 000000000000..6d32db128616 --- /dev/null +++ b/games/libretro-uae/pkg-descr @@ -0,0 +1,3 @@ +Libretro port of UAE. + +WWW: https://github.com/libretro/libretro-uae |