Merge pull request #326914 from azahi/zmusic-113

zmusic: 1.1.12 -> 1.1.13
This commit is contained in:
lassulus 2024-07-14 10:00:43 +02:00 committed by GitHub
commit 23d6f644f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,13 +15,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "zmusic"; pname = "zmusic";
version = "1.1.12"; version = "1.1.13";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ZDoom"; owner = "ZDoom";
repo = "ZMusic"; repo = "ZMusic";
rev = version; rev = version;
hash = "sha256-waxgn4Dg8One2Hv7J2efMoYo5mmaMSMiPQSNq57kbvE="; hash = "sha256-rvvMS5KciHEvoY4hSfgAEyWJiDMqBto4o09oIpQIGTQ=";
}; };
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
@ -29,15 +29,15 @@ stdenv.mkDerivation rec {
patches = [ patches = [
(fetchpatch { (fetchpatch {
name = "system-fluidsynth.patch"; name = "system-fluidsynth.patch";
url = "https://git.alpinelinux.org/aports/plain/testing/zmusic/system-fluidsynth.patch?id=59bac94da374cb01bc2a0e49d9e9287812fa1ac0"; url = "https://git.alpinelinux.org/aports/plain/community/zmusic/system-fluidsynth.patch?id=ca353107ef4f2e5c55c3cc824b0840e2838fb894";
hash = "sha256-xKaqiNk1Kt9yNLB22IVmSEtGeOtxrCi7YtFCmhNr0MI="; hash = "sha256-xKaqiNk1Kt9yNLB22IVmSEtGeOtxrCi7YtFCmhNr0MI=";
}) })
]; ];
postPatch = '' postPatch = ''
substituteInPlace source/mididevices/music_fluidsynth_mididevice.cpp \ substituteInPlace source/mididevices/music_fluidsynth_mididevice.cpp \
--replace "/usr/share/sounds/sf2" "${soundfont-fluid}/share/soundfonts" \ --replace-fail "/usr/share/sounds/sf2" "${soundfont-fluid}/share/soundfonts" \
--replace "FluidR3_GM.sf2" "FluidR3_GM2-2.sf2" --replace-fail "FluidR3_GM.sf2" "FluidR3_GM2-2.sf2"
''; '';
nativeBuildInputs = [ nativeBuildInputs = [
@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
lgpl21Plus lgpl21Plus
lgpl3Plus lgpl3Plus
]; ];
platforms = platforms.linux; platforms = platforms.unix;
maintainers = with maintainers; [ azahi lassulus ]; maintainers = with maintainers; [ azahi lassulus ];
}; };
} }