summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-08-09 14:37:22 +0000
committernia <nia@pkgsrc.org>2020-08-09 14:37:22 +0000
commite3ecf2336a15dab0193c54c05919635b19314134 (patch)
tree1bf6c830b9175fb54fbf5749e4cd27a3feffbc3f /emulators
parent64d4185a4a0a8c40fcbb9268fde4f428bd8b196a (diff)
downloadpkgsrc-e3ecf2336a15dab0193c54c05919635b19314134.tar.gz
mgba: Update to 0.8.3
0.8.3: (2020-08-03) Emulation fixes: - ARM: Fix LDM^ writeback to user-mode register - ARM: Fix LDM^ {pc} differences (fixes mgba.io/i/1698) - ARM: Fix edge case with Thumb SBC flags (fixes mgba.io/i/1818) - GB MBC: Fix MBC1 RAM enable bit selection - GB MBC: Fix MBC2 bit selection - GB Memory: Fix OAM DMA from top 8 kB - GB Video: Always initialize palette - GBA Savedata: Fix potential corruption when loading a 1Mbit flash save - GBA Video: Fix invalid read in mode 4 mosaic - GBA Video: Fix color of disabled screen - SM83: Fix flags on little endian PowerPC Other fixes: - All: Correct format strings for some numbers on Windows (fixes mgba.io/i/1794) - All: Correct more format strings on Windows (fixes mgba.io/i/1817) - ARM: Fix decoder detection of branches with ALU and LDR instrctions - CMake: Fix build with libzip 1.7 - CMake: Add missing dllexports.h file to dev installation - GB Core: Fix extracting SRAM when none is present - GBA: Fix leak if attempting to load BIOS multiple times - GBA Memory: Fix instability on Wii when using AGBPrint - GBA Savedata: Fix extracting save when not yet configured in-game - Qt: Fix file handle leak on opening an invalid ROM - Qt: Fix Italian RTC translation (fixes mgba.io/i/1798) - Qt: Add missing option for Wisdom Tree in overrides list - Qt: Fix stability regression on AMD drivers (fixes mgba.io/i/1791) - Util: Fix crash if PNG header fails to write Misc: - FFmpeg: Use range coder for FFV1 to reduce output size - Qt: Add per-page scrolling to memory view (fixes mgba.io/i/1795) - Qt: Add setting to display ROM filename in title (closes mgba.io/i/1784)
Diffstat (limited to 'emulators')
-rw-r--r--emulators/mgba/Makefile5
-rw-r--r--emulators/mgba/PLIST3
-rw-r--r--emulators/mgba/distinfo12
-rw-r--r--emulators/mgba/patches/patch-CMakeLists.txt30
4 files changed, 14 insertions, 36 deletions
diff --git a/emulators/mgba/Makefile b/emulators/mgba/Makefile
index 5df679af11b..a8330726ea9 100644
--- a/emulators/mgba/Makefile
+++ b/emulators/mgba/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2020/06/22 19:04:58 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2020/08/09 14:37:22 nia Exp $
-DISTNAME= mgba-0.8.2
-PKGREVISION= 2
+DISTNAME= mgba-0.8.3
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=mgba-emu/}
diff --git a/emulators/mgba/PLIST b/emulators/mgba/PLIST
index ea13aebe516..f621dd8c1ca 100644
--- a/emulators/mgba/PLIST
+++ b/emulators/mgba/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2020/06/19 13:06:35 nia Exp $
+@comment $NetBSD: PLIST,v 1.7 2020/08/09 14:37:22 nia Exp $
bin/mgba
${PLIST.qt}bin/mgba-qt
include/mgba-util/arm-algo.h
@@ -63,6 +63,7 @@ include/mgba/core/tile-cache.h
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
diff --git a/emulators/mgba/distinfo b/emulators/mgba/distinfo
index e264855f831..73889e79e3a 100644
--- a/emulators/mgba/distinfo
+++ b/emulators/mgba/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.8 2020/06/22 19:04:58 wiz Exp $
+$NetBSD: distinfo,v 1.9 2020/08/09 14:37:22 nia Exp $
-SHA1 (mgba-0.8.2.tar.gz) = 170597b9be302b942ec04e7cb2d8a24c8298c87f
-RMD160 (mgba-0.8.2.tar.gz) = 5c964dc3ef92e470c914f6a3939b343ee149c40a
-SHA512 (mgba-0.8.2.tar.gz) = 181abab9e94964e2027cb039ded6128af1364e1442c418b8703263c9e0c5befeb7aca4d925fb44f3e25e8711a2cc22b198ea00483c42aea3b1c7ba077223d426
-Size (mgba-0.8.2.tar.gz) = 12014352 bytes
-SHA1 (patch-CMakeLists.txt) = d6dbf612caae3bf6686274a39672f13ef6f4064d
+SHA1 (mgba-0.8.3.tar.gz) = facd2c75bbfa145cf58a4b370bf9a49d760e535d
+RMD160 (mgba-0.8.3.tar.gz) = 64e3a3a9a7e87e6f624696065fcb16b5fc272f4e
+SHA512 (mgba-0.8.3.tar.gz) = 8154cec08f9ab4fc7cedc7988ed8ee320ad076666e2958b4fa0620801398081aa4808b61dbafd2e7c4b9ff0edfbb761e013fd7117206e81478a6c09ef91e2a5a
+Size (mgba-0.8.3.tar.gz) = 12013512 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
diff --git a/emulators/mgba/patches/patch-CMakeLists.txt b/emulators/mgba/patches/patch-CMakeLists.txt
index dbd9f10a6b5..8dcf9723aea 100644
--- a/emulators/mgba/patches/patch-CMakeLists.txt
+++ b/emulators/mgba/patches/patch-CMakeLists.txt
@@ -1,10 +1,10 @@
-$NetBSD: patch-CMakeLists.txt,v 1.3 2020/06/22 19:04:58 wiz Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.4 2020/08/09 14:37:22 nia Exp $
Fix locale detection.
---- CMakeLists.txt.orig 2020-06-15 02:50:34.000000000 +0000
+--- CMakeLists.txt.orig 2020-08-04 04:46:14.000000000 +0000
+++ CMakeLists.txt
-@@ -360,7 +360,9 @@ if(HAVE_LOCALTIME_R)
+@@ -364,7 +364,9 @@ if(HAVE_LOCALTIME_R)
list(APPEND FUNCTION_DEFINES HAVE_LOCALTIME_R)
endif()
@@ -15,29 +15,7 @@ Fix locale detection.
list(APPEND FUNCTION_DEFINES HAVE_LOCALE)
if (HAVE_SNPRINTF_L)
list(APPEND FUNCTION_DEFINES HAVE_SNPRINTF_L)
-@@ -609,19 +611,10 @@ if(WANT_SQLITE3 AND NOT USE_SQLITE3)
- endif()
-
- if(USE_LIBZIP)
-- include_directories(AFTER ${LIBZIP_INCLUDE_DIRS})
-- link_directories(${LIBZIP_LIBRARY_DIRS})
-- list(APPEND DEPENDENCY_LIB ${LIBZIP_LIBRARIES})
- list(APPEND FEATURES LIBZIP)
- list(APPEND VFS_SRC ${CMAKE_CURRENT_SOURCE_DIR}/src/util/vfs/vfs-zip.c)
-- string(REGEX MATCH "^[0-9]+" LIBZIP_VERSION_MAJOR ${libzip_VERSION})
-- if (LIBZIP_VERSION_MAJOR LESS 1)
-- set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libzip2")
-- elseif(LIBZIP_VERSION_MAJOR EQUAL 1)
-- set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libzip4|libzip5")
-- else()
-- message(AUTHOR_WARNING Unknown version of libzip detected: ${libzip_VERSION})
-- endif()
-+ list(APPEND DEPENDENCY_LIB zip)
-+ set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libzip4|libzip5")
- elseif(USE_MINIZIP)
- include_directories(AFTER ${MINIZIP_INCLUDE_DIRS})
- link_directories(${MINIZIP_LIBRARY_DIRS})
-@@ -1025,9 +1018,6 @@ endif()
+@@ -1033,9 +1035,6 @@ endif()
file(GLOB READMES ${CMAKE_CURRENT_SOURCE_DIR}/README*.md)