2015-10-05 22:53:26 +01:00
|
|
|
{ stdenv, fetchurl, libtiff, libjpeg, zlib }:
|
2010-08-06 21:23:56 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-07-03 23:17:23 +01:00
|
|
|
name = "lcms2-2.11";
|
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";
|
2020-07-03 23:17:23 +01:00
|
|
|
sha256 = "0bkpf315925lhmd9i4mzjnkq5dh255r1lms0c0vzzkfpwk4bjjfw";
|
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;
|
|
|
|
|
2015-10-05 22:53:26 +01:00
|
|
|
meta = with stdenv.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
|
|
|
};
|
|
|
|
}
|