SDL_mixer: add mp3 support
This commit is contained in:
parent
56d73eae01
commit
05760bb2c7
@ -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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "SDL_mixer";
|
pname = "SDL_mixer";
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0alrhqgm40p4c92s26mimg9cm1y7rzr6m0p49687jxd9g6130i0n";
|
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";
|
configureFlags = "--disable-music-ogg-shared" + stdenv.lib.optionalString enableNativeMidi " --enable-music-native-midi-gpl";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user