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