2014-01-13 09:20:36 +01:00
|
|
|
################################################################################
|
2014-01-12 18:53:15 +01:00
|
|
|
#
|
|
|
|
# jasper
|
|
|
|
#
|
2014-01-13 09:20:36 +01:00
|
|
|
################################################################################
|
2014-01-12 18:53:15 +01:00
|
|
|
|
2017-05-27 13:43:43 +02:00
|
|
|
JASPER_VERSION = version-2.0.13
|
|
|
|
JASPER_SITE = $(call github,mdadams,jasper,$(JASPER_VERSION))
|
2014-01-12 18:53:15 +01:00
|
|
|
JASPER_INSTALL_STAGING = YES
|
2016-11-10 18:54:39 +01:00
|
|
|
JASPER_LICENSE = JasPer License Version 2.0
|
2014-01-30 09:48:11 +01:00
|
|
|
JASPER_LICENSE_FILES = LICENSE
|
2017-01-12 21:47:44 +01:00
|
|
|
JASPER_SUPPORTS_IN_SOURCE_BUILD = NO
|
2017-01-14 19:08:29 +01:00
|
|
|
JASPER_CONF_OPTS = \
|
|
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_DOXYGEN=TRUE \
|
|
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_LATEX=TRUE
|
2016-11-29 12:23:03 +01:00
|
|
|
|
2017-01-12 21:47:44 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
|
JASPER_CONF_OPTS += -DJAS_ENABLE_SHARED=OFF
|
|
|
|
endif
|
2016-11-29 12:23:03 +01:00
|
|
|
|
2017-01-12 21:47:44 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_JPEG),y)
|
|
|
|
JASPER_CONF_OPTS += -DJAS_ENABLE_LIBJPEG=ON
|
|
|
|
JASPER_DEPENDENCIES += jpeg
|
|
|
|
else
|
|
|
|
JASPER_CONF_OPTS += -DJAS_ENABLE_LIBJPEG=OFF
|
|
|
|
endif
|
2014-01-12 18:53:15 +01:00
|
|
|
|
2017-01-12 21:47:44 +01:00
|
|
|
$(eval $(cmake-package))
|