2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, libtiff, libjpeg, zlib }:
|
2010-08-06 21:23:56 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-02-07 13:55:22 +00:00
|
|
|
name = "lcms2-2.12";
|
2010-08-06 21:23:56 +01: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 21:23:56 +01:00
|
|
|
};
|
|
|
|
|
2016-08-29 01:30:01 +01:00
|
|
|
outputs = [ "bin" "dev" "out" ];
|
2015-10-05 22:53:26 +01:00
|
|
|
|
2010-08-06 21:23:56 +01:00
|
|
|
propagatedBuildInputs = [ libtiff libjpeg zlib ];
|
|
|
|
|
2020-10-19 01:24:57 +01: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 21:23:56 +01:00
|
|
|
description = "Color management engine";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.littlecms.com/";
|
2015-10-05 22:53:26 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2010-08-06 21:23:56 +01:00
|
|
|
};
|
|
|
|
}
|