mgba: Update to 0.8.2 0.8.2: (2020-06-14) Emulation fixes: - ARM: Fix timing on Thumb shift instructions - GB: Fix GBC game registers after skipping BIOS - GB MBC: Support 4MB MBC30 ROMs (fixes mgba.io/i/1713) - GB Video: Fix BGPS value after skipping BIOS (fixes mgba.io/i/1717) - GBA: Add missing RTC overrides for Legendz games - GBA BIOS: Reset renderer when RegisterRamReset called (fixes mgba.io/i/1756) - GBA SIO: Fix Multiplayer busy bit - GBA SIO: Fix double-unloading active driver - GBA Timers: Fix deserializing count-up timers - GBA Video: Fix mosaic objects drawing past the end (fixes mgba.io/i/1702) - GBA Video: Fix disabling OBJWIN in GL renderer (fixes mgba.io/i/1759) - GBA Video: Add missing parts of 256-color mode 0 mosaic (fixes mgba.io/i/1701) - GBA Video: Fix double-size OBJ wrapping in GL renderer (fixes mgba.io/i/1712) - GBA Video: Simplify sprite cycle counting (fixes mgba.io/i/1279) - GBA Video: Fix sprite/backdrop blending regression Other fixes: - 3DS: Fix framelimiter on newer citro3d (fixes mgba.io/i/1771) - ARM: Fix disassembling of several S-type instructions (fixes mgba.io/i/1778) - ARM Debugger: Clear low bit on breakpoint addresses (fixes mgba.io/i/1764) - CMake: Always use devkitPro toolchain when applicable (fixes mgba.io/i/1755) - Core: Fix ELF loading regression (fixes mgba.io/i/1669) - Core: Fix crash modifying hash table entry (fixes mgba.io/i/1673) - GB Video: Fix some cases where SGB border doesn't draw to multi-buffers - GBA: Reject incorrectly sized BIOSes - GBA: Break infinite loop for 0-frame mVLs (fixes mgba.io/i/1723) - Qt: Fix OpenGL 2.1 support (fixes mgba.io/i/1678) - Qt: Fix unmapping zipped ROM (fixes mgba.io/i/1777) Misc: - 3DS: Clean up legacy initialization (fixes mgba.io/i/1768) - GBA Serialize: Only flunk BIOS check if official BIOS was expected - Qt: Disable Replace ROM option when no game loaded - Qt: Defer texture updates until frame is drawn (fixes mgba.io/i/1590) - Qt: Set icon for Discord Rich Presence - Qt: Show a warning when save file can't be openeddiff -r1.1 -r1.2 pkgsrc/emulators/mgba/MESSAGE.NetBSD
(nia)
@@ -1,7 +1,14 @@ | @@ -1,7 +1,14 @@ | |||
1 | =========================================================================== | 1 | =========================================================================== | |
2 | $NetBSD: MESSAGE.NetBSD,v 1.1 2019/06/08 22:46:03 nia Exp $ | 2 | $NetBSD: MESSAGE.NetBSD,v 1.2 2020/06/19 13:06:35 nia Exp $ | |
3 | 3 | |||
4 | Lowering the system audio latency (or blk_ms) with sysctl(8) may be | 4 | With the Qt UI (mgba-qt), the OpenGL video driver seems to cause frame | |
5 | required to achieve full performance and framerates. | 5 | drops below 60FPS on certain hardware. The SDL UI (mgba) seems to be solid. | |
6 | ||||
7 | You might want to change the audio sample rate (in mGBA's settings) | |||
8 | to the native rate of the device (usually 48000 Hz, or a multiple). | |||
9 | ||||
10 | NetBSD 9.0's default audio latency of 4-10ms seems good enough. If | |||
11 | yours is set to any higher, sysctl hw.audio0.blk_ms might need to be | |||
12 | lowered for full performance and framerates. | |||
6 | 13 | |||
7 | =========================================================================== | 14 | =========================================================================== |
@@ -1,30 +1,31 @@ | @@ -1,30 +1,31 @@ | |||
1 | # $NetBSD: Makefile,v 1.14 2020/06/02 08:23:46 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.15 2020/06/19 13:06:35 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= mgba-0.8.1 | 3 | DISTNAME= mgba-0.8.2 | |
4 | PKGREVISION= 4 | |||
5 | CATEGORIES= emulators | 4 | CATEGORIES= emulators | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=mgba-emu/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=mgba-emu/} | |
7 | 6 | |||
8 | MAINTAINER= nia@NetBSD.org | 7 | MAINTAINER= nia@NetBSD.org | |
9 | HOMEPAGE= https://mgba.io/ | 8 | HOMEPAGE= https://mgba.io/ | |
10 | COMMENT= Emulator for running Game Boy Advance games | 9 | COMMENT= Emulator for running Game Boy Advance games | |
11 | LICENSE= mpl-2.0 | 10 | LICENSE= mpl-2.0 | |
12 | 11 | |||
13 | EXTRACT_USING= bsdtar | |||
14 | USE_TOOLS+= pkg-config | 12 | USE_TOOLS+= pkg-config | |
15 | USE_CMAKE= yes | 13 | USE_CMAKE= yes | |
16 | USE_LANGUAGES= c c++ | 14 | USE_LANGUAGES= c c++ | |
17 | 15 | |||
18 | # using libzip | 16 | # C++14 | |
19 | CMAKE_ARGS+= -DUSE_MINIZIP=OFF | 17 | GCC_REQD+= 5 | |
18 | ||||
19 | CMAKE_ARGS+= -DUSE_DISCORD_RPC=OFF | |||
20 | CMAKE_ARGS+= -DUSE_MINIZIP=OFF # using libzip | |||
20 | 21 | |||
21 | .include "options.mk" | 22 | .include "options.mk" | |
22 | .include "../../archivers/libzip/buildlink3.mk" | 23 | .include "../../archivers/libzip/buildlink3.mk" | |
23 | .include "../../databases/sqlite3/buildlink3.mk" | 24 | .include "../../databases/sqlite3/buildlink3.mk" | |
24 | .include "../../devel/libelf/buildlink3.mk" | 25 | .include "../../devel/libelf/buildlink3.mk" | |
25 | .include "../../devel/zlib/buildlink3.mk" | 26 | .include "../../devel/zlib/buildlink3.mk" | |
26 | .include "../../devel/SDL2/buildlink3.mk" | 27 | .include "../../devel/SDL2/buildlink3.mk" | |
27 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | 28 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | |
28 | .include "../../graphics/png/buildlink3.mk" | 29 | .include "../../graphics/png/buildlink3.mk" | |
29 | .include "../../mk/pthread.buildlink3.mk" | 30 | .include "../../mk/pthread.buildlink3.mk" | |
30 | .include "../../mk/bsd.pkg.mk" | 31 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.5 2020/02/18 13:29:48 nia Exp $ | 1 | @comment $NetBSD: PLIST,v 1.6 2020/06/19 13:06:35 nia Exp $ | |
2 | bin/mgba | 2 | bin/mgba | |
3 | ${PLIST.qt}bin/mgba-qt | 3 | ${PLIST.qt}bin/mgba-qt | |
4 | include/mgba-util/arm-algo.h | 4 | include/mgba-util/arm-algo.h | |
5 | include/mgba-util/circle-buffer.h | 5 | include/mgba-util/circle-buffer.h | |
6 | include/mgba-util/common.h | 6 | include/mgba-util/common.h | |
7 | include/mgba-util/configuration.h | 7 | include/mgba-util/configuration.h | |
8 | include/mgba-util/crc32.h | 8 | include/mgba-util/crc32.h | |
9 | include/mgba-util/dllexports.h | 9 | include/mgba-util/dllexports.h | |
10 | include/mgba-util/elf-read.h | 10 | include/mgba-util/elf-read.h | |
11 | include/mgba-util/export.h | 11 | include/mgba-util/export.h | |
12 | include/mgba-util/formatting.h | 12 | include/mgba-util/formatting.h | |
13 | include/mgba-util/gui.h | 13 | include/mgba-util/gui.h | |
14 | include/mgba-util/gui/file-select.h | 14 | include/mgba-util/gui/file-select.h | |
@@ -144,26 +144,24 @@ include/mgba/internal/sm83/emitter-sm83. | @@ -144,26 +144,24 @@ include/mgba/internal/sm83/emitter-sm83. | |||
144 | include/mgba/internal/sm83/isa-sm83.h | 144 | include/mgba/internal/sm83/isa-sm83.h | |
145 | include/mgba/internal/sm83/sm83.h | 145 | include/mgba/internal/sm83/sm83.h | |
146 | lib/libmgba.so | 146 | lib/libmgba.so | |
147 | lib/libmgba.so.0.8 | 147 | lib/libmgba.so.0.8 | |
148 | lib/libmgba.so.${PKGVERSION} | 148 | lib/libmgba.so.${PKGVERSION} | |
149 | ${PLIST.qt}man/man6/mgba-qt.6 | 149 | ${PLIST.qt}man/man6/mgba-qt.6 | |
150 | man/man6/mgba.6 | 150 | man/man6/mgba.6 | |
151 | ${PLIST.qt}share/applications/mgba-qt.desktop | 151 | ${PLIST.qt}share/applications/mgba-qt.desktop | |
152 | share/doc/mGBA/CHANGES | 152 | share/doc/mGBA/CHANGES | |
153 | share/doc/mGBA/LICENSE | 153 | share/doc/mGBA/LICENSE | |
154 | share/doc/mGBA/README.md | 154 | share/doc/mGBA/README.md | |
155 | share/doc/mGBA/README_DE.md | 155 | share/doc/mGBA/README_DE.md | |
156 | share/doc/mGBA/licenses/blip_buf.txt | 156 | share/doc/mGBA/licenses/blip_buf.txt | |
157 | share/doc/mGBA/licenses/discord-rpc.txt | |||
158 | share/doc/mGBA/licenses/inih.txt | 157 | share/doc/mGBA/licenses/inih.txt | |
159 | share/doc/mGBA/licenses/rapidjson.txt | |||
160 | share/icons/hicolor/128x128/apps/mgba.png | 158 | share/icons/hicolor/128x128/apps/mgba.png | |
161 | share/icons/hicolor/16x16/apps/mgba.png | 159 | share/icons/hicolor/16x16/apps/mgba.png | |
162 | share/icons/hicolor/24x24/apps/mgba.png | 160 | share/icons/hicolor/24x24/apps/mgba.png | |
163 | share/icons/hicolor/256x256/apps/mgba.png | 161 | share/icons/hicolor/256x256/apps/mgba.png | |
164 | share/icons/hicolor/32x32/apps/mgba.png | 162 | share/icons/hicolor/32x32/apps/mgba.png | |
165 | share/icons/hicolor/48x48/apps/mgba.png | 163 | share/icons/hicolor/48x48/apps/mgba.png | |
166 | share/icons/hicolor/512x512/apps/mgba.png | 164 | share/icons/hicolor/512x512/apps/mgba.png | |
167 | share/icons/hicolor/64x64/apps/mgba.png | 165 | share/icons/hicolor/64x64/apps/mgba.png | |
168 | share/icons/hicolor/96x96/apps/mgba.png | 166 | share/icons/hicolor/96x96/apps/mgba.png | |
169 | ${PLIST.qt}share/mgba/nointro.dat | 167 | ${PLIST.qt}share/mgba/nointro.dat |
@@ -1,11 +1,12 @@ | @@ -1,11 +1,12 @@ | |||
1 | $NetBSD: distinfo,v 1.6 2020/02/18 13:29:48 nia Exp $ | 1 | $NetBSD: distinfo,v 1.7 2020/06/19 13:06:35 nia Exp $ | |
2 | 2 | |||
3 | SHA1 (mgba-0.8.1.tar.gz) = b22963764f7213ec0e599cf1504973f5655c92a7 | 3 | SHA1 (mgba-0.8.2.tar.gz) = 170597b9be302b942ec04e7cb2d8a24c8298c87f | |
4 | RMD160 (mgba-0.8.1.tar.gz) = bb2a05688cbd1965c670b18f162675adcf7acc2b | 4 | RMD160 (mgba-0.8.2.tar.gz) = 5c964dc3ef92e470c914f6a3939b343ee149c40a | |
5 | SHA512 (mgba-0.8.1.tar.gz) = 7873bde6a74e8a1509a3b5bba602da1c747ca1eff72adcf11f7b2572298d94766570fea0b920cb28c8b63a7d8237a15876b9feb9169edbf331b2d72f340734e2 | 5 | SHA512 (mgba-0.8.2.tar.gz) = 181abab9e94964e2027cb039ded6128af1364e1442c418b8703263c9e0c5befeb7aca4d925fb44f3e25e8711a2cc22b198ea00483c42aea3b1c7ba077223d426 | |
6 | Size (mgba-0.8.1.tar.gz) = 11893993 bytes | 6 | Size (mgba-0.8.2.tar.gz) = 12014352 bytes | |
7 | SHA1 (patch-CMakeLists.txt) = 025f67fa8cabfcbb7a2e1761e3352f23df5068f8 | 7 | SHA1 (patch-CMakeLists.txt) = 025f67fa8cabfcbb7a2e1761e3352f23df5068f8 | |
8 | SHA1 (patch-include_mgba-util_math.h) = 448ca1bb3bbe2812e7d9482917c488ddcf3b48f0 | 8 | SHA1 (patch-include_mgba-util_math.h) = 448ca1bb3bbe2812e7d9482917c488ddcf3b48f0 | |
9 | SHA1 (patch-include_mgba-util_platform_posix_threading.h) = deabb02eda72a4682ad84f263982eb6f8db4699b | 9 | SHA1 (patch-include_mgba-util_platform_posix_threading.h) = deabb02eda72a4682ad84f263982eb6f8db4699b | |
10 | SHA1 (patch-src_platform_qt_CMakeLists.txt) = e8adb538c1319d6a5c380aa091aa3b10e3ed29e7 | 10 | SHA1 (patch-src_platform_qt_CMakeLists.txt) = e8adb538c1319d6a5c380aa091aa3b10e3ed29e7 | |
11 | SHA1 (patch-src_platform_qt_Display.cpp) = 5cb9049b1d1dbf4652a579534bc6577908a552ca | |||
11 | SHA1 (patch-version.cmake) = 7d6d44febe7bb0ff2231452f037def7cb3782e21 | 12 | SHA1 (patch-version.cmake) = 7d6d44febe7bb0ff2231452f037def7cb3782e21 |
@@ -1,45 +1,42 @@ | @@ -1,45 +1,42 @@ | |||
1 | # $NetBSD: options.mk,v 1.4 2020/06/14 22:01:23 nia Exp $ | 1 | # $NetBSD: options.mk,v 1.5 2020/06/19 13:06:35 nia Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.mgba | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.mgba | |
4 | 4 | |||
5 | PKG_SUPPORTED_OPTIONS+= ffmpeg imagemagick qt5 opengl | 5 | PKG_SUPPORTED_OPTIONS+= ffmpeg qt5 opengl | |
6 | PKG_SUGGESTED_OPTIONS+= ffmpeg imagemagick qt5 opengl | 6 | PKG_SUGGESTED_OPTIONS+= ffmpeg qt5 opengl | |
7 | 7 | |||
8 | PLIST_SRC+= PLIST | 8 | PLIST_SRC+= PLIST | |
9 | PLIST_VARS+= qt | 9 | PLIST_VARS+= qt | |
10 | 10 | |||
11 | .include "../../mk/bsd.options.mk" | 11 | .include "../../mk/bsd.options.mk" | |
12 | 12 | |||
13 | .if !empty(PKG_OPTIONS:Mffmpeg) | 13 | .if !empty(PKG_OPTIONS:Mffmpeg) | |
14 | CMAKE_ARGS+= -DUSE_FFMPEG=ON | 14 | CMAKE_ARGS+= -DUSE_FFMPEG=ON | |
15 | .include "../../multimedia/ffmpeg4/buildlink3.mk" | 15 | .include "../../multimedia/ffmpeg4/buildlink3.mk" | |
16 | .else | 16 | .else | |
17 | CMAKE_ARGS+= -DUSE_FFMPEG=OFF | 17 | CMAKE_ARGS+= -DUSE_FFMPEG=OFF | |
18 | .endif | 18 | .endif | |
19 | 19 | |||
20 | .if !empty(PKG_OPTIONS:Mimagemagick) | |||
21 | CMAKE_ARGS+= -DUSE_MAGICK=ON | |||
22 | .include "../../graphics/ImageMagick/buildlink3.mk" | |||
23 | .else | |||
24 | CMAKE_ARGS+= -DUSE_MAGICK=OFF | |||
25 | .endif | |||
26 | ||||
27 | .if !empty(PKG_OPTIONS:Mqt5) | 20 | .if !empty(PKG_OPTIONS:Mqt5) | |
28 | PLIST.qt= yes | 21 | PLIST.qt= yes | |
29 | CMAKE_ARGS+= -DBUILD_QT=ON | 22 | CMAKE_ARGS+= -DBUILD_QT=ON | |
23 | # We probably don't actually want Qt5Multimedia. | |||
24 | # It's an option as an audio output, but SDL supports many more pkgsrc | |||
25 | # platforms natively, without going via PulseAudio. | |||
26 | CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Multimedia=TRUE | |||
30 | TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools | 27 | TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools | |
31 | .include "../../x11/qt5-qtbase/buildlink3.mk" | 28 | .include "../../x11/qt5-qtbase/buildlink3.mk" | |
32 | .include "../../x11/qt5-qtmultimedia/buildlink3.mk" | 29 | #.include "../../x11/qt5-qtmultimedia/buildlink3.mk" | |
33 | .else | 30 | .else | |
34 | CMAKE_ARGS+= -DBUILD_QT=OFF | 31 | CMAKE_ARGS+= -DBUILD_QT=OFF | |
35 | .endif | 32 | .endif | |
36 | 33 | |||
37 | .if !empty(PKG_OPTIONS:Mopengl) | 34 | .if !empty(PKG_OPTIONS:Mopengl) | |
38 | CMAKE_ARGS+= -DBUILD_GL=ON | 35 | CMAKE_ARGS+= -DBUILD_GL=ON | |
39 | CMAKE_ARGS+= -DUSE_EPOXY=ON | 36 | CMAKE_ARGS+= -DUSE_EPOXY=ON | |
40 | .include "../../graphics/MesaLib/buildlink3.mk" | 37 | .include "../../graphics/MesaLib/buildlink3.mk" | |
41 | .include "../../graphics/glu/buildlink3.mk" | 38 | .include "../../graphics/glu/buildlink3.mk" | |
42 | .include "../../graphics/libepoxy/buildlink3.mk" | 39 | .include "../../graphics/libepoxy/buildlink3.mk" | |
43 | .else | 40 | .else | |
44 | CMAKE_ARGS+= -DBUILD_GL=OFF | 41 | CMAKE_ARGS+= -DBUILD_GL=OFF | |
45 | CMAKE_ARGS+= -DUSE_EPOXY=OFF | 42 | CMAKE_ARGS+= -DUSE_EPOXY=OFF |