zmusic: optional alsa-lib only for linux

This commit is contained in:
r4v3n6101
2025-02-15 04:06:01 +03:00
parent 7ce1f50db3
commit 118f0c5fc0
+2 -5
View File
@@ -29,9 +29,7 @@ stdenv.mkDerivation rec {
"dev"
];
patches = [
./fluidsynth.patch
];
patches = [ ./fluidsynth.patch ];
postPatch = ''
substituteInPlace source/mididevices/music_fluidsynth_mididevice.cpp \
@@ -46,12 +44,11 @@ stdenv.mkDerivation rec {
];
buildInputs = [
alsa-lib
fluidsynth
libsndfile
mpg123
zlib
];
] ++ lib.optionals stdenv.hostPlatform.isLinux [ alsa-lib ];
meta = {
description = "GZDoom's music system as a standalone library";