package/libraw: add optional support for lcms2
[Peter: also needs host-pkgconf] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
96f06290a5
commit
40353e3e13
@ -12,7 +12,6 @@ LIBRAW_INSTALL_STAGING = YES
|
||||
LIBRAW_AUTORECONF = YES
|
||||
LIBRAW_CONF_OPTS += \
|
||||
--disable-examples \
|
||||
--disable-lcms \
|
||||
--disable-openmp \
|
||||
--disable-demosaic-pack-gpl2 \
|
||||
--disable-demosaic-pack-gpl3
|
||||
@ -33,4 +32,11 @@ else
|
||||
LIBRAW_CONF_OPTS += --disable-jpeg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LCMS2),y)
|
||||
LIBRAW_CONF_OPTS += --enable-lcms
|
||||
LIBRAW_DEPENDENCIES += lcms2 host-pkgconf
|
||||
else
|
||||
LIBRAW_CONF_OPTS += --disable-lcms
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user