SDL_mixer: add mp3 support

This commit is contained in:
Nikolay Amiantov 2014-10-23 04:31:30 +04:00
parent 56d73eae01
commit 05760bb2c7

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, SDL, libogg, libvorbis, enableNativeMidi ? false, fluidsynth ? null }:
{ stdenv, fetchurl, SDL, libogg, libvorbis, smpeg, enableNativeMidi ? false, fluidsynth ? null }:
stdenv.mkDerivation rec {
pname = "SDL_mixer";
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "0alrhqgm40p4c92s26mimg9cm1y7rzr6m0p49687jxd9g6130i0n";
};
buildInputs = [SDL libogg libvorbis fluidsynth];
buildInputs = [SDL libogg libvorbis fluidsynth smpeg];
configureFlags = "--disable-music-ogg-shared" + stdenv.lib.optionalString enableNativeMidi " --enable-music-native-midi-gpl";