6195e06cd9
1.78.0: * Various improvements in handling boxa sequences and transforms. * New regression tests: boxa4_reg, string_reg * New function for copying a pix, filtered by a boxa. * Modify histogram method for image comparison. * More careful attention to invalid boxes in box geometry functions. * Better string and array functions for search and replace. * Convenience functions for generating simple masks. * Allow pdf writing of jp2k images, in full generality. * Allow writing compressed ps images for printing. * Modified enum comments to include a suggested enum name. * New program: imagetops
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2019/03/22 08:23:04 adam Exp $
|
|
|
|
DISTNAME= leptonica-1.78.0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=danbloomberg/}
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= http://www.leptonica.org/
|
|
COMMENT= Software for image processing and image analysis applications
|
|
LICENSE= 2-clause-bsd
|
|
|
|
GITHUB_RELEASE= ${PKGVERSION_NOREV}
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
GNU_CONFIGURE= yes
|
|
TEST_TARGET= check
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# The presence of fmemopen() assumes open_memstream() is also available,
|
|
# which is wrong on platforms other than Linux.
|
|
.if ${OPSYS} != "Linux"
|
|
CONFIGURE_ENV+= ac_cv_func_fmemopen=no
|
|
.endif
|
|
|
|
# Silence console messages
|
|
CPPFLAGS+= -DNO_CONSOLE_IO=1
|
|
|
|
# Pass a SunOS that the build relies on
|
|
CPPFLAGS.SunOS+= -D__SOLARIS__=1
|
|
|
|
.include "../../graphics/giflib/buildlink3.mk"
|
|
.include "../../graphics/libwebp/buildlink3.mk"
|
|
.include "../../graphics/openjpeg/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|