git.iko.soy/typeable/nixpkgs
on master help sign in
SDL2_mixer: add optional fluidsynth support

also add flac support and mp3 support, and add myself as the maintainer, since there is no current maintainer for this package

commitf60fec99d19f0f2181661d65f73aca3a85ca81c4 authorCray Elliott <MP2E@archlinux.us> dateWed 8 Mar 2017, 04:45 (10 years ago) parente3abe9c
1 file changed+3−2
pkgs/development/libraries/SDL2_mixer/default.nix+3−2
pkgs/development/libraries/SDL2_mixer/default.nix+3−2
@@ -1,4 +1,4 @@
1−{ stdenv, lib, fetchurl, SDL2, libogg, libvorbis, enableNativeMidi ? false }:
1+{ stdenv, lib, fetchurl, SDL2, libogg, libvorbis, smpeg, flac, enableNativeMidi ? false, fluidsynth ? null }:
22
33stdenv.mkDerivation rec {
44 name = "SDL2_mixer-${version}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 sha256 = "0pv9jzjpcjlbiaybvwrb4avmv46qk7iqxlnqrd2dfj82c4mgc92s";
1010 };
1111
12− propagatedBuildInputs = [ SDL2 libogg libvorbis ];
12+ propagatedBuildInputs = [ SDL2 libogg libvorbis fluidsynth smpeg flac ];
1313
1414 configureFlags = [ "--disable-music-ogg-shared" ] ++ lib.optional enableNativeMidi "--enable-music-native-midi-gpl";
1515
@@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
1717 description = "SDL multi-channel audio mixer library";
1818 platforms = platforms.linux;
1919 homepage = "https://www.libsdl.org/projects/SDL_mixer/";
20+ maintainers = with maintainers; [ MP2E ];
2021 license = licenses.zlib;
2122 };
2223}