Subject: bug#27299: [PATCH 1/3] gnu: Add liblcms2.

From: Kei Kebreau <[email-masked]>
Date: Fri, 9 Jun 2017 13:51:41 -0400

* gnu/packages/image.scm (liblcms2): New variable.
---
 gnu/packages/image.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index f6337e0fc..508a24b70 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -64,6 +64,31 @@
   #:use-module (guix build-system cmake)
   #:use-module (srfi srfi-1))
 
+(define-public liblcms2
+  (package
+    (name "liblcms2")
+    (version "2.8")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/lcms/lcms/"
+                                  version "/lcms2-" version ".tar.gz"))
+              (sha256
+               (base32
+                "08pvl289g0mbznzx5l6ibhaldsgx41kwvdn2c974ga9fkli2pl36"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("libjpeg" ,libjpeg)
+       ("libtiff" ,libtiff)
+       ("zlib" ,zlib)))
+    (home-page "http://www.littlecms.com")
+    (synopsis "Color management engine based on the ICC standard.")
+    (description
+     "Little CMS intends to be a small-footprint color management engine, with
+special focus on accuracy and performance.  It uses the International Color
+Consortium standard (ICC), which is the modern standard when regarding to color
+management.")
+    (license license:expat)))
+
 (define-public libpng
   (package
    (name "libpng")
-- 
2.13.0