Added lcms2 package
authorOlivier Schonken <olivier.schonken@gmail.com>
Sat, 16 Mar 2013 02:42:22 +0000 (02:42 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 18 Mar 2013 20:40:50 +0000 (21:40 +0100)
Little CMS intends to be an OPEN SOURCE small-footprint color management
engine, with special focus on accuracy and performance.

[Peter: tweak help text, fix white space]
Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/lcms2/Config.in [new file with mode: 0644]
package/lcms2/lcms2.mk [new file with mode: 0644]

index 9853b0662849a45a20ba4a94c391e9ba3b4389a4..10ce824708b41bc3fc4bb0dc0535c315f5bfa0b3 100644 (file)
@@ -422,6 +422,7 @@ source "package/gtk2-engines/Config.in"
 source "package/gtk2-themes/Config.in"
 source "package/imlib2/Config.in"
 source "package/jpeg/Config.in"
+source "package/lcms2/Config.in"
 source "package/libart/Config.in"
 source "package/libdmtx/Config.in"
 source "package/libdrm/Config.in"
diff --git a/package/lcms2/Config.in b/package/lcms2/Config.in
new file mode 100644 (file)
index 0000000..d94c075
--- /dev/null
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LCMS2
+       bool "lcms2"
+       help
+         Little Color Management Software (CMS) intends to be an OPEN
+         SOURCE 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.
+
+         http://www.littlecms.com/
diff --git a/package/lcms2/lcms2.mk b/package/lcms2/lcms2.mk
new file mode 100644 (file)
index 0000000..0d222c0
--- /dev/null
@@ -0,0 +1,35 @@
+#############################################################
+#
+# lcms2
+#
+#############################################################
+
+LCMS2_VERSION = 2.4
+LCMS2_SITE = http://downloads.sourceforge.net/lcms/lcms
+LCMS2_LICENSE = MIT
+LCMS2_LICENSE_FILES = COPYING
+
+LCMS2_CONF_OPT = \
+
+ifeq ($(BR2_PACKAGE_JPEG),y)
+       LCMS2_CONF_OPT += --with-jpeg
+       LCMS2_DEPENDENCIES += jpeg
+else
+       LCMS2_CONF_OPT += --without-jpeg
+endif
+
+ifeq ($(BR2_PACKAGE_TIFF),y)
+       LCMS2_CONF_OPT += --with-tiff
+       LCMS2_DEPENDENCIES += tiff
+else
+       LCMS2_CONF_OPT += --without-tiff
+endif
+
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+       LCMS2_CONF_OPT += --with-zlib
+       LCMS2_DEPENDENCIES += zlib
+else
+       LCMS2_CONF_OPT += --without-zlib
+endif
+
+$(eval $(autotools-package))