Commit a7790974 authored by Olivier Schonken's avatar Olivier Schonken Committed by Thomas Petazzoni
Browse files

package/openjpeg: New package openjpeg 1.5.2



This package is needed by Poppler.

[Thomas:
 - fix download location, which was incorrect.
 - add dependency on host-pkgconf, since the configure.ac script uses
   PKG_CHECK_MODULES and we're doing an autoreconf.
 - add optional dependencies on libpng, tiff and lcms2, so that they
   are explicit instead of automatically detected.]

Signed-off-by: default avatarOlivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 43e7aab0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -757,6 +757,7 @@ menu "Graphics"
	source "package/libvips/Config.in"
	source "package/opencv/Config.in"
	source "package/opengl/Config.in"
	source "package/openjpeg/Config.in"
	source "package/pango/Config.in"
	source "package/pixman/Config.in"
	source "package/poppler/Config.in"
+7 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_OPENJPEG
	bool "openjpeg"
	help
	  The OpenJPEG library is an open-source JPEG 2000 codec
	  written in C.

          http://www.openjpeg.org
+2 −0
Original line number Diff line number Diff line
# Locally computed:
sha256	15df7b194a5d8dba0052cd21c17a4dc761149a770a907d73fffb972078c28a87  openjpeg-1.5.2.tar.gz
+38 −0
Original line number Diff line number Diff line
################################################################################
#
# openjpeg
#
################################################################################

OPENJPEG_VERSION = 1.5.2
OPENJPEG_SITE = http://downloads.sourceforge.net/project/openjpeg.mirror/$(OPENJPEG_VERSION)
OPENJPEG_LICENSE = BSD-2c
OPENJPEG_LICENSE_FILES = LICENSE
# tarball does not contain the generated files
OPENJPEG_AUTORECONF = YES
OPENJPEG_INSTALL_STAGING = YES
OPENJPEG_DEPENDENCIES = host-pkgconf
OPENJPEG_CONF_OPTS = --disable-lcms1

ifeq ($(BR2_PACKAGE_LIBPNG),y)
OPENJPEG_DEPENDENCIES += libpng
OPENJPEG_CONF_OPTS += --enable-png
else
OPENJPEG_CONF_OPTS += --disable-png
endif

ifeq ($(BR2_PACKAGE_TIFF),y)
OPENJPEG_DEPENDENCIES += tiff
OPENJPEG_CONF_OPTS += --enable-tiff
else
OPENJPEG_CONF_OPTS += --disable-tiff
endif

ifeq ($(BR2_PACKAGE_LCMS2),y)
OPENJPEG_DEPENDENCIES += lcms2
OPENJPEG_CONF_OPTS += --enable-lcms2
else
OPENJPEG_CONF_OPTS += --disable-lcms2
endif

$(eval $(autotools-package))