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-01-12 21:47:44 +01:00
|
|
|
JASPER_VERSION = 2.0.10
|
|
|
|
JASPER_SITE = http://www.ece.uvic.ca/~frodo/jasper/software
|
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
|
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))
|