Commit 901282aa authored by Olivier Schonken's avatar Olivier Schonken Committed by Peter Korsgaard
Browse files

Added lcms2 package



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: default avatarOlivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 8e7b4ae8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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"
+10 −0
Original line number Diff line number Diff line
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/

package/lcms2/lcms2.mk

0 → 100644
+35 −0
Original line number Diff line number Diff line
#############################################################
#
# 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))