ab8045fde4
- All: Add C++ header guards - All: Move time.h include to common.h - ARM7: Fix MLA/*MULL/*MLAL timing - GB: Fix flickering when screen is strobed quickly - GB: Fix STAT blocking - GB MBC: Fix ROM bank overflows getting set to bank 0 - GB MBC: Fix swapping carts not detect new MBC - GB Timer: Improve DIV reset behavior - GB Timer: Fix DIV batching if TAC changes - GB Video: Reset renderer when loading state - GBA: Fix multiboot ROM loading - GBA: Fix multiboot loading resulting in too small WRAM - GBA BIOS: Implement BitUnPack - GBA BIOS: Fix ArcTan sign in HLE BIOS - GBA BIOS: Fix ArcTan2 sign in HLE BIOS (fixes mgba.io/i/689) - GBA BIOS: Fix INT_MIN/-1 crash - GBA Hardware: Fix crash if a savestate lies about game hardware - GBA I/O: Handle audio registers specially when deserializing - GBA Memory: Improve initial skipped BIOS state - GBA Savedata: Fix savedata unmasking (fixes mgba.io/i/441) - GBA Savedata: Update and fix Sharkport importing (fixes mgba.io/i/658) - GBA Video: Fix wrong palette on 256-color sprites in OBJWIN - GBA Video: Don't update background scanline params in mode 0 (fixes mgba.io/i/377) - Libretro: Fix saving in GB games (fixes mgba.io/i/486) - LR35902: Fix core never exiting with certain event patterns - LR35902: Fix pc overflowing current region off-by-one - LR35902: Fix decoding LD r, $imm and 0-valued immediates (fixes mgba.io/i/735) - Core: Fix crash with rewind if savestates shrink - Core: Fix interrupting a thread while on the thread (fixes mgba.io/i/692) - Core: Fix directory sets crashing on close if base isn't properly detached - Core: New, faster event timing subsystem - Core: Clean up some thread state checks - Core: Add generic checksum function - Core: Cores can now have multiple sets of callbacks - Core: Restore sleep callback - Core: Move rewind diffing to its own thread - Core: Ability to enumerate and modify video and audio channels - Core: List memory segments in the core - Core: Move savestate creation time to extdata - Core: Config values can now be hexadecimal - Core: Improved threading interrupted detection - GB: Trust ROM header for number of SRAM banks (fixes mgba.io/i/726) - GB: Reset with initial state of DIV register - GB MBC: New MBC7 implementation - GB Audio: Simplify envelope code - GB Audio: Improve initial envelope samples - GB Audio: Start implementing "zombie" audio (fixes mgba.io/i/389) - GB Video: Improved video timings - GBA: Ignore invalid opcodes used by the Wii U VC emulator - GBA, GB: ROM is now unloaded if a patch is applied - GBA DMA: Refactor DMA out of memory.c - GBA DMA: Move DMAs to using absolute timing - GBA I/O: Clear JOYSTAT RECV flag when reading JOY_RECV registers - GBA I/O: Set JOYSTAT TRANS flag when writing JOY_TRANS registers - GBA Memory: Support for Mo Jie Qi Bing by Vast Fame (taizou) - GBA Memory: Support reading/writing POSTFLG - GBA Memory: Remove unused prefetch cruft - GBA Timer: Improve accuracy of timers - GBA Video: Clean up unused timers - GBA Video: Allow multiple handles into the same tile cache - GBA Video, GB Video: Colors are now fully scaled - GBA Video: Optimize when BLD* registers are written frequently
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $NetBSD$
|
|
|
|
DISTNAME= libretro-mgba-0.6.0
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=mgba-emu/}
|
|
|
|
MAINTAINER= nia.alarie@gmail.com
|
|
HOMEPAGE= https://mgba.io/
|
|
COMMENT= Libretro core based on the mGBA emulator
|
|
LICENSE= mpl-2.0
|
|
|
|
GITHUB_PROJECT= mgba
|
|
|
|
WRKSRC= ${WRKDIR}/mgba-${PKGVERSION_NOREV}
|
|
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c c++ # doesn't really use C++, but cmake likes having it?
|
|
|
|
CMAKE_ARGS+= -DUSE_DEBUGGERS=OFF
|
|
CMAKE_ARGS+= -DUSE_GDB_STUB=OFF
|
|
|
|
CMAKE_ARGS+= -DUSE_EDITLINE=OFF
|
|
CMAKE_ARGS+= -DUSE_FFMPEG=OFF
|
|
CMAKE_ARGS+= -DUSE_ZLIB=OFF
|
|
CMAKE_ARGS+= -DUSE_MINIZIP=OFF
|
|
CMAKE_ARGS+= -DUSE_PNG=OFF
|
|
CMAKE_ARGS+= -DUSE_LIBZIP=OFF
|
|
CMAKE_ARGS+= -DUSE_MAGICK=OFF
|
|
CMAKE_ARGS+= -DUSE_SQLITE3=OFF
|
|
CMAKE_ARGS+= -DUSE_LZMA=OFF
|
|
CMAKE_ARGS+= -DUSE_EPOXY=OFF
|
|
|
|
CMAKE_ARGS+= -DBUILD_QT=OFF
|
|
CMAKE_ARGS+= -DBUILD_SDL=OFF
|
|
CMAKE_ARGS+= -DBUILD_GL=OFF
|
|
|
|
CMAKE_ARGS+= -DBUILD_LIBRETRO=ON
|
|
CMAKE_ARGS+= -DSKIP_LIBRARY=ON
|
|
CMAKE_ARGS+= -DLIBRETRO_LIBDIR=${PREFIX}/lib/libretro
|
|
|
|
CFLAGS+= -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600
|
|
|
|
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|