1e48e5bf0c
https://littlecms.com/blog/2022/01/28/lcms2-2.13 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
33 lines
821 B
Makefile
33 lines
821 B
Makefile
################################################################################
|
|
#
|
|
# lcms2
|
|
#
|
|
################################################################################
|
|
|
|
LCMS2_VERSION = 2.13
|
|
LCMS2_SITE = http://downloads.sourceforge.net/project/lcms/lcms/$(LCMS2_VERSION)
|
|
LCMS2_LICENSE = MIT
|
|
LCMS2_LICENSE_FILES = COPYING
|
|
LCMS2_CPE_ID_VENDOR = littlecms
|
|
LCMS2_CPE_ID_PRODUCT = little_cms
|
|
LCMS2_INSTALL_STAGING = YES
|
|
# tiff is only used by tificc sample
|
|
LCMS2_CONF_OPTS = --without-tiff
|
|
|
|
ifeq ($(BR2_PACKAGE_JPEG),y)
|
|
LCMS2_CONF_OPTS += --with-jpeg
|
|
LCMS2_DEPENDENCIES += jpeg
|
|
else
|
|
LCMS2_CONF_OPTS += --without-jpeg
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
LCMS2_CONF_OPTS += --with-zlib
|
|
LCMS2_DEPENDENCIES += zlib
|
|
else
|
|
LCMS2_CONF_OPTS += --without-zlib
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|