pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/libretro-mgba libretro-mgba: Update to 0.8.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/10836dcb4961
branches:  trunk
changeset: 442934:10836dcb4961
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Dec 03 14:53:19 2020 +0000

description:
libretro-mgba: Update to 0.8.4

0.8.4: (2020-10-29)
Emulation fixes:
 - GB Audio: Fix initial sweep state
 - GB Audio: Fix deserializing audio channels 2 and 3
 - GB Audio: Fix deserializing while audio was disabled (fixes mgba.io/i/1305)
 - GB Video: Fix drawing background when window is force-disabled by frontend
 - GB, GBA Video: Copy disable flags when drawing scanlines in proxy when not blocking
 - GBA Audio: Fix deserializing SOUNDCNT_L
 - GBA Audio: Fix stereo in XQ audio
 - GBA Audio: Fix volume/mute in XQ audio (fixes mgba.io/i/1864)
 - GBA Hardware: Fix GB Player detection on big endian platforms
 - GBA Video: Invalidate map cache when modifying BGCNT (fixes mgba.io/i/1846)
 - GBA Video: Don't draw sprites using unmapped VRAM in GL renderer (fixes mgba.io/i/1865)
 - GBA Video: Fix rare regression blending semitransparent sprites (fixes mgba.io/i/1876)
 - GBA Video: Do not affect OBJ pixel priority when writing OBJWIN (fixes mgba.io/i/1890)
 - GBA Video: Fix deferred blending when OBJWIN matches window (fixes mgba.io/i/1905)
 - GBA Video: Fix mode 4 transparency in OpenGL (fixes mgba.io/i/1907)
Other fixes:
 - ARM Decoder: Fix decoding pre-indexed writeback instructions (fixes mgba.io/i/1915)
 - Core: Fix reported ROM size when a fixed buffer size is used
 - Core: Fix memory leak loading ELF files
 - GBA: Disable more checks when loading GS save with checks disabled (fixes mgba.io/i/1851)
 - GBA: Fix endianness issues in renderer proxy
 - GBA Core: Fix memory leak when loading symbols
 - GBA Serialize: Ensure program counter is aligned when loading
Misc:
 - GBA Video: Improve speed of window texture generation on AMD

diffstat:

 emulators/libretro-mgba/Makefile                     |   7 ++-----
 emulators/libretro-mgba/distinfo                     |  12 ++++++------
 emulators/libretro-mgba/patches/patch-CMakeLists.txt |  18 +++++++++++++++---
 3 files changed, 23 insertions(+), 14 deletions(-)

diffs (81 lines):

diff -r 78284956b466 -r 10836dcb4961 emulators/libretro-mgba/Makefile
--- a/emulators/libretro-mgba/Makefile  Thu Dec 03 14:47:39 2020 +0000
+++ b/emulators/libretro-mgba/Makefile  Thu Dec 03 14:53:19 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2020/06/19 13:34:33 nia Exp $
+# $NetBSD: Makefile,v 1.12 2020/12/03 14:53:19 nia Exp $
 
-DISTNAME=      mgba-0.8.2
+DISTNAME=      mgba-0.8.4
 PKGNAME=       libretro-${DISTNAME}
 CATEGORIES=    emulators
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mgba-emu/}
@@ -31,7 +31,6 @@
 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
@@ -50,8 +49,6 @@
 
 # Avoid conflicting with emulators/mgba.
 post-install:
-       ${RM} -rf ${DESTDIR}${PREFIX}/include/mgba
-       ${RM} -rf ${DESTDIR}${PREFIX}/include/mgba-util
        ${RM} -rf ${DESTDIR}${PREFIX}/share/doc/mGBA
 
 .include "../../devel/libelf/buildlink3.mk"
diff -r 78284956b466 -r 10836dcb4961 emulators/libretro-mgba/distinfo
--- a/emulators/libretro-mgba/distinfo  Thu Dec 03 14:47:39 2020 +0000
+++ b/emulators/libretro-mgba/distinfo  Thu Dec 03 14:53:19 2020 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.9 2020/06/19 13:34:33 nia Exp $
+$NetBSD: distinfo,v 1.10 2020/12/03 14:53:19 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) = 24514d9f72b86dd91a4ee7116f446fd0aae68475
+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 (patch-include_mgba-util_math.h) = 448ca1bb3bbe2812e7d9482917c488ddcf3b48f0
 SHA1 (patch-version.cmake) = 7d6d44febe7bb0ff2231452f037def7cb3782e21
diff -r 78284956b466 -r 10836dcb4961 emulators/libretro-mgba/patches/patch-CMakeLists.txt
--- a/emulators/libretro-mgba/patches/patch-CMakeLists.txt      Thu Dec 03 14:47:39 2020 +0000
+++ b/emulators/libretro-mgba/patches/patch-CMakeLists.txt      Thu Dec 03 14:53:19 2020 +0000
@@ -1,10 +1,12 @@
-$NetBSD: patch-CMakeLists.txt,v 1.4 2020/01/26 12:59:21 nia Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.5 2020/12/03 14:53:19 nia Exp $
 
 Fix locale detection.
 
---- CMakeLists.txt.orig        2020-01-22 02:17:11.000000000 +0000
+Don't install headers.
+
+--- CMakeLists.txt.orig        2020-10-30 01:25:25.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,3 +17,13 @@
        list(APPEND FUNCTION_DEFINES HAVE_LOCALE)
        if (HAVE_SNPRINTF_L)
                list(APPEND FUNCTION_DEFINES HAVE_SNPRINTF_L)
+@@ -995,9 +997,6 @@ endif()
+ 
+ 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 ".\\")



Home | Main Index | Thread Index | Old Index