SDL2_image: support webp images
This commit is contained in:
parent
981ce3418a
commit
f972720c7e
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, SDL2, libpng, libjpeg, libtiff, libungif, libXpm, zlib, Foundation }:
|
||||
{ stdenv, fetchurl, SDL2, libpng, libjpeg, libtiff, libungif, libwebp, libXpm, zlib, Foundation }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "SDL2_image-${version}";
|
||||
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1b6f7002bm007y3zpyxb5r6ag0lml51jyvx1pwpj9sq24jfc8kp7";
|
||||
};
|
||||
|
||||
buildInputs = [ SDL2 libpng libjpeg libtiff libungif libXpm zlib ]
|
||||
buildInputs = [ SDL2 libpng libjpeg libtiff libungif libwebp libXpm zlib ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin Foundation;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user