2ec428dffe
Version 1.6.2beta01 [April 14, 2013] Updated documentation of 1.5.x to 1.6.x changes in iCCP chunk handling. Fixed incorrect warning of excess deflate data. End condition - the warning would be produced if the end of the deflate stream wasn't read in the last row. The warning is harmless. Corrected the test on user transform changes on read. It was in the png_set of the transform function, but that doesn't matter unless the transform function changes the rowbuf size, and that is only valid if transform_info is called. Corrected a misplaced closing bracket in contrib/libtests/pngvalid.c (Flavio Medeiros). Corrected length written to uncompressed iTXt chunks (Samuli Suominen).
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.157 2013/04/15 22:33:41 prlw1 Exp $
|
|
|
|
DISTNAME= libpng-1.6.2beta01
|
|
PKGNAME= ${DISTNAME:S/lib//}
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} \
|
|
ftp://ftp.fu-berlin.de/unix/graphics/png/src/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= wiz@NetBSD.org
|
|
HOMEPAGE= http://www.libpng.org/pub/png/libpng.html
|
|
COMMENT= Library for manipulating PNG images
|
|
LICENSE= zlib
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
GNU_CONFIGURE= yes
|
|
PKGCONFIG_OVERRIDE= scripts/libpng.pc.in libpng.pc.in
|
|
TEST_TARGET= check
|
|
USE_LIBTOOL= yes
|
|
|
|
CPPFLAGS+= -DPNG_USER_CHUNK_CACHE_MAX=128 -DPNG_USER_CHUNK_MALLOC_MAX=8000000
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
# keep this in sync with the same code in buildlink3.mk
|
|
.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
|
|
CPPFLAGS+= -DPNG_NO_ASSEMBLER_CODE
|
|
.endif
|
|
|
|
SUBST_CLASSES+= rpathfix
|
|
SUBST_FILES.rpathfix= libpng-config.in
|
|
SUBST_MESSAGE.rpathfix= Adding rpath to libpng-config
|
|
SUBST_SED.rpathfix= -e 's/-L$${libdir}/${COMPILER_RPATH_FLAG}$${libdir} -L$${libdir}/g'
|
|
SUBST_STAGE.rpathfix= pre-configure
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|