[vlc-commits] [Git][videolan/vlc][master] contrib: gme: update to 0.6.5
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Jul 23 17:45:17 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
f4610cbf by Steve Lhomme at 2026-07-23T17:13:49+00:00
contrib: gme: update to 0.6.5
Changelog [^1]:
- Removed CPP demo as it uses private API.
- Reworked demos so they no longer use private API.
- Implemented some undocumented OPcodes for NES CPU
- Fixed several compile warnings.
- The fade length is now passed to the track info for SPC files.
- The C++ runtime library is now properly exported.
- Fixed several crashes and security vulnerabilities reported by people.
- The YM2413 chip emulator has been updated to the version v1.5.9.
- Added ADPCM support for the HES emulator, backported from Kode54's fork.
[^1]: https://github.com/libgme/game-music-emu/releases/tag/0.6.5
- - - - -
3 changed files:
- − contrib/src/gme/0001-Export-the-proper-C-runtime-library.patch
- contrib/src/gme/SHA512SUMS
- contrib/src/gme/rules.mak
Changes:
=====================================
contrib/src/gme/0001-Export-the-proper-C-runtime-library.patch deleted
=====================================
@@ -1,50 +0,0 @@
-From cdfdcb4d120a2c898684bc4e972b01dd462ed5a1 Mon Sep 17 00:00:00 2001
-From: Steve Lhomme <robux4 at ycbcr.xyz>
-Date: Mon, 5 Sep 2022 13:34:41 +0200
-Subject: [PATCH] Export the proper C++ runtime library
-
-With gcc it's libstdc++, with clang it's libc++. So let CMake give it to use
-and use all the libraries it needs, except some noise from clang toolchains.
----
- gme/CMakeLists.txt | 25 +++++++++++++++++++++++--
- 1 file changed, 23 insertions(+), 2 deletions(-)
-
-diff --git a/gme/CMakeLists.txt b/gme/CMakeLists.txt
-index fc2db68..301f8c6 100644
---- a/gme/CMakeLists.txt
-+++ b/gme/CMakeLists.txt
-@@ -239,8 +239,29 @@ endforeach()
-
- add_library(gme_deps INTERFACE)
-
--## FIXME: Properly find the C++ library !!!
--set(PC_LIBS -lstdc++)
-+foreach(LIB ${CMAKE_CXX_IMPLICIT_LINK_LIBRARIES})
-+ if(IS_ABSOLUTE ${LIB} AND EXISTS ${LIB})
-+ list(APPEND IMPLICITS_LIST "${LIB}")
-+ elseif(LIB MATCHES "-l:lib.*.a")
-+ string(LENGTH ${LIB} LIBLEN)
-+ math(EXPR LIBLEN "${LIBLEN}-8")
-+ string(SUBSTRING ${LIB} 6 ${LIBLEN} DIRECT_LIB)
-+ list(APPEND IMPLICITS_LIST "-l${DIRECT_LIB}")
-+ elseif(LIB MATCHES "-l.*")
-+ list(APPEND IMPLICITS_LIST "${LIB}")
-+ else()
-+ list(APPEND IMPLICITS_LIST "-l${LIB}")
-+ endif()
-+endforeach()
-+if(IMPLICITS_LIST)
-+ # blacklist of libraries that should not be in Libs.private
-+ list(REMOVE_ITEM IMPLICITS_LIST "-lmingwex"
-+ "-lmingw32" "-lmoldname" "-lmsvcrt" "-ladvapi32" "-lshell32"
-+ "-luser32" "-lkernel32")
-+ string(REPLACE ";" " " PC_LIBS "${IMPLICITS_LIST}")
-+else()
-+ set(PC_LIBS "")
-+endif(IMPLICITS_LIST)
-
- if(GME_ZLIB)
- if(ZLIB_FOUND)
---
-2.50.1 (Apple Git-155)
-
=====================================
contrib/src/gme/SHA512SUMS
=====================================
@@ -1 +1 @@
-b5da7f0ea9f3f5698157dd1feb5071cbc3bb44c96a2c1675162c7be384c755d6e01f5d98c4a6bd9ef7b1904b8eed3dab54dd2edac19cd18a7312c6cf7a91d98a game-music-emu-0.6.4.tar.gz
+c28fc36098f5e083ef43cda3f037275d7f071868ab44abf577da3f07bd9f2ffae8a65fa842b060df42baa98ad6b5f42817001749fb3c08a4023dea7334d513e9 game-music-emu-0.6.5.tar.gz
=====================================
contrib/src/gme/rules.mak
=====================================
@@ -1,6 +1,6 @@
# Game Music Emu
-GME_VERSION := 0.6.4
+GME_VERSION := 0.6.5
GME_URL := $(GITHUB)/libgme/game-music-emu/archive/refs/tags/$(GME_VERSION).tar.gz
PKGS += gme
@@ -14,7 +14,6 @@ DEPS_gme = zlib $(DEPS_zlib)
game-music-emu: game-music-emu-$(GME_VERSION).tar.gz .sum-gme
$(UNPACK)
- $(APPLY) $(SRC)/gme/0001-Export-the-proper-C-runtime-library.patch
$(call pkg_static,"gme/libgme.pc.in")
$(MOVE)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f4610cbf82e50f2f473ba5fbc4b0cb451aabb6e3
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f4610cbf82e50f2f473ba5fbc4b0cb451aabb6e3
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list