diff options
author | obache <obache@pkgsrc.org> | 2009-01-18 12:48:19 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2009-01-18 12:48:19 +0000 |
commit | 1080cabf44d5c0689e1c3392ca1adf8aad38c879 (patch) | |
tree | c80043ccc0ae80fcb31c49221ecb9b8813f5ecc7 | |
parent | c387c81deeb709297630cd926eed36e4c6c8ba43 (diff) | |
download | pkgsrc-1080cabf44d5c0689e1c3392ca1adf8aad38c879.tar.gz |
Import pfstmo-1.3.2 as graphics/pfstmo.
Based on PR 39438 by Thomas Zander.
Pfstmo package contains the implementation of state-of-the-art tone
mapping operators. The motivation here is to provide an implementation
of tone mapping operators suitable for convenient processing of both
static images and animations.
-rw-r--r-- | graphics/pfstmo/DESCR | 4 | ||||
-rw-r--r-- | graphics/pfstmo/Makefile | 34 | ||||
-rw-r--r-- | graphics/pfstmo/PLIST | 17 | ||||
-rw-r--r-- | graphics/pfstmo/distinfo | 5 | ||||
-rw-r--r-- | graphics/pfstmo/options.mk | 18 |
5 files changed, 78 insertions, 0 deletions
diff --git a/graphics/pfstmo/DESCR b/graphics/pfstmo/DESCR new file mode 100644 index 00000000000..cfeaae9b630 --- /dev/null +++ b/graphics/pfstmo/DESCR @@ -0,0 +1,4 @@ +Pfstmo package contains the implementation of state-of-the-art tone +mapping operators. The motivation here is to provide an implementation +of tone mapping operators suitable for convenient processing of both +static images and animations. diff --git a/graphics/pfstmo/Makefile b/graphics/pfstmo/Makefile new file mode 100644 index 00000000000..07ed4d84778 --- /dev/null +++ b/graphics/pfstmo/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/01/18 12:48:19 obache Exp $ +# + +DISTNAME= pfstmo-1.3.2 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pfstools/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://pfstools.sourceforge.net/ +COMMENT= Tone mapping operators for HDR images + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config +USE_LANGUAGES= c c++ + +SUBST_CLASSES+= ns +SUBST_STAGE.ns= post-configure +SUBST_FILES.ns= src/drago03/tmo_drago03.cpp +SUBST_FILES.ns+=src/reinhard05/tmo_reinhard05.cpp +SUBST_FILES.ns+=src/fattal02/tmo_fattal02.cpp +SUBST_FILES.ns+=src/durand02/tmo_durand02.cpp +SUBST_SED.ns= -e s/_L/LL/g +SUBST_SED.ns+= -e s/_F/FF/g +SUBST_SED.ns+= -e s/_R/RR/g +SUBST_SED.ns+= -e s/_G/GG/g +SUBST_SED.ns+= -e s/_B/BB/g + +.include "options.mk" + +.include "../../graphics/pfstools/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/pfstmo/PLIST b/graphics/pfstmo/PLIST new file mode 100644 index 00000000000..5d787c75e7a --- /dev/null +++ b/graphics/pfstmo/PLIST @@ -0,0 +1,17 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/18 12:48:19 obache Exp $ +bin/pfstmo_drago03 +bin/pfstmo_durand02 +bin/pfstmo_fattal02 +bin/pfstmo_mantiuk06 +${PLIST.gsl}bin/pfstmo_mantiuk08 +bin/pfstmo_pattanaik00 +bin/pfstmo_reinhard02 +bin/pfstmo_reinhard05 +man/man1/pfstmo_drago03.1 +man/man1/pfstmo_durand02.1 +man/man1/pfstmo_fattal02.1 +man/man1/pfstmo_mantiuk06.1 +${PLIST.gsl}man/man1/pfstmo_mantiuk08.1 +man/man1/pfstmo_pattanaik00.1 +man/man1/pfstmo_reinhard02.1 +man/man1/pfstmo_reinhard05.1 diff --git a/graphics/pfstmo/distinfo b/graphics/pfstmo/distinfo new file mode 100644 index 00000000000..1cea7c24c5e --- /dev/null +++ b/graphics/pfstmo/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/01/18 12:48:19 obache Exp $ + +SHA1 (pfstmo-1.3.2.tar.gz) = 8662863c5bd3acdfb83eeef26b6ff5907b5531ec +RMD160 (pfstmo-1.3.2.tar.gz) = c1af48422f6c444acf2f28723b707ca61804c213 +Size (pfstmo-1.3.2.tar.gz) = 438982 bytes diff --git a/graphics/pfstmo/options.mk b/graphics/pfstmo/options.mk new file mode 100644 index 00000000000..f04caeef716 --- /dev/null +++ b/graphics/pfstmo/options.mk @@ -0,0 +1,18 @@ +# $NetBSD: options.mk,v 1.1.1.1 2009/01/18 12:48:19 obache Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.pfstmo +PKG_SUPPORTED_OPTIONS= fftw gsl +PKG_SUGGESTED_OPTIONS= fftw + +PLIST_VARS+= gsl + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mfftw) +.include "../../math/fftwf/buildlink3.mk" +.endif + +.if !empty(PKG_OPTIONS:Mgsl) +.include "../../math/gsl/buildlink3.mk" +PLIST.gsl= yes +.endif |