summary refs log tree commit diff
path: root/pkgs/applications/graphics/ImageMagick/7.0.nix
diff options
context:
space:
mode:
authorJustin Restivo <justin@restivo.me>2021-06-24 21:11:41 -0400
committerJustin Restivo <justin@restivo.me>2021-06-24 21:11:41 -0400
commit77c3d60b89aa60cd139aefe3a810395c9b7d45e5 (patch)
tree14d98009c66848a89e01afef353fc543c1b8fd9e /pkgs/applications/graphics/ImageMagick/7.0.nix
parent3b392e8951cef55c2c56e8549107ccd0f1920f0d (diff)
downloadnixpkgs-77c3d60b89aa60cd139aefe3a810395c9b7d45e5.tar
nixpkgs-77c3d60b89aa60cd139aefe3a810395c9b7d45e5.tar.gz
nixpkgs-77c3d60b89aa60cd139aefe3a810395c9b7d45e5.tar.bz2
nixpkgs-77c3d60b89aa60cd139aefe3a810395c9b7d45e5.tar.lz
nixpkgs-77c3d60b89aa60cd139aefe3a810395c9b7d45e5.tar.xz
nixpkgs-77c3d60b89aa60cd139aefe3a810395c9b7d45e5.tar.zst
nixpkgs-77c3d60b89aa60cd139aefe3a810395c9b7d45e5.zip
imagemagick: add liquid rescale build option
Diffstat (limited to 'pkgs/applications/graphics/ImageMagick/7.0.nix')
-rw-r--r--pkgs/applications/graphics/ImageMagick/7.0.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/ImageMagick/7.0.nix b/pkgs/applications/graphics/ImageMagick/7.0.nix
index d7840a78bb4..369c1eba2ba 100644
--- a/pkgs/applications/graphics/ImageMagick/7.0.nix
+++ b/pkgs/applications/graphics/ImageMagick/7.0.nix
@@ -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, libheif
+, lcms2, openexr, libpng, liblqr1, librsvg, libtiff, libxml2, openjpeg, libwebp, libheif
 , ApplicationServices
 , Foundation
 , testVersion, imagemagick
@@ -36,6 +36,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"
@@ -48,7 +49,7 @@ stdenv.mkDerivation rec {
 
   buildInputs =
     [ zlib fontconfig freetype ghostscript
-      libpng libtiff libxml2 libheif djvulibre
+      liblqr1 libpng libtiff libxml2 libheif djvulibre
     ]
     ++ lib.optionals (!stdenv.hostPlatform.isMinGW)
       [ openexr librsvg openjpeg ]