pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators mgba: update to 0.9.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/405cbe26b97c
branches:  trunk
changeset: 451817:405cbe26b97c
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 02 08:39:59 2021 +0000

description:
mgba: update to 0.9.1

0.9.1: (2021-04-18)
Emulation fixes:
 - ARM: Fix LDM^ with empty rlist (fixes mgba.io/i/2127)
 - Core: Fix first event scheduling after loading savestate
 - GB Serialize: Fix switching speed modes when loading a state (fixes mgba.io/i/2097)
 - GB: Fix skipping BIOS
 - GBA Memory: Fix loading Thumb savestates when in ARM mode
 - GBA Video: Fix window start on modes 3-5 with mosaic (fixes mgba.io/i/1690)
 - GBA Video: Fix mode 3-5 overflow with mosaic (fixes mgba.io/i/1691)
Other fixes:
 - GBA: Fix non-USA 1.0 FireRed misdetecting as a ROM hack (fixes mgba.io/i/2100)
 - GBA: Fix crash when ROM loading fails
 - GBA e-Reader: Fix bitmap short strip scanning
 - GBA Video: Fix mode 5 frame 1 caching (fixes mgba.io/i/2075)
 - GBA Video: Don't attempt to copy invalid registers when switching renderer
 - Qt: Fix crash when switching from high-resolution OpenGL renderer to software
 - Qt: Fix OpenGL renderer lagging behind when fast-forwarding (fixes mgba.io/i/2094)
 - Qt: Fix smudged window icon on Windows
 - Qt: Fix saving settings enabling camera when camera name changes (fixes mgba.io/i/2125)
 - Qt: Fix frames getting backlogged (fixes mgba.io/i/2122)
 - Qt: Restore maximized state when starting (fixes mgba.io/i/487)
Misc:
 - Core: Truncate preloading ROMs that slightly exceed max size (fixes mgba.io/i/2093)
 - GBA: Default-enable VBA bug compat for Ruby and Emerald ROM hacks
 - GBA Memory: Log GPIO writes on non-GPIO carts as Pak Hardware instead of Memory
 - Qt: Add ROM filename and size to bug reporter
 - Qt: Improve handling of disabling VBA bug compat mode (fixes mgba.io/i/2129)

0.9.0: (2021-03-28)
Features:
 - e-Reader card scanning
 - New tool for converting between different save game formats
 - WebP and APNG recording
 - Separate overrides for GBC games that can also run on SGB or regular GB
 - Game Boy Player features can be enabled by default for all compatible games
 - Frame and I/O viewer support for Game Boy
 - Bug report tool for gathering information helpful for reporting bugs
 - Mute option in homebrew ports
 - Status indicators for fast-forward and mute in homebrew ports
 - VBA bug compatibility mode for ROM hacks that don't work on real hardware
 - Read-only support for MBC6 flash memory
 - New unlicensed GB mappers: Pokémon Jade/Diamond, BBD, and Hitek
 - Stack tracing tools in ARM debugger (by ahigerd)
 - Command scripts for CLI debugger (by ahigerd)
 - Scheduled event dumping in CLI debugger
 - ARM disassembler now resolves addresses to symbol names
 - Add Game Boy Player feature support to ports
 - Individual window types can now be toggled in debugging views
 - Support for the Wii U GamePad when running as an injected VC title
Emulation fixes:
 - ARM: Fix ALU reading PC after shifting
 - ARM: Fix STR storing PC after address calculation
 - ARM: Fix Addressing mode 1 shifter on rs == pc (fixes mgba.io/i/1926)
 - ARM: Fix long multiply-and-accumulate register write order (fixes mgba.io/1/1956)
 - ARM: Fix long and accumulate multiply timing
 - GB: Partially fix timing for skipped BIOS
 - GB: Downgrade DMG-only ROMs from CGB mode even without boot ROM
 - GB: Fix marking BIOS as unmapped when skipping BIOS (fixes mgba.io/i/2061)
 - GB Audio: Fix serializing sweep time
 - GB Audio: Fix some channel 4 timing edge cases
 - GB MBC: Fix MBC1 mode changing behavior
 - GB MBC: Fix some MBC3 bit masking
 - GB Video: Fix state after skipping BIOS (fixes mgba.io/i/1715 and mgba.io/i/1716)
 - GBA: Fix timing advancing too quickly in rare cases
 - GBA: Clear GBP connection on reset
 - GBA Audio: Revamp FIFO emulation (fixes mgba.io/i/356, mgba.io/i/875, mgba.io/i/1847)
 - GBA BIOS: Implement dummy sound driver calls
 - GBA BIOS: Improve HLE BIOS timing
 - GBA BIOS: Fix reloading video registers after reset (fixes mgba.io/i/1808)
 - GBA BIOS: Make HLE BIOS calls interruptable (fixes mgba.io/i/1711 and mgba.io/i/1823)
 - GBA BIOS: Fix invalid decompression bounds checking
 - GBA DMA: Linger last DMA on bus (fixes mgba.io/i/301 and mgba.io/i/1320)
 - GBA DMA: Fix ordering and timing of overlapping DMAs
 - GBA I/O: Green swap register should be readable
 - GBA I/O: Ignore high bits on IME
 - GBA Memory: Improve gamepak prefetch timing
 - GBA Memory: Stall on VRAM access in mode 2 (fixes mgba.io/i/190)
 - GBA Memory: Improve robustness of Matrix memory support
 - GBA Memory: Mark Famicom Mini games 22 through 28 as non-mirroring
 - GBA Memory: Return correct byte for odd ROM open bus addresses
 - GBA Memory: Improved AGBPrint emulation of edge cases (fixes mgba.io/i/1867)
 - GBA Memory: Fix masking of misaligned jumps
 - GBA Serialize: Fix alignment check when loading states
 - GBA SIO: Fix copying Normal mode transfer values
 - GBA SIO: Fix Normal mode being totally broken (fixes mgba.io/i/1800)
 - GBA SIO: Fix deseralizing SIO registers
 - GBA SIO: Fix hanging on starting a second multiplayer window (fixes mgba.io/i/854)
 - GBA SIO: Fix Normal mode transfer start timing (fixes mgba.io/i/425)
 - GBA Timers: Fix toggling timer cascading while timer is active (fixes mgba.io/i/2043)
 - GBA Video: Latch scanline at end of Hblank (fixes mgba.io/i/1319)
 - GBA Video: Fix Hblank timing
 - GBA Video: Implement green swap (fixes mgba.io/i/1609)
 - GBA Video: Emulate sprite cycle limits in OpenGL renderer (fixes mgba.io/i/1635)
 - GBA Video: Fix OBJWIN erratic rendering in OpenGL renderer
 - GBA Video: Fix x offset in 256-color BG mosaic (fixes mgba.io/i/1684)
 - GBA Video: Fix transposed BG mosaic parameters in GL renderer
 - SM83: Emulate HALT bug
 - SM83: Improve mid-M-cycle interrupts
 - SM83: HALT should not consume an extra T-state
Other fixes:
 - 3DS: Fix thread cleanup
 - All: Improve export headers (fixes mgba.io/i/1738)
 - Cheats: Fix indirect write cheats (fixes mgba.io/i/2026)
 - CMake: Fix build with downstream minizip that exports incompatible symbols
 - CMake: Link with correct OpenGL library (fixes mgba.io/i/1872)
 - Core: Ensure ELF regions can be written before trying
 - Core: Fix threading improperly setting paused state while interrupted
 - Core: Fix loading ELF files that have unexpected empty program headers
 - Core: Fix destroying an mVL with an invalid channel count
 - Debugger: Don't skip undefined instructions when debugger attached
 - Debugger: Close trace log when done tracing
 - Debugger: Fix change watchpoints (fixes mgba.io/i/1947)
 - Debugger: Call CLI debugger system init
 - FFmpeg: Fix some small memory leaks
 - FFmpeg: Fix encoding of time base
 - GB: Fix crash when changing ROM while in banked address space
 - GB: Fix loading model overrides
 - GB MBC: Force minimum SRAM size on rare MBCs that always have SRAM
 - GB Serialize: Fix crash when loading pre-0.7 SGB savestates
 - GB Video: Fix SGB video logs
 - GB Video: Discard SGB packets in non-SGB mVLs
 - GB Video: Fix deserializing negative LX state
 - GB Video: Don't rendering negative batches
 - GBA: Fix loading multiboot ELF files (fixes mgba.io/i/1949)
 - GBA: Fix loading subsequent save files (fixes mgba.io/i/2067)
 - mGUI: Don't attempt to preload files larger than can fit in RAM
 - Qt: Force OpenGL paint engine creation thread (fixes mgba.io/i/1642)
 - Qt: Fix static compilation in MinGW (fixes mgba.io/i/1769)
 - Qt: Fix a race condition in the frame inspector
 - Qt: Load/save bytes from memory viewer in the order visible (fixes mgba.io/i/1900)
 - Qt: Fix running proxied video if it gets pushed to the main thread
 - Qt: Fix game display sometimes disappearing after closing load/save state screen
 - Qt: Fix cancelling pausing before the frame ends
 - Qt: Fix gamepad event dispatching (fixes mgba.io/i/1922)
 - Qt: Pre-attach GDB stub when launching with -g (fixes mgba.io/i/1950)
 - Qt: Fix crash when editing shortcuts with none selected (fixes mgba.io/i/1964)
 - Qt: Fix crashing when no OpenGL context can be obtained
 - Qt: Fix issues with I/O viewer not properly synchronizing state
 - Qt: Fix loading a new game crashing on Wayland (fixes mgba.io/i/1992)
 - Qt: Fix inability to clear hat bindings
 - SM83: Simplify register pair access on big endian
 - SM83: Disassemble STOP as one byte
 - Switch: Fix GB game height in pixel accurate mode (fixes mgba.io/i/2073)
 - Wii: Fix crash on unloading irregularly sized GBA ROMs
Misc:
 - 3DS: Use "wide mode" where applicable for slightly better filtering
 - 3DS: Batch directory reads
 - Core: Add savedataUpdated callback
 - Core: Add shutdown callback
 - Core: Rework thread state synchronization
 - Core: Improve support for ROM patch cheats, supporting disabling overlapping patches
 - Core: Adding to library is now recursive
 - GB: Allow pausing event loop while CPU is blocked
 - GB: Add support for sleep and shutdown callbacks
 - GB: Redo double speed emulation (closes mgba.io/i/1515)
 - GB: Support loading CGB-on-AGB boot ROM
 - GB Audio: Add channel 4 batching back (fixes mgba.io/i/1313)
 - GB Core: Return the current number of banks for ROM/SRAM, not theoretical max
 - GB I/O: Implement preliminary support for PCM12/PCM34 (closes mgba.io/i/1468)
 - GB MBC: Remove unused SRAM size
 - GBA: Allow pausing event loop while CPU is blocked
 - GBA BIOS: Division by zero should emit a FATAL error
 - GBA Cheats: Allow unlimited ROM patch-type codes per set
 - GBA Video: Convert OpenGL VRAM texture to integer
 - GBA Video: Skip attempting to render offscreen sprites in OpenGL
 - GBA Video: New GL palette approach, no more batch splitting on palette edits
 - GBA Video: Avoid integer division using reciprocal tricks
 - Debugger: Keep track of global cycle count
 - FFmpeg: Add looping option for GIF/APNG
 - FFmpeg: Add CRF support for applicable codecs
 - mGUI: Show battery percentage
 - mGUI: Skip second scan loop when possible
 - mGUI: Improve loading speed (fixes mgba.io/i/1957)
 - Qt: Renderer can be changed while a game is running
 - Qt: Add hex index to palette view
 - Qt: Add transformation matrix info to sprite view
 - Qt: Memory viewer now supports editing decimal values directly (closes mgba.io/i/1705)
 - Qt: Add copy button to GB printer dialog
 - Qt: Window title updates can be disabled (closes mgba.io/i/1912)
 - Qt: Redo OpenGL context thread handling (fixes mgba.io/i/1724)
 - Qt: Discard additional frame draws if waiting fails
 - Qt: Unify monospace font usage
 - Qt: Add button to jump to log settings
 - Qt: Use relative paths in portable mode when applicable (fixes mgba.io/i/838)
 - Qt: Better initial shortcut editor column sizes
 - SDL: Fall back to sw blit if OpenGL init fails
 - Switch: Optimize font rendering (fixes mgba.io/i/2078)
 - Switch: Allow switching between CPU and GPU renderers without reloading
 - Util: Reset vector size on deinit
 - VFS: Change semantics of VFile.sync on mapped files (fixes mgba.io/i/1730)

diffstat:

 emulators/libretro-mgba/Makefile                            |   5 +-
 emulators/libretro-mgba/distinfo                            |  13 +++---
 emulators/libretro-mgba/patches/patch-CMakeLists.txt        |  24 +++++-------
 emulators/libretro-mgba/patches/patch-version.cmake         |  22 -----------
 emulators/mgba/MESSAGE.NetBSD                               |  11 ++---
 emulators/mgba/Makefile                                     |   6 +-
 emulators/mgba/PLIST                                        |  16 ++++----
 emulators/mgba/distinfo                                     |  12 ++---
 emulators/mgba/patches/patch-src_platform_qt_CMakeLists.txt |  18 ---------
 emulators/mgba/patches/patch-version.cmake                  |  22 -----------
 10 files changed, 40 insertions(+), 109 deletions(-)

diffs (286 lines):

diff -r bac6c9df4424 -r 405cbe26b97c emulators/libretro-mgba/Makefile
--- a/emulators/libretro-mgba/Makefile  Sun May 02 08:26:49 2021 +0000
+++ b/emulators/libretro-mgba/Makefile  Sun May 02 08:39:59 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2020/12/03 14:53:19 nia Exp $
+# $NetBSD: Makefile,v 1.13 2021/05/02 08:40:00 nia Exp $
 
-DISTNAME=      mgba-0.8.4
+DISTNAME=      mgba-0.9.1
 PKGNAME=       libretro-${DISTNAME}
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mgba-emu/}
@@ -50,6 +50,7 @@
 # Avoid conflicting with emulators/mgba.
 post-install:
        ${RM} -rf ${DESTDIR}${PREFIX}/share/doc/mGBA
+       ${RM} -rf ${DESTDIR}${PREFIX}/include/mgba*
 
 .include "../../devel/libelf/buildlink3.mk"
 .include "../../graphics/MesaLib/buildlink3.mk"
diff -r bac6c9df4424 -r 405cbe26b97c emulators/libretro-mgba/distinfo
--- a/emulators/libretro-mgba/distinfo  Sun May 02 08:26:49 2021 +0000
+++ b/emulators/libretro-mgba/distinfo  Sun May 02 08:39:59 2021 +0000
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.10 2020/12/03 14:53:19 nia Exp $
+$NetBSD: distinfo,v 1.11 2021/05/02 08:40:00 nia Exp $
 
-SHA1 (mgba-0.8.4.tar.gz) = 071905eebbbb3389f4a88f533b9a452cbcae583e
-RMD160 (mgba-0.8.4.tar.gz) = 2812ea5c2816b96b2edfcbcfffcdda066152ec03
-SHA512 (mgba-0.8.4.tar.gz) = fe9c022211d03eb8a5db23901b2f99a5ee75a40f104e5edb2c6fd1a2860a37d9a3ba8d3b724b35ef958840986dd09002c58740a176290b415826e1a345d90390
-Size (mgba-0.8.4.tar.gz) = 12347906 bytes
-SHA1 (patch-CMakeLists.txt) = 1926d339e3d74a73b463686d6c0ca1e9e7be0ed7
+SHA1 (mgba-0.9.1.tar.gz) = 78c13b21dfef0d7954a8d2ee7a4725a84fd6b0bf
+RMD160 (mgba-0.9.1.tar.gz) = 218379534fd8562eb7a97cc48b3c20429f6557df
+SHA512 (mgba-0.9.1.tar.gz) = f818bbcb8d38a2caced9ccb96aa81b392c5f75860af0c16848c9ce2046f17328829cf45a00b211326bfab86c3cac76ae341dc54ab91e1b548085b1d1198a2578
+Size (mgba-0.9.1.tar.gz) = 12795893 bytes
+SHA1 (patch-CMakeLists.txt) = e4bb18352c0d5602084c0674c1b5d6c3cd84b9bc
 SHA1 (patch-include_mgba-util_math.h) = 448ca1bb3bbe2812e7d9482917c488ddcf3b48f0
-SHA1 (patch-version.cmake) = 7d6d44febe7bb0ff2231452f037def7cb3782e21
diff -r bac6c9df4424 -r 405cbe26b97c emulators/libretro-mgba/patches/patch-CMakeLists.txt
--- a/emulators/libretro-mgba/patches/patch-CMakeLists.txt      Sun May 02 08:26:49 2021 +0000
+++ b/emulators/libretro-mgba/patches/patch-CMakeLists.txt      Sun May 02 08:39:59 2021 +0000
@@ -1,10 +1,8 @@
-$NetBSD: patch-CMakeLists.txt,v 1.5 2020/12/03 14:53:19 nia Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.6 2021/05/02 08:40:00 nia Exp $
 
 Fix locale detection.
 
-Don't install headers.
-
---- CMakeLists.txt.orig        2020-10-30 01:25:25.000000000 +0000
+--- CMakeLists.txt.orig        2020-08-04 04:46:14.000000000 +0000
 +++ CMakeLists.txt
 @@ -364,7 +364,9 @@ if(HAVE_LOCALTIME_R)
        list(APPEND FUNCTION_DEFINES HAVE_LOCALTIME_R)
@@ -17,13 +15,13 @@
        list(APPEND FUNCTION_DEFINES HAVE_LOCALE)
        if (HAVE_SNPRINTF_L)
                list(APPEND FUNCTION_DEFINES HAVE_SNPRINTF_L)
-@@ -995,9 +997,6 @@ endif()
+@@ -1033,9 +1035,6 @@ endif()
+ 
+ file(GLOB READMES ${CMAKE_CURRENT_SOURCE_DIR}/README*.md)
  
- file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/mgba)
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/core/flags.h.in ${CMAKE_CURRENT_BINARY_DIR}/include/mgba/flags.h)
--install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/mgba DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT ${BINARY_NAME}-dev FILES_MATCHING PATTERN "*.h")
--install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/mgba-util DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT ${BINARY_NAME}-dev FILES_MATCHING PATTERN "*.h")
--install(FILES ${CMAKE_CURRENT_BINARY_DIR}/include/mgba/flags.h ${CMAKE_CURRENT_BINARY_DIR}/include/mgba-util/dllexports.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mgba COMPONENT ${BINARY_NAME}-dev)
- 
- if(WIN32)
-       set(BIN_DIR ".\\")
+-find_program(UNIX2DOS NAMES unix2dos)
+-find_program(MARKDOWN NAMES markdown kramdown pandoc)
+-
+ if(UNIX OR NOT UNIX2DOS)
+       if(UNIX OR NOT MARKDOWN)
+               install(FILES ${READMES} DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT ${BINARY_NAME})
diff -r bac6c9df4424 -r 405cbe26b97c emulators/libretro-mgba/patches/patch-version.cmake
--- a/emulators/libretro-mgba/patches/patch-version.cmake       Sun May 02 08:26:49 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-version.cmake,v 1.2 2019/01/27 17:04:16 nia Exp $
-
-Avoid looking for git to determine the version string.
-
---- version.cmake.orig 2019-01-27 00:06:06.000000000 +0000
-+++ version.cmake
-@@ -8,15 +8,6 @@ set(LIB_VERSION_ABI 0.7)
- set(LIB_VERSION_STRING ${LIB_VERSION_MAJOR}.${LIB_VERSION_MINOR}.${LIB_VERSION_PATCH})
- set(SUMMARY "${PROJECT_NAME} Game Boy Advance Emulator")
- 
--find_program(GIT git)
--if(GIT AND NOT SKIP_GIT)
--      execute_process(COMMAND ${GIT} describe --always --abbrev=40 --dirty WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" OUTPUT_VARIABLE GIT_COMMIT ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
--      execute_process(COMMAND ${GIT} describe --always --dirty WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" OUTPUT_VARIABLE GIT_COMMIT_SHORT ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
--      execute_process(COMMAND ${GIT} symbolic-ref --short HEAD WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" OUTPUT_VARIABLE GIT_BRANCH ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
--      execute_process(COMMAND ${GIT} rev-list HEAD --count WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" OUTPUT_VARIABLE GIT_REV ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
--      execute_process(COMMAND ${GIT} describe --tag --exact-match WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" OUTPUT_VARIABLE GIT_TAG ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
--endif()
--
- if(NOT GIT_REV)
-       set(GIT_REV -1)
- endif()
diff -r bac6c9df4424 -r 405cbe26b97c emulators/mgba/MESSAGE.NetBSD
--- a/emulators/mgba/MESSAGE.NetBSD     Sun May 02 08:26:49 2021 +0000
+++ b/emulators/mgba/MESSAGE.NetBSD     Sun May 02 08:39:59 2021 +0000
@@ -1,14 +1,11 @@
 ===========================================================================
-$NetBSD: MESSAGE.NetBSD,v 1.2 2020/06/19 13:06:35 nia Exp $
+$NetBSD: MESSAGE.NetBSD,v 1.3 2021/05/02 08:39:59 nia Exp $
 
-With the Qt UI (mgba-qt), the OpenGL video driver seems to cause frame
-drops below 60FPS on certain hardware. The SDL UI (mgba) seems to be solid.
+With the Qt UI, the OpenGL video driver seems to cause frame drops below
+6 0FPS on certain hardware. The SDL UI (mgba) seems to be solid, as does
+the Software driver.
 
 You might want to change the audio sample rate (in mGBA's settings)
 to the native rate of the device (usually 48000 Hz, or a multiple).
 
-NetBSD 9.0's default audio latency of 4-10ms seems good enough. If
-yours is set to any higher, sysctl hw.audio0.blk_ms might need to be
-lowered for full performance and framerates.
-
 ===========================================================================
diff -r bac6c9df4424 -r 405cbe26b97c emulators/mgba/Makefile
--- a/emulators/mgba/Makefile   Sun May 02 08:26:49 2021 +0000
+++ b/emulators/mgba/Makefile   Sun May 02 08:39:59 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2021/04/21 13:24:37 adam Exp $
+# $NetBSD: Makefile,v 1.25 2021/05/02 08:39:59 nia Exp $
 
-DISTNAME=      mgba-0.8.4
-PKGREVISION=   2
+DISTNAME=      mgba-0.9.1
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mgba-emu/}
 
@@ -18,6 +17,7 @@
 GCC_REQD+=     5
 
 CMAKE_ARGS+=   -DUSE_DISCORD_RPC=OFF
+CMAKE_ARGS+=   -DSKIP_GIT=ON
 
 .include "options.mk"
 .include "../../archivers/libzip/buildlink3.mk"
diff -r bac6c9df4424 -r 405cbe26b97c emulators/mgba/PLIST
--- a/emulators/mgba/PLIST      Sun May 02 08:26:49 2021 +0000
+++ b/emulators/mgba/PLIST      Sun May 02 08:39:59 2021 +0000
@@ -1,7 +1,6 @@
-@comment $NetBSD: PLIST,v 1.8 2020/12/03 14:47:25 nia Exp $
+@comment $NetBSD: PLIST,v 1.9 2021/05/02 08:39:59 nia Exp $
 bin/mgba
 ${PLIST.qt}bin/mgba-qt
-include/mgba-util/arm-algo.h
 include/mgba-util/circle-buffer.h
 include/mgba-util/common.h
 include/mgba-util/configuration.h
@@ -63,7 +62,6 @@
 include/mgba/core/timing.h
 include/mgba/core/version.h
 include/mgba/debugger/debugger.h
-include/mgba/dllexports.h
 include/mgba/feature/commandline.h
 include/mgba/feature/thread-proxy.h
 include/mgba/feature/video-logger.h
@@ -88,6 +86,7 @@
 include/mgba/internal/debugger/cli-debugger.h
 include/mgba/internal/debugger/gdb-stub.h
 include/mgba/internal/debugger/parser.h
+include/mgba/internal/debugger/stack-trace.h
 include/mgba/internal/debugger/symbols.h
 include/mgba/internal/gb/audio.h
 include/mgba/internal/gb/cheats.h
@@ -95,6 +94,7 @@
 include/mgba/internal/gb/debugger/symbols.h
 include/mgba/internal/gb/extra/cli.h
 include/mgba/internal/gb/gb.h
+include/mgba/internal/gb/input.h
 include/mgba/internal/gb/io.h
 include/mgba/internal/gb/mbc.h
 include/mgba/internal/gb/memory.h
@@ -126,13 +126,11 @@
 include/mgba/internal/gba/renderers/gl.h
 include/mgba/internal/gba/renderers/proxy.h
 include/mgba/internal/gba/renderers/video-software.h
-include/mgba/internal/gba/rr/mgm.h
-include/mgba/internal/gba/rr/rr.h
-include/mgba/internal/gba/rr/vbm.h
 include/mgba/internal/gba/savedata.h
 include/mgba/internal/gba/serialize.h
 include/mgba/internal/gba/sharkport.h
 include/mgba/internal/gba/sio.h
+include/mgba/internal/gba/sio/dolphin.h
 include/mgba/internal/gba/sio/lockstep.h
 include/mgba/internal/gba/timer.h
 include/mgba/internal/gba/vfame.h
@@ -145,8 +143,8 @@
 include/mgba/internal/sm83/isa-sm83.h
 include/mgba/internal/sm83/sm83.h
 lib/libmgba.so
-lib/libmgba.so.0.8
-lib/libmgba.so.0.8.3
+lib/libmgba.so.0.9
+lib/libmgba.so.${PKGVERSION}
 ${PLIST.qt}man/man6/mgba-qt.6
 man/man6/mgba.6
 ${PLIST.qt}share/applications/mgba-qt.desktop
@@ -154,6 +152,8 @@
 share/doc/mGBA/LICENSE
 share/doc/mGBA/README.md
 share/doc/mGBA/README_DE.md
+share/doc/mGBA/README_ES.md
+share/doc/mGBA/README_ZH_CN.md
 share/doc/mGBA/licenses/blip_buf.txt
 share/doc/mGBA/licenses/inih.txt
 share/icons/hicolor/128x128/apps/mgba.png
diff -r bac6c9df4424 -r 405cbe26b97c emulators/mgba/distinfo
--- a/emulators/mgba/distinfo   Sun May 02 08:26:49 2021 +0000
+++ b/emulators/mgba/distinfo   Sun May 02 08:39:59 2021 +0000
@@ -1,11 +1,9 @@
-$NetBSD: distinfo,v 1.10 2020/12/03 14:47:25 nia Exp $
+$NetBSD: distinfo,v 1.11 2021/05/02 08:39:59 nia Exp $
 
-SHA1 (mgba-0.8.4.tar.gz) = 071905eebbbb3389f4a88f533b9a452cbcae583e
-RMD160 (mgba-0.8.4.tar.gz) = 2812ea5c2816b96b2edfcbcfffcdda066152ec03
-SHA512 (mgba-0.8.4.tar.gz) = fe9c022211d03eb8a5db23901b2f99a5ee75a40f104e5edb2c6fd1a2860a37d9a3ba8d3b724b35ef958840986dd09002c58740a176290b415826e1a345d90390
-Size (mgba-0.8.4.tar.gz) = 12347906 bytes
+SHA1 (mgba-0.9.1.tar.gz) = 78c13b21dfef0d7954a8d2ee7a4725a84fd6b0bf
+RMD160 (mgba-0.9.1.tar.gz) = 218379534fd8562eb7a97cc48b3c20429f6557df
+SHA512 (mgba-0.9.1.tar.gz) = f818bbcb8d38a2caced9ccb96aa81b392c5f75860af0c16848c9ce2046f17328829cf45a00b211326bfab86c3cac76ae341dc54ab91e1b548085b1d1198a2578
+Size (mgba-0.9.1.tar.gz) = 12795893 bytes
 SHA1 (patch-CMakeLists.txt) = e4bb18352c0d5602084c0674c1b5d6c3cd84b9bc
 SHA1 (patch-include_mgba-util_math.h) = 448ca1bb3bbe2812e7d9482917c488ddcf3b48f0
 SHA1 (patch-include_mgba-util_platform_posix_threading.h) = deabb02eda72a4682ad84f263982eb6f8db4699b
-SHA1 (patch-src_platform_qt_CMakeLists.txt) = e8adb538c1319d6a5c380aa091aa3b10e3ed29e7
-SHA1 (patch-version.cmake) = 7d6d44febe7bb0ff2231452f037def7cb3782e21
diff -r bac6c9df4424 -r 405cbe26b97c emulators/mgba/patches/patch-src_platform_qt_CMakeLists.txt
--- a/emulators/mgba/patches/patch-src_platform_qt_CMakeLists.txt       Sun May 02 08:26:49 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-$NetBSD: patch-src_platform_qt_CMakeLists.txt,v 1.1 2019/06/13 19:12:44 nia Exp $
-
-Install .desktop file without needing desktop-file-install.
-
---- src/platform/qt/CMakeLists.txt.orig        2019-05-25 22:51:44.000000000 +0000
-+++ src/platform/qt/CMakeLists.txt
-@@ -298,10 +298,7 @@ install(TARGETS ${BINARY_NAME}-qt
-       RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT ${BINARY_NAME}-qt
-       BUNDLE DESTINATION Applications COMPONENT ${BINARY_NAME}-qt)
- if(UNIX AND NOT APPLE)
--      find_program(DESKTOP_FILE_INSTALL desktop-file-install)
--      if(DESKTOP_FILE_INSTALL)
--              install(CODE "execute_process(COMMAND ${DESKTOP_FILE_INSTALL} \"${CMAKE_SOURCE_DIR}/res/mgba-qt.desktop\" --dir 
\"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/applications/\")" COMPONENT ${BINARY_NAME}-qt)
--      endif()
-+      install(FILES ${CMAKE_SOURCE_DIR}/res/mgba-qt.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications COMPONENT ${BINARY_NAME}-qt)
- endif()
- if(UNIX)
-       install(FILES ${CMAKE_SOURCE_DIR}/doc/mgba-qt.6 DESTINATION ${MANDIR}/man6 COMPONENT ${BINARY_NAME}-qt)
diff -r bac6c9df4424 -r 405cbe26b97c emulators/mgba/patches/patch-version.cmake
--- a/emulators/mgba/patches/patch-version.cmake        Sun May 02 08:26:49 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-version.cmake,v 1.1 2019/06/08 22:46:03 nia Exp $
-
-Avoid looking for git to determine the version string.
-
---- version.cmake.orig 2019-01-27 00:06:06.000000000 +0000
-+++ version.cmake
-@@ -8,15 +8,6 @@ set(LIB_VERSION_ABI 0.7)
- set(LIB_VERSION_STRING ${LIB_VERSION_MAJOR}.${LIB_VERSION_MINOR}.${LIB_VERSION_PATCH})
- set(SUMMARY "${PROJECT_NAME} Game Boy Advance Emulator")
- 
--find_program(GIT git)
--if(GIT AND NOT SKIP_GIT)
--      execute_process(COMMAND ${GIT} describe --always --abbrev=40 --dirty WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" OUTPUT_VARIABLE GIT_COMMIT ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
--      execute_process(COMMAND ${GIT} describe --always --dirty WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" OUTPUT_VARIABLE GIT_COMMIT_SHORT ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
--      execute_process(COMMAND ${GIT} symbolic-ref --short HEAD WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" OUTPUT_VARIABLE GIT_BRANCH ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
--      execute_process(COMMAND ${GIT} rev-list HEAD --count WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" OUTPUT_VARIABLE GIT_REV ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
--      execute_process(COMMAND ${GIT} describe --tag --exact-match WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" OUTPUT_VARIABLE GIT_TAG ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE)
--endif()
--
- if(NOT GIT_REV)
-       set(GIT_REV -1)
- endif()



Home | Main Index | Thread Index | Old Index