1 ################################################################################
5 ################################################################################
7 OPENJPEG_VERSION
= 1.5.2
8 OPENJPEG_SITE
= http
://downloads.sourceforge.net
/project
/openjpeg.mirror
/$(OPENJPEG_VERSION
)
9 OPENJPEG_LICENSE
= BSD-2c
10 OPENJPEG_LICENSE_FILES
= LICENSE
11 # tarball does not contain the generated files
12 OPENJPEG_AUTORECONF
= YES
13 OPENJPEG_INSTALL_STAGING
= YES
14 OPENJPEG_DEPENDENCIES
= host-pkgconf
15 OPENJPEG_CONF_OPTS
= --disable-lcms1
17 ifeq ($(BR2_PACKAGE_LIBPNG
),y
)
18 OPENJPEG_DEPENDENCIES
+= libpng
19 OPENJPEG_CONF_OPTS
+= --enable-png
21 OPENJPEG_CONF_OPTS
+= --disable-png
24 ifeq ($(BR2_PACKAGE_TIFF
),y
)
25 OPENJPEG_DEPENDENCIES
+= tiff
26 OPENJPEG_CONF_OPTS
+= --enable-tiff
28 OPENJPEG_CONF_OPTS
+= --disable-tiff
31 ifeq ($(BR2_PACKAGE_LCMS2
),y
)
32 OPENJPEG_DEPENDENCIES
+= lcms2
33 OPENJPEG_CONF_OPTS
+= --enable-lcms2
35 OPENJPEG_CONF_OPTS
+= --disable-lcms2
38 $(eval
$(autotools-package
))