zmusic: optional alsa-lib only for linux
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user