pkgsrc/graphics/openjpeg/Makefile
adam fea502265c openjpeg: update to 2.3.0
OpenJPEG 2.3.0:

No API/ABI break compared to v2.2.0 but additional symbols for subset of components decoding (hence the MINOR version bump).

* Sub-tile decoding: when setting a window of interest through the API function opj_set_decode_area(), only codeblocks that intersect this window are now decoded (i.e. MCT, IDWT, and entropy decoding are only done on the window of interest). Moreover, memory allocation now depends on the size of the window of interest (instead of the full tile size).

* Ability to decode only a subset of components. This adds the following function opj_set_decoded_components(opj_codec_t p_codec, OPJ_UINT32 numcomps, const OPJ_UINT32 comps_indices, OPJ_BOOL apply_color_transforms) and equivalent opj_decompress -c compno[,compno]* option.

* Many bug fixes (including security fixes)
2017-10-06 21:00:44 +00:00

21 lines
608 B
Makefile

# $NetBSD: Makefile,v 1.16 2017/10/06 21:00:44 adam Exp $
DISTNAME= openjpeg-2.3.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=uclouvain/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.openjpeg.org/
COMMENT= JPEG 2000 library
LICENSE= 2-clause-bsd
USE_CMAKE= yes
USE_LANGUAGES= c99 c++
CMAKE_ARGS+= -DOPENJPEG_INSTALL_MAN_DIR=${PKGMANDIR}
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"