jasper: bump to version 2.0.10
authorBaruch Siach <baruch@tkos.co.il>
Thu, 12 Jan 2017 20:47:44 +0000 (22:47 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 13 Jan 2017 15:13:20 +0000 (16:13 +0100)
Use upstream provided tarball.

Upstream switched to cmake.

libjpeg dependency is now optional.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/jasper/Config.in
package/jasper/jasper.hash
package/jasper/jasper.mk

index 087b520f11ce51f882fe6547b0cc6de2d8a1ba5e..72969365701d9c1bdad0a131e3cc798f817d98f4 100644 (file)
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_JASPER
        bool "jasper"
-       select BR2_PACKAGE_JPEG
        help
          JPEG-2000 decoder
 
index 64ddfa4841a9995477c8c2ac3e953958d6a2193f..6c3ab473cf913cb50d3a66a475f21170176b59ab 100644 (file)
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256 0099084dce9fa0a318b48a5ed2a12ac7cff3324f3fd4459833e6fe2ff583fb2c  jasper-version-1.900.31.tar.gz
+sha256 54d85428e35263642358a11c312d61cbc054170546fae780e11271df5d1502e8 jasper-2.0.10.tar.gz
index 32aa618292926e348684793a8ae9440513fd73dc..f4db8c492064b515e2e852f009ef95821d6ed3f3 100644 (file)
@@ -4,16 +4,22 @@
 #
 ################################################################################
 
-JASPER_VERSION = version-1.900.31
-JASPER_SITE = $(call github,mdadams,jasper,$(JASPER_VERSION))
+JASPER_VERSION = 2.0.10
+JASPER_SITE = http://www.ece.uvic.ca/~frodo/jasper/software
 JASPER_INSTALL_STAGING = YES
-JASPER_DEPENDENCIES = jpeg
 JASPER_LICENSE = JasPer License Version 2.0
 JASPER_LICENSE_FILES = LICENSE
+JASPER_SUPPORTS_IN_SOURCE_BUILD = NO
 
-# No configure script included. We need to generate it.
-JASPER_AUTORECONF = YES
+ifeq ($(BR2_STATIC_LIBS),y)
+JASPER_CONF_OPTS += -DJAS_ENABLE_SHARED=OFF
+endif
 
-JASPER_CONF_OPTS = --disable-strict
+ifeq ($(BR2_PACKAGE_JPEG),y)
+JASPER_CONF_OPTS += -DJAS_ENABLE_LIBJPEG=ON
+JASPER_DEPENDENCIES += jpeg
+else
+JASPER_CONF_OPTS += -DJAS_ENABLE_LIBJPEG=OFF
+endif
 
-$(eval $(autotools-package))
+$(eval $(cmake-package))