a6facc809b
Fixes http://autobuild.buildroot.net/results/f16/f16a558c30199a92e93a31e0ba391b99a9bd689f/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
762 B
Makefile
25 lines
762 B
Makefile
################################################################################
|
|
#
|
|
# openjpeg
|
|
#
|
|
################################################################################
|
|
|
|
OPENJPEG_VERSION = 2.3.0
|
|
OPENJPEG_SITE = $(call github,uclouvain,openjpeg,v$(OPENJPEG_VERSION))
|
|
OPENJPEG_LICENSE = BSD-2-Clause
|
|
OPENJPEG_LICENSE_FILES = LICENSE
|
|
OPENJPEG_INSTALL_STAGING = YES
|
|
|
|
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)
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
OPENJPEG_CONF_OPTS += -DOPJ_USE_THREAD=ON
|
|
else
|
|
OPENJPEG_CONF_OPTS += -DOPJ_USE_THREAD=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|