commit
b1a217ec55
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = let
|
buildInputs = let
|
||||||
notMingw = !(stdenv ? cross) || stdenv.cross.libc != "msvcrt";
|
notMingw = !(stdenv ? cross) || stdenv.cross.libc != "msvcrt";
|
||||||
in [ libcap ]
|
in stdenv.lib.optional stdenv.isLinux libcap
|
||||||
++ (stdenv.lib.optional notMingw audiofile);
|
++ (stdenv.lib.optional notMingw audiofile);
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ] ++
|
nativeBuildInputs = [ pkgconfig ] ++
|
||||||
|
@ -19,6 +19,7 @@ let
|
|||||||
--disable-oss --disable-x11-shared
|
--disable-oss --disable-x11-shared
|
||||||
--disable-pulseaudio-shared --disable-alsa-shared
|
--disable-pulseaudio-shared --disable-alsa-shared
|
||||||
${if alsaSupport then "--with-alsa-prefix=${attrs.alsaLib}/lib" else ""}
|
${if alsaSupport then "--with-alsa-prefix=${attrs.alsaLib}/lib" else ""}
|
||||||
|
${if (!x11Support) then "--without-x" else ""}
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -49,6 +49,6 @@ stdenv.mkDerivation rec {
|
|||||||
license = stdenv.lib.licenses.lgpl2Plus;
|
license = stdenv.lib.licenses.lgpl2Plus;
|
||||||
|
|
||||||
maintainers = [ stdenv.lib.maintainers.bjg ];
|
maintainers = [ stdenv.lib.maintainers.bjg ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -22,6 +22,6 @@ stdenv.mkDerivation rec {
|
|||||||
meta = {
|
meta = {
|
||||||
description = "SDL image library";
|
description = "SDL image library";
|
||||||
homepage = "http://www.libsdl.org/projects/SDL_image/";
|
homepage = "http://www.libsdl.org/projects/SDL_image/";
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -44,6 +44,6 @@ stdenv.mkDerivation rec {
|
|||||||
license = stdenv.lib.licenses.lgpl2Plus;
|
license = stdenv.lib.licenses.lgpl2Plus;
|
||||||
|
|
||||||
maintainers = [ stdenv.lib.maintainers.bjg ];
|
maintainers = [ stdenv.lib.maintainers.bjg ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -7579,11 +7579,6 @@ let
|
|||||||
alsaSupport = (!stdenv.isDarwin);
|
alsaSupport = (!stdenv.isDarwin);
|
||||||
x11Support = true;
|
x11Support = true;
|
||||||
pulseaudioSupport = (!stdenv.isDarwin);
|
pulseaudioSupport = (!stdenv.isDarwin);
|
||||||
|
|
||||||
# resolve the unrecognized -fpascal-strings option error
|
|
||||||
stdenv = if stdenv.isDarwin
|
|
||||||
then clangStdenv
|
|
||||||
else stdenv;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
SDL_gfx = callPackage ../development/libraries/SDL_gfx { };
|
SDL_gfx = callPackage ../development/libraries/SDL_gfx { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user