mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
SDL_mixer: enable mikmod support
This commit is contained in:
parent
0b5fd3b784
commit
f3c09e4531
@ -1,4 +1,8 @@
|
||||
{ stdenv, lib, fetchurl, SDL, libogg, libvorbis, smpeg, enableNativeMidi ? false, fluidsynth ? null }:
|
||||
{ stdenv, lib, fetchurl
|
||||
, SDL, libogg, libvorbis, smpeg, libmikmod
|
||||
, fluidsynth
|
||||
, enableNativeMidi ? false
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "SDL_mixer";
|
||||
@ -9,9 +13,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0alrhqgm40p4c92s26mimg9cm1y7rzr6m0p49687jxd9g6130i0n";
|
||||
};
|
||||
|
||||
buildInputs = [ SDL libogg libvorbis fluidsynth smpeg ];
|
||||
buildInputs = [ SDL libogg libvorbis fluidsynth smpeg libmikmod ];
|
||||
|
||||
configureFlags = [ "--disable-music-ogg-shared" ]
|
||||
configureFlags = [ "--disable-music-ogg-shared" "--disable-music-mod-shared" ]
|
||||
++ lib.optional enableNativeMidi " --enable-music-native-midi-gpl"
|
||||
++ lib.optionals stdenv.isDarwin [ "--disable-sdltest" "--disable-smpegtest" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user