aboutsummaryrefslogtreecommitdiff
path: root/games/libretro-desmume2015
diff options
context:
space:
mode:
authorLoïc Bartoletti <lbartoletti@FreeBSD.org>2020-04-29 05:27:55 +0000
committerLoïc Bartoletti <lbartoletti@FreeBSD.org>2020-04-29 05:27:55 +0000
commitf22c8b9e3227a66eee269d1015c3a5877a7c7585 (patch)
treeb296a87781dae373931fea67f759c6cdab3106da /games/libretro-desmume2015
parent4e52d52bb35a2ae6ba242ea83e17075a5327ce6d (diff)
downloadports-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-desmume2015')
-rw-r--r--games/libretro-desmume2015/Makefile31
-rw-r--r--games/libretro-desmume2015/distinfo3
-rw-r--r--games/libretro-desmume2015/files/patch-Makefile.freebsd5
-rw-r--r--games/libretro-desmume2015/files/patch-desmume_src_libretro-common_rthreads_rthreads.c11
-rw-r--r--games/libretro-desmume2015/pkg-descr3
5 files changed, 53 insertions, 0 deletions
diff --git a/games/libretro-desmume2015/Makefile b/games/libretro-desmume2015/Makefile
new file mode 100644
index 000000000000..671f76ccf9ba
--- /dev/null
+++ b/games/libretro-desmume2015/Makefile
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME= libretro-desmume2015
+PORTVERSION= 0.20200313
+CATEGORIES= games
+
+MAINTAINER= menelkir@itroll.org
+COMMENT= Port of Desmume to libretro based on Desmume SVN circa 2015
+
+LICENSE= GPLv2
+
+BROKEN_aarch64= fails to compile: invokes x86 assembler
+
+USES= compiler:c++11-lib gmake gl
+USE_LDCONFIG= yes
+USE_GL= gl
+
+USE_GITHUB= yes
+GH_ACCOUNT= libretro
+GH_PROJECT= desmume2015
+GH_TAGNAME= 93d5789
+
+PLIST_FILES= libexec/libretro/desmume2015_libretro.so
+
+MAKEFILE= Makefile.freebsd
+
+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-desmume2015/distinfo b/games/libretro-desmume2015/distinfo
new file mode 100644
index 000000000000..7d4d85918778
--- /dev/null
+++ b/games/libretro-desmume2015/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1584483086
+SHA256 (libretro-desmume2015-0.20200313-93d5789_GH0.tar.gz) = 950cb8b0e3564e6c810a9b29bf0ae8a4619f3b5b2db8d97d8ee150199cc2e33a
+SIZE (libretro-desmume2015-0.20200313-93d5789_GH0.tar.gz) = 1374909
diff --git a/games/libretro-desmume2015/files/patch-Makefile.freebsd b/games/libretro-desmume2015/files/patch-Makefile.freebsd
new file mode 100644
index 000000000000..aea5189f337d
--- /dev/null
+++ b/games/libretro-desmume2015/files/patch-Makefile.freebsd
@@ -0,0 +1,5 @@
+--- Makefile.freebsd.orig 2020-03-17 22:12:07 UTC
++++ Makefile.freebsd
+@@ -0,0 +1,2 @@
++all:
++ cd desmume && ${MAKE} -f Makefile.libretro
diff --git a/games/libretro-desmume2015/files/patch-desmume_src_libretro-common_rthreads_rthreads.c b/games/libretro-desmume2015/files/patch-desmume_src_libretro-common_rthreads_rthreads.c
new file mode 100644
index 000000000000..33166ce59c20
--- /dev/null
+++ b/games/libretro-desmume2015/files/patch-desmume_src_libretro-common_rthreads_rthreads.c
@@ -0,0 +1,11 @@
+--- desmume/src/libretro-common/rthreads/rthreads.c.orig 2020-03-17 22:13:05 UTC
++++ desmume/src/libretro-common/rthreads/rthreads.c
+@@ -60,6 +60,8 @@
+ #include <mach/mach.h>
+ #endif
+
++#include <sys/time.h>
++
+ struct thread_data
+ {
+ void (*func)(void*);
diff --git a/games/libretro-desmume2015/pkg-descr b/games/libretro-desmume2015/pkg-descr
new file mode 100644
index 000000000000..910c650ef930
--- /dev/null
+++ b/games/libretro-desmume2015/pkg-descr
@@ -0,0 +1,3 @@
+Port of Desmume to libretro based on Desmume SVN circa 2015.
+
+WWW: https://github.com/libretro/desmume2015