Merge pull request #56823 from callahad/sdl2-webp

SDL2_image: support WebP images
This commit is contained in:
Carles Pagès 2019-03-04 23:10:08 +01:00 committed by GitHub
commit 9fa7ca4d4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 { stdenv.mkDerivation rec {
name = "SDL2_image-${version}"; name = "SDL2_image-${version}";
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1b6f7002bm007y3zpyxb5r6ag0lml51jyvx1pwpj9sq24jfc8kp7"; 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; ++ stdenv.lib.optional stdenv.isDarwin Foundation;