Tuesday, March 30, 2021

[update] emulators/mgba to 0.9.0

Hi,

Here's an update to mgba 0.9.0, full changelog on [0], tested a couple of games
on amd64.

Doesn't seem to depend on GLU/avresample anymore, comments, OK?

[0] https://mgba.io/2021/03/28/mgba-0.9.0/

Index: Makefile
===================================================================
RCS file: /cvs/ports/emulators/mgba/Makefile,v
retrieving revision 1.43
diff -u -p -u -r1.43 Makefile
--- Makefile 13 Dec 2020 12:31:54 -0000 1.43
+++ Makefile 30 Mar 2021 22:01:05 -0000
@@ -4,7 +4,7 @@ COMMENT-main = Game Boy Color/Advance e
COMMENT-qt = Game Boy Color/Advance emulator with GUI
COMMENT-libretro = Game Boy Color/Advance core for retroarch

-V = 0.8.4
+V = 0.9.0
GH_ACCOUNT = mgba-emu
GH_PROJECT = mgba
GH_TAGNAME = $V
@@ -28,10 +28,9 @@ MAINTAINER = Anthony J. Bentley <anthon
# MPL 2.0
PERMIT_PACKAGE = Yes

-cWANTLIB = GL GLU SDL2 avfilter \
+cWANTLIB = GL SDL2 avfilter \
avcodec avformat avutil c curses edit m png \
- pthread sqlite3 swresample swscale z zip elf \
- avresample
+ pthread sqlite3 swresample swscale z zip elf
WANTLIB-main = ${cWANTLIB}
WANTLIB-qt = ${cWANTLIB} mgba Qt5Core Qt5Gui Qt5Multimedia \
Qt5Network Qt5OpenGL Qt5Widgets ${COMPILER_LIBCXX}
Index: distinfo
===================================================================
RCS file: /cvs/ports/emulators/mgba/distinfo,v
retrieving revision 1.18
diff -u -p -u -r1.18 distinfo
--- distinfo 13 Dec 2020 12:31:54 -0000 1.18
+++ distinfo 30 Mar 2021 22:01:05 -0000
@@ -1,2 +1,2 @@
-SHA256 (mgba-0.8.4.tar.gz) = a5SHPayQQP1v2fE/dtxI80LpVPO0z4Jxe1lgHDoytyw=
-SIZE (mgba-0.8.4.tar.gz) = 12347906
+SHA256 (mgba-0.9.0.tar.gz) = kp+4a/2wDtzVQoG1b+eyDcN5Hbv7nMQwjF1kyOYNy/g=
+SIZE (mgba-0.9.0.tar.gz) = 12804761
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: /cvs/ports/emulators/mgba/patches/patch-CMakeLists_txt,v
retrieving revision 1.5
diff -u -p -u -r1.5 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt 24 Sep 2020 07:31:51 -0000 1.5
+++ patches/patch-CMakeLists_txt 30 Mar 2021 22:01:05 -0000
@@ -6,7 +6,7 @@ From https://github.com/mgba-emu/mgba/pu
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
-@@ -35,6 +35,7 @@ if(NOT LIBMGBA_ONLY)
+@@ -50,6 +50,7 @@ if(NOT LIBMGBA_ONLY)
set(USE_EDITLINE ON CACHE BOOL "Whether or not to enable the CLI-mode debugger")
endif()
set(USE_GDB_STUB ON CACHE BOOL "Whether or not to enable the GDB stub ARM debugger")
@@ -14,29 +14,22 @@ Index: CMakeLists.txt
set(USE_FFMPEG ON CACHE BOOL "Whether or not to enable FFmpeg support")
set(USE_ZLIB ON CACHE BOOL "Whether or not to enable zlib support")
set(USE_MINIZIP ON CACHE BOOL "Whether or not to enable external minizip support")
-@@ -477,6 +478,10 @@ find_feature(USE_SQLITE3 "sqlite3")
- find_feature(USE_ELF "libelf")
- find_feature(ENABLE_PYTHON "PythonLibs")
+@@ -546,6 +547,14 @@ if(USE_GDB_STUB)
+ endif()
+ source_group("Debugger" FILES ${DEBUGGER_SRC})

+if(USE_PLEDGE_UNVEIL)
+ set(USE_EPOXY OFF)
+endif()
+
- if(USE_FFMPEG)
- set(USE_LIBAVRESAMPLE ON)
- set(USE_LIBSWRESAMPLE ON)
-@@ -508,6 +513,10 @@ if(USE_GDB_STUB)
- endif()
- source_group("Debugger" FILES ${DEBUGGER_SRC})
-
+if(USE_PLEDGE_UNVEIL)
+ list(APPEND FEATURES PLEDGE_UNVEIL)
+endif()
+
if(USE_FFMPEG)
list(APPEND FEATURES FFMPEG)
- if(USE_LIBSWRESAMPLE)
-@@ -1228,6 +1237,7 @@ if(NOT QUIET AND NOT LIBMGBA_ONLY)
+ if(LIBSWRESAMPLE_FOUND)
+@@ -1231,6 +1240,7 @@ if(NOT QUIET AND NOT LIBMGBA_ONLY)
message(STATUS " CLI debugger: ${USE_EDITLINE}")
endif()
message(STATUS " GDB stub: ${USE_GDB_STUB}")
Index: patches/patch-src_platform_sdl_main_c
===================================================================
RCS file: /cvs/ports/emulators/mgba/patches/patch-src_platform_sdl_main_c,v
retrieving revision 1.4
diff -u -p -u -r1.4 patch-src_platform_sdl_main_c
--- patches/patch-src_platform_sdl_main_c 13 Apr 2020 02:53:05 -0000 1.4
+++ patches/patch-src_platform_sdl_main_c 30 Mar 2021 22:01:05 -0000
@@ -6,7 +6,7 @@ From https://github.com/mgba-emu/mgba/pu
Index: src/platform/sdl/main.c
--- src/platform/sdl/main.c.orig
+++ src/platform/sdl/main.c
-@@ -44,6 +44,11 @@ static void mSDLDeinit(struct mSDLRenderer* renderer);
+@@ -43,6 +43,11 @@ static void mSDLDeinit(struct mSDLRenderer* renderer);

static int mSDLRun(struct mSDLRenderer* renderer, struct mArguments* args);

@@ -18,7 +18,7 @@ Index: src/platform/sdl/main.c
static struct VFile* _state = NULL;

static void _loadState(struct mCoreThread* thread) {
-@@ -149,6 +154,15 @@ int main(int argc, char** argv) {
+@@ -164,6 +169,15 @@ int main(int argc, char** argv) {
renderer.player.bindings = &renderer.core->inputMap;
mSDLInitBindingsGBA(&renderer.core->inputMap);
mSDLInitEvents(&renderer.events);
@@ -34,7 +34,7 @@ Index: src/platform/sdl/main.c
mSDLEventsLoadConfig(&renderer.events, mCoreConfigGetInput(&renderer.core->config));
mSDLAttachPlayer(&renderer.events, &renderer.player);
mSDLPlayerLoadConfig(&renderer.player, mCoreConfigGetInput(&renderer.core->config));
-@@ -264,6 +278,12 @@ int mSDLRun(struct mSDLRenderer* renderer, struct mArg
+@@ -282,6 +296,12 @@ int mSDLRun(struct mSDLRenderer* renderer, struct mArg
state->close(state);
}
}
@@ -47,7 +47,7 @@ Index: src/platform/sdl/main.c
renderer->runloop(renderer, &thread);
mSDLPauseAudio(&renderer->audio);
if (mCoreThreadHasCrashed(&thread)) {
-@@ -312,3 +332,43 @@ static void mSDLDeinit(struct mSDLRenderer* renderer)
+@@ -321,3 +341,43 @@ static void mSDLDeinit(struct mSDLRenderer* renderer)

SDL_Quit();
}
Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/emulators/mgba/pkg/PLIST-main,v
retrieving revision 1.7
diff -u -p -u -r1.7 PLIST-main
--- pkg/PLIST-main 24 Sep 2020 07:31:51 -0000 1.7
+++ pkg/PLIST-main 30 Mar 2021 22:01:05 -0000
@@ -2,11 +2,11 @@
@bin bin/mgba
include/mgba/
include/mgba-util/
-include/mgba-util/arm-algo.h
include/mgba-util/circle-buffer.h
include/mgba-util/common.h
include/mgba-util/configuration.h
include/mgba-util/crc32.h
+include/mgba-util/dllexports.h
include/mgba-util/elf-read.h
include/mgba-util/export.h
include/mgba-util/formatting.h
@@ -73,7 +73,6 @@ include/mgba/core/timing.h
include/mgba/core/version.h
include/mgba/debugger/
include/mgba/debugger/debugger.h
-include/mgba/dllexports.h
include/mgba/feature/
include/mgba/feature/commandline.h
include/mgba/feature/thread-proxy.h
@@ -105,6 +104,7 @@ include/mgba/internal/debugger/
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/
include/mgba/internal/gb/audio.h
@@ -115,6 +115,7 @@ include/mgba/internal/gb/debugger/symbol
include/mgba/internal/gb/extra/
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
@@ -151,15 +152,12 @@ include/mgba/internal/gba/renderers/comm
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/
-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/
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
@@ -181,6 +179,8 @@ share/doc/mGBA/CHANGES
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/
share/doc/mGBA/licenses/blip_buf.txt
share/doc/mGBA/licenses/discord-rpc.txt

No comments:

Post a Comment