mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
imagemagick: add darwin frameworks
This commit is contained in:
parent
6bdecbf1ba
commit
581a5aec88
3 changed files with 10 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib, stdenv, fetchurl, fetchpatch, pkgconfig, libtool
|
||||
, bzip2, zlib, libX11, libXext, libXt, fontconfig, freetype, ghostscript, libjpeg
|
||||
, lcms2, openexr, libpng, librsvg, libtiff, libxml2, openjpeg, libwebp
|
||||
, ApplicationServices
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -58,7 +59,7 @@ stdenv.mkDerivation rec {
|
|||
]
|
||||
++ lib.optionals (stdenv.cross.libc or null != "msvcrt")
|
||||
[ openexr librsvg openjpeg ]
|
||||
;
|
||||
++ lib.optional stdenv.isDarwin ApplicationServices;
|
||||
|
||||
propagatedBuildInputs =
|
||||
[ bzip2 freetype libjpeg lcms2 ]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ lib, stdenv, fetchurl, fetchpatch, pkgconfig, libtool
|
||||
, bzip2, zlib, libX11, libXext, libXt, fontconfig, freetype, ghostscript, libjpeg
|
||||
, lcms2, openexr, libpng, librsvg, libtiff, libxml2, openjpeg, libwebp
|
||||
, ApplicationServices
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -70,7 +71,7 @@ stdenv.mkDerivation rec {
|
|||
]
|
||||
++ lib.optionals (stdenv.cross.libc or null != "msvcrt")
|
||||
[ openexr librsvg openjpeg ]
|
||||
;
|
||||
++ lib.optional stdenv.isDarwin ApplicationServices;
|
||||
|
||||
propagatedBuildInputs =
|
||||
[ bzip2 freetype libjpeg lcms2 ]
|
||||
|
|
|
@ -13697,7 +13697,9 @@ in
|
|||
ghostscript = null;
|
||||
};
|
||||
|
||||
imagemagickBig = callPackage ../applications/graphics/ImageMagick { };
|
||||
imagemagickBig = callPackage ../applications/graphics/ImageMagick {
|
||||
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
|
||||
};
|
||||
|
||||
imagemagick7_light = lowPrio (imagemagick7.override {
|
||||
bzip2 = null;
|
||||
|
@ -13723,7 +13725,9 @@ in
|
|||
ghostscript = null;
|
||||
});
|
||||
|
||||
imagemagick7Big = lowPrio (callPackage ../applications/graphics/ImageMagick/7.0.nix { });
|
||||
imagemagick7Big = lowPrio (callPackage ../applications/graphics/ImageMagick/7.0.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
|
||||
});
|
||||
|
||||
# Impressive, formerly known as "KeyJNote".
|
||||
impressive = callPackage ../applications/office/impressive { };
|
||||
|
|
Loading…
Reference in a new issue