forked from mirrors/nixpkgs
imagemagick: add build option for JPEG XL image format
This commit is contained in:
parent
092ca783b5
commit
241c3e0b3f
|
@ -1,6 +1,6 @@
|
|||
{ lib, stdenv, fetchFromGitHub, pkg-config, libtool
|
||||
, bzip2, zlib, libX11, libXext, libXt, fontconfig, freetype, ghostscript, libjpeg, djvulibre
|
||||
, lcms2, openexr, libpng, liblqr1, librsvg, libtiff, libxml2, openjpeg, libwebp, libheif
|
||||
, lcms2, openexr, libjxl, libpng, liblqr1, librsvg, libtiff, libxml2, openjpeg, libwebp, libheif
|
||||
, ApplicationServices
|
||||
, Foundation
|
||||
, testVersion, imagemagick
|
||||
|
@ -37,6 +37,7 @@ stdenv.mkDerivation rec {
|
|||
++ (if arch != null then [ "--with-gcc-arch=${arch}" ] else [ "--without-gcc-arch" ])
|
||||
++ lib.optional (librsvg != null) "--with-rsvg"
|
||||
++ lib.optional (liblqr1 != null) "--with-lqr"
|
||||
++ lib.optional (libjxl != null) "--with-jxl"
|
||||
++ lib.optionals (ghostscript != null)
|
||||
[ "--with-gs-font-dir=${ghostscript}/share/ghostscript/fonts"
|
||||
"--with-gslib"
|
||||
|
@ -49,7 +50,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs =
|
||||
[ zlib fontconfig freetype ghostscript
|
||||
liblqr1 libpng libtiff libxml2 libheif djvulibre
|
||||
libjxl liblqr1 libpng libtiff libxml2 libheif djvulibre
|
||||
]
|
||||
++ lib.optionals (!stdenv.hostPlatform.isMinGW)
|
||||
[ openexr librsvg openjpeg ]
|
||||
|
|
|
@ -25263,6 +25263,7 @@ with pkgs;
|
|||
djvulibre = null;
|
||||
lcms2 = null;
|
||||
openexr = null;
|
||||
libjxl = null;
|
||||
libpng = null;
|
||||
liblqr1 = null;
|
||||
librsvg = null;
|
||||
|
|
Loading…
Reference in a new issue