Merge pull request #277358 from OPNA2608/update/libvgm

{,vgmplay-}libvgm: Bump to unstable-2023-12-31
This commit is contained in:
Cosima Neidahl 2024-01-21 19:26:23 +01:00 committed by GitHub
commit 745e7d3757
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 8 deletions

View File

@ -39,6 +39,10 @@ stdenv.mkDerivation rec {
# Don't force building tests
substituteInPlace Makefile \
--replace 'all: $(MMLGUI_BIN) test' 'all: $(MMLGUI_BIN)'
# Breaking change in libvgm
substituteInPlace src/emu_player.cpp \
--replace 'Resmpl_SetVals(&resmpl, 0xff' 'Resmpl_SetVals(&resmpl, RSMODE_LINEAR'
'';
strictDeps = true;

View File

@ -9,15 +9,15 @@
, inih
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "vgmplay-libvgm";
version = "unstable-2023-04-12";
version = "unstable-2024-01-03";
src = fetchFromGitHub {
owner = "ValleyBell";
repo = "vgmplay-libvgm";
rev = "813abab549e99bb7e936acbfa1199cf435c237c6";
sha256 = "sdQO+xk3a7AFXo3jpbcuNBkd19PjKoBMRhr4IK06oHg=";
rev = "7db1c63c056d79a8f9f533aa7eb82b7fdf7d456c";
hash = "sha256-GjBwu8Y/lOI8SLO4SrAWcntQIwKe/hXuh9tKbOPHQiA=";
};
nativeBuildInputs = [ cmake pkg-config ];

View File

@ -40,15 +40,15 @@ let
inherit (lib) optional optionals;
onOff = val: if val then "ON" else "OFF";
in
stdenv.mkDerivation rec {
stdenv.mkDerivation {
pname = "libvgm";
version = "unstable-2023-08-14";
version = "unstable-2024-01-03";
src = fetchFromGitHub {
owner = "ValleyBell";
repo = "libvgm";
rev = "079c4e737e6a73b38ae20125521d7d9eafda28e9";
sha256 = "hmaGIf9AQOYqrpnmKAB9I2vO+EXrzvoRaQ6Epdygy4o=";
rev = "223b6f9d629feda1982dc4bbeebd19fa63b987fb";
hash = "sha256-CrqgDuOsY+Hpp41De6oWJduj8d8ftMUanMEWJKh79rw=";
};
outputs = [