package/poppler: bump version to 0.32.0
authorOlivier Schonken <olivier.schonken@gmail.com>
Sun, 22 Mar 2015 21:12:48 +0000 (23:12 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 4 Apr 2015 09:38:00 +0000 (11:38 +0200)
This commit also adds an optional dependency on openjpeg: if
--enable-openjpeg=none is not passed, poppler assumes openjpeg is
available.

[Thomas:
  - add optional dependency on openjpeg instead of mandatory
    dependency.
  - remove --enable-xpdf-headers, since there was no justification for
    it.]

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/poppler/poppler.hash
package/poppler/poppler.mk

index f3225bc416014d03a1368549b2ec878ad3311e44..c4c7f661b39af61d3c13c384134deae12c15cfc3 100644 (file)
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256 a2654910100c923c44e366242495e226db2798254f2fa2781138867348759f84        poppler-0.24.5.tar.xz
+sha256 4963e31ba5e17530a87b16588e22928bc044e8d28d02303dded981bff6725b98        poppler-0.32.0.tar.xz
index d797fc7692f49a1d6cf19d325c1aa4522a769957..5a6b22b0a1b6588c6e57a088b1e7710aac081bd2 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-POPPLER_VERSION = 0.24.5
+POPPLER_VERSION = 0.32.0
 POPPLER_SOURCE = poppler-$(POPPLER_VERSION).tar.xz
 POPPLER_SITE = http://poppler.freedesktop.org
 POPPLER_DEPENDENCIES = fontconfig
@@ -69,4 +69,11 @@ else
 POPPLER_CONF_OPTS += --disable-poppler-qt4
 endif
 
+ifeq ($(BR2_PACKAGE_OPENJPEG),y)
+POPPLER_DEPENDENCIES += openjpeg
+POPPLER_CONF_OPTS += -enable-libopenjpeg=openjpeg2
+else
+POPPLER_CONF_OPTS += -enable-libopenjpeg=none
+endif
+
 $(eval $(autotools-package))