pkgsrc/emulators/libretro-reicast/Makefile
nia 1063d9c9ef libretro-reicast: Update to 20190508
pkgsrc changes:

* Attempt to detect supported OpenGL versions. Enable OIT support on
MesaLib>=12.
* Support aarch64 dynamic recompiler.

Changes:

*  lightgun crosshair for GLES mode
*  Twin Stick support (+ Saturn Twin-Stick helper mode)
*  Custom textures loading and dumping
*  Check CDI version to avoid loading any crap as a CDI image and crashing
*  Get rid of /data/ folder in custom textures path. Flip images up/down
*  arm64 dynarec
*  x64 dynarec optimization
*  OSX: build fix
*  revert a change not intended for anything but osx
*  android x64 build fix
*  arm64: direct mem access and crash fix
*  x64 dynarec: only use AVX/SSE3/FMA extensions when available
*  arm64: new AICA dynarec and improvement to the sh4 one
*  arm64 DSP dynarec
*  Pad dsp_t to keep savestates compatibility
*  Fix render to texture buffer alpha channel for 1555
*  generic dynarec was always used if compiled in
*  Support for redump.org CUE file format
*  Makefile change for cue file format
*  x64 dynarec: loss of precision with RSQRTSS and other fixes
*  missing #include
*  arm64: fix DSP dynarec crash
*  New core option: frame skipping
*  Enable RTT to buffer for Flag to Flag
*  naomi: avoid crash on exit if m4 cart fails to load
*  Implement CH2 DMA to 32-bit vram
*  OIT: reset scale param to 640x480 for final quad
*  GL: Ignore RTT upscale params when rendering to buffer
*  implement disk eject/open state
*  Implement soft reset. Fix Atomiswave flash sector size. TAWriteSQ 32bits
*  Aica: fix adpcm decoding
*  include TCW in HD texture hash
*  gdrom: stop playing cdda when switching disk
*  maple: reconnect devices after 100ms to allow the game to detect it
*  gl: performance optimizations for slow devices
*  fix race condition when loading custom/HD textures
*  fix scissor test and vertical scaling when using the Y scaler
*  Ignore scalefactor if < 0x400
*  Fix crash at startup when purupuru pack is disabled
*  Clang buildix
*  Introduce HAVE_CLANG option
*  Add m3u playlist support.
*  Added DLOW_END to enable better performance OOTB on classics/rpi and added a8a35 platform
*  Fixed LOW_END DEFINES
*  Remove dupe res from LOW_END
*  Fixed broadact and forced threaded rendering by default. Added LOW RES mode and added to classics only ATM.
*  NAOMI: Add sambaa & set parent for samba clones
*  Sync naomi roms with mame 0.206
*  (NAOMI) Check parent folder for gdrom
*  (NAOMI) Oops
*  (NAOMI) Fix folder detected as file
*  (NAOMI) Update romsets
*  Fix doa2 romsets
*  (libretro) Rework input init
*  Merge pull request #520 from libretro/bdm/input-init-rework
*  Add eeprom dumps
*  Handle auto-rotate
*  Implement some eeproms (vertical, pstone2, alpilot)
*  Update naomi_roms.h
*  Custom tex: Use retro_stat for path handling. Fix deadlock on exit (win32)
*  x64 dynarec: fix windows crash
2019-05-09 23:24:17 +00:00

53 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2019/05/09 23:24:17 nia Exp $
DISTNAME= libretro-reicast-20190508
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
GITHUB_PROJECT= reicast-emulator
GITHUB_TAG= 8c38fcedbe064f7fbda9c2213fd6987b7d4e4dbc
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://docs.libretro.com/library/reicast/
COMMENT= Libretro core based on the Reicast Sega Dreamcast emulator
LICENSE= gnu-gpl-v2
EXTRACT_USING= bsdtar
USE_TOOLS+= gmake
USE_LANGUAGES= c c++11
MAKE_FLAGS+= platform=unix
MAKE_FLAGS+= HAVE_OPENMP=0
MAKE_FLAGS+= HAVE_LTCG=0
MAKE_FLAGS+= SINGLE_PREC_FLAGS=1
MAKE_FLAGS+= GIT_VERSION="-pkgsrc"
MAKE_FLAGS+= CC_AS=${AS:Q}
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "x86_64"
MAKE_FLAGS+= WITH_DYNAREC=x86_64
.elif ${MACHINE_ARCH} == "i386"
MAKE_FLAGS+= WITH_DYNAREC=x86
.elif ${MACHINE_ARCH} == "aarch64"
MAKE_FLAGS+= WITH_DYNAREC=arm64
.elif !empty(MACHINE_ARCH:M*arm*)
CFLAGS+= -marm
MAKE_FLAGS+= WITH_DYNAREC=arm
.elif !empty(MACHINE_ARCH:M*mips*)
MAKE_FLAGS+= WITH_DYNAREC=mips
.else
MAKE_FLAGS+= WITH_DYNAREC=
.endif
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=link.T
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-no-undefined
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
${INSTALL_LIB} ${WRKSRC}/reicast_libretro.so \
${DESTDIR}${PREFIX}/lib/libretro/reicast_libretro.so
.include "options.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"