SDL: try disabling sdltest on darwin

This commit is contained in:
Matthew Bauer 2017-11-10 19:22:15 -06:00
parent cd722e1678
commit e19434b402
5 changed files with 11 additions and 2 deletions

View File

@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
buildInputs = [ SDL ] ;
configureFlags = [ "--disable-mmx" ];
configureFlags = [ "--disable-mmx" ]
++ stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
meta = with stdenv.lib; {
description = "SDL graphics drawing primitives and support functions";

View File

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
})
];
configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
buildInputs = [ SDL libpng libjpeg libtiff libungif libXpm ];
meta = with stdenv.lib; {

View File

@ -12,7 +12,9 @@ stdenv.mkDerivation rec {
buildInputs = [ SDL libogg libvorbis fluidsynth smpeg ];
configureFlags = [ "--disable-music-ogg-shared" ] ++ lib.optional enableNativeMidi " --enable-music-native-midi-gpl";
configureFlags = [ "--disable-music-ogg-shared" ]
++ lib.optional enableNativeMidi " --enable-music-native-midi-gpl"
++ lib.optional stdenv.isDarwin "--disable-sdltest";
meta = with stdenv.lib; {
description = "SDL multi-channel audio mixer library";

View File

@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1d5c9xqlf4s1c01gzv6cxmg0r621pq9kfgxcg3197xw4p25pljjz";
};
configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
propagatedBuildInputs = [ SDL ];
meta = with stdenv.lib; {

View File

@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
buildInputs = [ SDL freetype ];
configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-sdltest";
meta = with stdenv.lib; {
description = "SDL TrueType library";
license = licenses.zlib;