pkgsrc/graphics/leptonica/Makefile
adam 09be4c07d2 leptonica: updated to 1.76.0
1.76.0:
Modify infrastructure to fix outstanding security issues. By default,
  you can no longer create temp directories and temp files whose
  names are known to the compiler.  Also, prevent "system" calls,
  which were used for image display and gnuplot.
Replaced remaining sprintf() with snprintf() in prog tests.
Added non-transcoding functions for generating pdf from jpeg pixacomp
Add control of jpeg quality from pixWriteMem() and pixWriteStream()
Fixed getFilenamesInDirectory() to properly identify directories
Prevent size overflow in calloc for kernel; cleaned it up fpix and dpix
bmp reading now accepts negative height
Simplified splitimage2pdf; it no longer uses ps2pdf
Remove name-mangling WRITE_AS_NAMED compile option.
Removed 2 deprecated write functions.
Added these regression tests:
   locminmax_reg, speckle_reg, watershed_reg,
2018-05-09 11:39:04 +00:00

37 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.14 2018/05/09 11:39:04 adam Exp $
DISTNAME= leptonica-1.76.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
# 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"