pkgsrc/graphics/enblend-enfuse/Makefile

44 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.7 2010/06/13 22:44:29 wiz Exp $
Changes 4.0: * Huge new documentation in Info, PS, PDF, and XHTML formats. Plain HTML format is not supported because it cannot portably render MathML. * New manual pages. * Automatic bit depth conversion between input and output images if necessary. * Compilation without image cache works again ("--disable-image-cache"). Speedups of up to 30% have been reported on the amd64 architecture. * Enblend and Enfuse accept repsonse files in addition to literal image files. Response files contain lists of image filenames or names of other response files. * Lots of new warnings if a command-line option has no effect, like, for example, combining a mask optimization option with "--no-optimize". * Enblend shows the initial, unoptimized seam line in addition to the optimized one in all seam-line visualization images (option "--visualize"). * Enblend and Enfuse read multi-layer TIFF files ("multi directory" in TIFF jargon). It is even possible to mix multi-layer with single layer images. This partially fixes SourceForge bug ID 1170329. * Save masks with (lossless) "Deflate" compression. * An improved wrap-around option, formerly only "-w", now "-wMODE" and "--wrap=MODE", lets the user determine whether to create a 360 degrees horizontal or vertical panorama. It is possible to wrap around vertically and horizontally at the same time. * Without any output filename given, i.e. no "-o" option, the output filename now defaults to "a.tif", making "-o" truly an option. * The user has better control of the number of pyramid levels. Previously only the maximum number in any blend could be reduced by the "-l" option. Now, the maximum number can be reduced by a fixed amount no matter what the actual maximum number of permissible pyramid levels is. * Use OpenMP to make better use of multi-processor machines. As the image cache is not reentrant, OpenMP can only be activated when the image cache is disabled. * Enblend and Enfuse issue messages following the GNU standard. * Bug Fixes
2009-12-16 22:28:35 +01:00
DISTNAME= enblend-enfuse-4.0
2010-01-05 10:32:36 +01:00
# XXX distribution file has changed; remove the line below on next update
DIST_SUBDIR= ${PKGNAME_NOREV}
PKGREVISION= 3
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enblend/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://enblend.sourceforge.net/
COMMENT= Combines overlapping images without seams, with good exposure
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
Changes 4.0: * Huge new documentation in Info, PS, PDF, and XHTML formats. Plain HTML format is not supported because it cannot portably render MathML. * New manual pages. * Automatic bit depth conversion between input and output images if necessary. * Compilation without image cache works again ("--disable-image-cache"). Speedups of up to 30% have been reported on the amd64 architecture. * Enblend and Enfuse accept repsonse files in addition to literal image files. Response files contain lists of image filenames or names of other response files. * Lots of new warnings if a command-line option has no effect, like, for example, combining a mask optimization option with "--no-optimize". * Enblend shows the initial, unoptimized seam line in addition to the optimized one in all seam-line visualization images (option "--visualize"). * Enblend and Enfuse read multi-layer TIFF files ("multi directory" in TIFF jargon). It is even possible to mix multi-layer with single layer images. This partially fixes SourceForge bug ID 1170329. * Save masks with (lossless) "Deflate" compression. * An improved wrap-around option, formerly only "-w", now "-wMODE" and "--wrap=MODE", lets the user determine whether to create a 360 degrees horizontal or vertical panorama. It is possible to wrap around vertically and horizontally at the same time. * Without any output filename given, i.e. no "-o" option, the output filename now defaults to "a.tif", making "-o" truly an option. * The user has better control of the number of pyramid levels. Previously only the maximum number in any blend could be reduced by the "-l" option. Now, the maximum number can be reduced by a fixed amount no matter what the actual maximum number of permissible pyramid levels is. * Use OpenMP to make better use of multi-processor machines. As the image cache is not reentrant, OpenMP can only be activated when the image cache is disabled. * Enblend and Enfuse issue messages following the GNU standard. * Bug Fixes
2009-12-16 22:28:35 +01:00
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}-753b534c819d
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake perl:build pkg-config
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --enable-openmp
CONFIGURE_ARGS+= --with-apple-opengl-framework
.else
CONFIGURE_ARGS+= --with-x
.include "../../graphics/glew/buildlink3.mk"
.include "../../graphics/glut/buildlink3.mk"
.endif
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/lcms/buildlink3.mk"
.include "../../graphics/libxmi/buildlink3.mk"
.include "../../graphics/openexr/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"