imagemagick: add webp support
This commit is contained in:
parent
2ef7fbe4a0
commit
fe0bb1efd1
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{ lib, stdenv, fetchurl, pkgconfig, libtool
|
||||
, bzip2, zlib, libX11, libXext, libXt, fontconfig, freetype, ghostscript, libjpeg
|
||||
, lcms2, openexr, libpng, librsvg, libtiff, libxml2, openjpeg
|
||||
, lcms2, openexr, libpng, librsvg, libtiff, libxml2, openjpeg, libwebp
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -39,13 +39,14 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs =
|
||||
[ pkgconfig libtool zlib fontconfig freetype ghostscript libjpeg
|
||||
openexr libpng librsvg libtiff libxml2 openjpeg
|
||||
openexr libpng librsvg libtiff libxml2 openjpeg libwebp
|
||||
];
|
||||
|
||||
propagatedBuildInputs =
|
||||
[ bzip2 freetype libjpeg libX11 libXext libXt lcms2 ];
|
||||
|
||||
postInstall = ''
|
||||
|
||||
(cd "$out/include" && ln -s ImageMagick* ImageMagick)
|
||||
'' + lib.optionalString (ghostscript != null) ''
|
||||
for la in $out/lib/*.la; do
|
||||
|
|
|
@ -12871,6 +12871,7 @@ in
|
|||
libtiff = null;
|
||||
libxml2 = null;
|
||||
openjpeg = null;
|
||||
libwebp = null;
|
||||
};
|
||||
|
||||
imagemagick = self.imagemagickBig.override {
|
||||
|
|
Loading…
Reference in a new issue