2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, libtiff, libjpeg, zlib }:
|
2010-08-06 20:23:56 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-02-07 13:55:22 +00:00
|
|
|
name = "lcms2-2.12";
|
2010-08-06 20:23:56 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-02-06 22:08:04 +00:00
|
|
|
url = "mirror://sourceforge/lcms/${name}.tar.gz";
|
2021-02-07 13:55:22 +00:00
|
|
|
sha256 = "sha256-GGY5hehkEARVrD5QdiXEOMNxA1TYXly7fNQEPhH+EPU=";
|
2010-08-06 20:23:56 +00:00
|
|
|
};
|
|
|
|
|
2016-08-29 00:30:01 +00:00
|
|
|
outputs = [ "bin" "dev" "out" ];
|
2015-10-05 21:53:26 +00:00
|
|
|
|
2010-08-06 20:23:56 +00:00
|
|
|
propagatedBuildInputs = [ libtiff libjpeg zlib ];
|
|
|
|
|
2020-10-19 00:24:57 +00:00
|
|
|
# See https://trac.macports.org/ticket/60656
|
|
|
|
LDFLAGS = if stdenv.hostPlatform.isDarwin then "-Wl,-w" else null;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2010-08-06 20:23:56 +00:00
|
|
|
description = "Color management engine";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.littlecms.com/";
|
2015-10-05 21:53:26 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2010-08-06 20:23:56 +00:00
|
|
|
};
|
|
|
|
}
|