|
24 | 24 | , openjpegSupport ? !stdenv.hostPlatform.isMinGW, openjpeg |
25 | 25 | , libwebpSupport ? !stdenv.hostPlatform.isMinGW, libwebp |
26 | 26 | , libheifSupport ? true, libheif |
| 27 | +, fftwSupport ? true, fftw |
27 | 28 | , potrace |
28 | 29 | , coreutils |
29 | 30 | , curl |
@@ -76,6 +77,7 @@ stdenv.mkDerivation (finalAttrs: { |
76 | 77 | (lib.withFeature libjxlSupport "jxl") |
77 | 78 | (lib.withFeatureAs ghostscriptSupport "gs-font-dir" "${ghostscript.fonts}/share/fonts") |
78 | 79 | (lib.withFeature ghostscriptSupport "gslib") |
| 80 | + (lib.withFeature fftwSupport "fftw") |
79 | 81 | ] ++ lib.optionals stdenv.hostPlatform.isMinGW [ |
80 | 82 | # due to libxml2 being without DLLs ATM |
81 | 83 | "--enable-static" "--disable-shared" |
@@ -113,7 +115,8 @@ stdenv.mkDerivation (finalAttrs: { |
113 | 115 | ++ lib.optional lcms2Support lcms2 |
114 | 116 | ++ lib.optional libX11Support libX11 |
115 | 117 | ++ lib.optional libXtSupport libXt |
116 | | - ++ lib.optional libwebpSupport libwebp; |
| 118 | + ++ lib.optional libwebpSupport libwebp |
| 119 | + ++ lib.optional fftwSupport fftw; |
117 | 120 |
|
118 | 121 | postInstall = '' |
119 | 122 | (cd "$dev/include" && ln -s ImageMagick* ImageMagick) |
@@ -146,7 +149,7 @@ stdenv.mkDerivation (finalAttrs: { |
146 | 149 | description = "Software suite to create, edit, compose, or convert bitmap images"; |
147 | 150 | pkgConfigModules = [ "ImageMagick" "MagickWand" ]; |
148 | 151 | platforms = platforms.linux ++ platforms.darwin; |
149 | | - maintainers = with maintainers; [ dotlambda rhendric ]; |
| 152 | + maintainers = with maintainers; [ dotlambda rhendric bloxx12 ]; |
150 | 153 | license = licenses.asl20; |
151 | 154 | mainProgram = "magick"; |
152 | 155 | }; |
|
0 commit comments