Merge pull request #45420 from enumatech/vips-darwin
vips: Add darwin support
This commit is contained in:
commit
6864680cbb
@ -1,5 +1,6 @@
|
||||
{ stdenv, fetchurl, pkgconfig, glib, libxml2, expat,
|
||||
fftw, orc, lcms, imagemagick, openexr, libtiff, libjpeg, libgsf, libexif,
|
||||
ApplicationServices,
|
||||
python27, libpng ? null
|
||||
}:
|
||||
|
||||
@ -12,18 +13,17 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1nymm4vzscb68aifin9q742ff64b4k4ddppq1060w8hf6h7ay0l7";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ pkgconfig glib libxml2 fftw orc lcms
|
||||
imagemagick openexr libtiff libjpeg
|
||||
libgsf libexif python27 libpng
|
||||
expat
|
||||
];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ glib libxml2 fftw orc lcms
|
||||
imagemagick openexr libtiff libjpeg
|
||||
libgsf libexif python27 libpng expat ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin ApplicationServices;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.vips.ecs.soton.ac.uk;
|
||||
description = "Image processing system for large images";
|
||||
license = licenses.lgpl2Plus;
|
||||
maintainers = with maintainers; [ kovirobi ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -21893,7 +21893,9 @@ with pkgs;
|
||||
vimb-unwrapped = callPackage ../applications/networking/browsers/vimb { };
|
||||
vimb = wrapFirefox vimb-unwrapped { };
|
||||
|
||||
vips = callPackage ../tools/graphics/vips { };
|
||||
vips = callPackage ../tools/graphics/vips {
|
||||
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
|
||||
};
|
||||
nip2 = callPackage ../tools/graphics/nip2 { };
|
||||
|
||||
virglrenderer = callPackage ../development/libraries/virglrenderer { };
|
||||
|
Loading…
Reference in New Issue
Block a user