mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Added option to enable native midi support
svn path=/nixpkgs/trunk/; revision=27563
This commit is contained in:
parent
909f438893
commit
aa16cb5f11
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, SDL, libogg, libvorbis }:
|
||||
{ stdenv, fetchurl, SDL, libogg, libvorbis, enableNativeMidi ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "SDL_mixer";
|
||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [SDL libogg libvorbis];
|
||||
|
||||
configureFlags = "--disable-music-ogg-shared";
|
||||
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