Unverified Commit 118f0c5f authored by r4v3n6101's avatar r4v3n6101
Browse files

zmusic: optional alsa-lib only for linux

parent 7ce1f50d
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -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";