mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
vips: Allow building without imagemagick support
This commit is contained in:
parent
e2261431b7
commit
91837d49fd
@ -104,9 +104,10 @@ stdenv.mkDerivation rec {
|
||||
mesonFlags = [
|
||||
"-Dpdfium=disabled"
|
||||
"-Dnifti=disabled"
|
||||
] ++ lib.optionals (!stdenv.isDarwin) [
|
||||
"-Dgtk_doc=true"
|
||||
];
|
||||
]
|
||||
++ lib.optional (!stdenv.isDarwin) "-Dgtk_doc=true"
|
||||
++ lib.optional (imagemagick == null) "-Dmagick=disabled"
|
||||
;
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/libvips/libvips/blob/${src.rev}/ChangeLog";
|
||||
|
Loading…
Reference in New Issue
Block a user