mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-29 16:57:40 +03:00
Merge pull request #3290 from MP2E/SDL_Mixer_FSynth
SDL_mixer : add option to enable FluidSynth for playing MIDIs with SF2s
This commit is contained in:
commit
8eb8d69544
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, SDL, libogg, libvorbis, enableNativeMidi ? false }:
|
||||
{ stdenv, fetchurl, SDL, libogg, libvorbis, enableNativeMidi ? false, fluidsynth ? null }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "SDL_mixer";
|
||||
@ -10,9 +10,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0alrhqgm40p4c92s26mimg9cm1y7rzr6m0p49687jxd9g6130i0n";
|
||||
};
|
||||
|
||||
buildInputs = [SDL libogg libvorbis];
|
||||
buildInputs = [SDL libogg libvorbis fluidsynth];
|
||||
|
||||
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";
|
||||
|
||||
postInstall = "ln -s $out/include/SDL/SDL_mixer.h $out/include/";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user