povray: update SDL and use pkg-config

This commit is contained in:
Francesco Gazzetta
2024-05-21 09:16:52 +00:00
parent fe2fc07656
commit e2dd91f4dc
+19 -3
View File
@@ -11,7 +11,8 @@
, libpng
, libjpeg
, libtiff
, SDL
, pkg-config
, SDL2
}:
stdenv.mkDerivation (finalAttrs: {
@@ -25,8 +26,23 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-BsWalXzEnymiRbBfE/gsNyWgAqzbxEzO/EQiJpbwoKs=";
};
nativeBuildInputs = [ automake autoconf ];
buildInputs = [ boost zlib libX11 libICE libSM libpng libjpeg libtiff SDL ];
nativeBuildInputs = [
automake
autoconf
pkg-config
];
buildInputs = [
boost
libX11
libICE
libSM
libpng
libjpeg
libtiff
SDL2
zlib
];
# the installPhase wants to put files into $HOME. I let it put the files
# to $TMPDIR, so they don't get into the $out