|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, libtool |
|
|
|
|
, bzip2, zlib, libX11, libXext, libXt, fontconfig, freetype, ghostscript, libjpeg, djvulibre |
|
|
|
|
, lcms2, openexr, libpng, librsvg, libtiff, libxml2, openjpeg, libwebp, fftw, libheif, libde265 |
|
|
|
|
, lcms2, openexr, libpng, liblqr1, librsvg, libtiff, libxml2, openjpeg, libwebp, fftw, libheif, libde265 |
|
|
|
|
, ApplicationServices, Foundation |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
@ -34,6 +34,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
[ "--with-frozenpaths" ] |
|
|
|
|
++ (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.optionals (ghostscript != null) |
|
|
|
|
[ "--with-gs-font-dir=${ghostscript}/share/ghostscript/fonts" |
|
|
|
|
"--with-gslib" |
|
|
|
@ -46,7 +47,7 @@ stdenv.mkDerivation rec { |
|
|
|
|
|
|
|
|
|
buildInputs = |
|
|
|
|
[ zlib fontconfig freetype ghostscript |
|
|
|
|
libpng libtiff libxml2 libheif libde265 djvulibre |
|
|
|
|
liblqr1 libpng libtiff libxml2 libheif libde265 djvulibre |
|
|
|
|
] |
|
|
|
|
++ lib.optionals (!stdenv.hostPlatform.isMinGW) |
|
|
|
|
[ openexr librsvg openjpeg ] |
|
|
|
|