2015-03-22 22:12:49 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# openjpeg
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-01-04 18:10:42 +01:00
|
|
|
OPENJPEG_VERSION = 2.4.0
|
2019-05-15 18:44:45 +02:00
|
|
|
OPENJPEG_SITE = $(call github,uclouvain,openjpeg,v$(OPENJPEG_VERSION))
|
2017-03-30 15:43:39 +02:00
|
|
|
OPENJPEG_LICENSE = BSD-2-Clause
|
2015-03-22 22:12:49 +01:00
|
|
|
OPENJPEG_LICENSE_FILES = LICENSE
|
2021-01-17 15:11:38 +01:00
|
|
|
OPENJPEG_CPE_ID_VENDOR = uclouvain
|
2015-03-22 22:12:49 +01:00
|
|
|
OPENJPEG_INSTALL_STAGING = YES
|
|
|
|
|
2016-04-25 23:44:31 +02:00
|
|
|
OPENJPEG_DEPENDENCIES += $(if $(BR2_PACKAGE_ZLIB),zlib)
|
|
|
|
OPENJPEG_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBPNG),libpng)
|
|
|
|
OPENJPEG_DEPENDENCIES += $(if $(BR2_PACKAGE_TIFF),tiff)
|
|
|
|
OPENJPEG_DEPENDENCIES += $(if $(BR2_PACKAGE_LCMS2),lcms2)
|
2015-03-22 22:12:49 +01:00
|
|
|
|
2017-11-11 17:41:53 +01:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
|
|
OPENJPEG_CONF_OPTS += -DOPJ_USE_THREAD=ON
|
|
|
|
else
|
|
|
|
OPENJPEG_CONF_OPTS += -DOPJ_USE_THREAD=OFF
|
|
|
|
endif
|
|
|
|
|
2016-04-25 23:44:31 +02:00
|
|
|
$(eval $(cmake-package))
|