summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz>2007-11-30 21:50:22 +0000
committerwiz <wiz>2007-11-30 21:50:22 +0000
commit64b7be3b10f1b61b4bd294e9b5bc903fe644a141 (patch)
tree9e15119af3b3cce42a687e0d958f2ff256810081 /graphics
parent96cf22d5a9c8dfed096dc95aab8aa338b679717d (diff)
downloadpkgsrc-64b7be3b10f1b61b4bd294e9b5bc903fe644a141.tar.gz
Initial import of ilmbase-1.0.1:
Half is a class that encapsulates our 16-bit floating-point format. IlmThread is a thread abstraction library for use with OpenEXR and other software packages. It currently supports pthreads and Windows threads. Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions and other useful 2D and 3D math functions. Iex is an exception-handling library.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ilmbase/DESCR10
-rw-r--r--graphics/ilmbase/Makefile23
-rw-r--r--graphics/ilmbase/PLIST50
-rw-r--r--graphics/ilmbase/buildlink3.mk19
-rw-r--r--graphics/ilmbase/distinfo6
-rw-r--r--graphics/ilmbase/patches/patch-aa13
6 files changed, 121 insertions, 0 deletions
diff --git a/graphics/ilmbase/DESCR b/graphics/ilmbase/DESCR
new file mode 100644
index 00000000000..79b80040e58
--- /dev/null
+++ b/graphics/ilmbase/DESCR
@@ -0,0 +1,10 @@
+Half is a class that encapsulates our 16-bit floating-point format.
+
+IlmThread is a thread abstraction library for use with OpenEXR
+and other software packages. It currently supports pthreads and
+Windows threads.
+
+Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions
+and other useful 2D and 3D math functions.
+
+Iex is an exception-handling library.
diff --git a/graphics/ilmbase/Makefile b/graphics/ilmbase/Makefile
new file mode 100644
index 00000000000..11aae384f9e
--- /dev/null
+++ b/graphics/ilmbase/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/11/30 21:50:22 wiz Exp $
+
+DISTNAME= ilmbase-1.0.1
+CATEGORIES= graphics
+MASTER_SITES= http://savannah.nongnu.org/download/openexr/
+
+MAINTAINER= adam@NetBSD.org
+HOMEPAGE= http://www.openexr.com/
+COMMENT= High dynamic-range (HDR) image file format library and tools
+
+USE_TOOLS+= gmake
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+TEST_TARGET= check
+
+PKGCONFIG_OVERRIDE= IlmBase.pc.in
+PTHREAD_OPTS= require
+
+CONFLICTS= openexr<1.6
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/ilmbase/PLIST b/graphics/ilmbase/PLIST
new file mode 100644
index 00000000000..e9dac51f963
--- /dev/null
+++ b/graphics/ilmbase/PLIST
@@ -0,0 +1,50 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/11/30 21:50:22 wiz Exp $
+include/OpenEXR/Iex.h
+include/OpenEXR/IexBaseExc.h
+include/OpenEXR/IexErrnoExc.h
+include/OpenEXR/IexMacros.h
+include/OpenEXR/IexMathExc.h
+include/OpenEXR/IexThrowErrnoExc.h
+include/OpenEXR/IlmBaseConfig.h
+include/OpenEXR/IlmThread.h
+include/OpenEXR/IlmThreadMutex.h
+include/OpenEXR/IlmThreadPool.h
+include/OpenEXR/IlmThreadSemaphore.h
+include/OpenEXR/ImathBox.h
+include/OpenEXR/ImathBoxAlgo.h
+include/OpenEXR/ImathColor.h
+include/OpenEXR/ImathColorAlgo.h
+include/OpenEXR/ImathEuler.h
+include/OpenEXR/ImathExc.h
+include/OpenEXR/ImathFrame.h
+include/OpenEXR/ImathFrustum.h
+include/OpenEXR/ImathFun.h
+include/OpenEXR/ImathGL.h
+include/OpenEXR/ImathGLU.h
+include/OpenEXR/ImathHalfLimits.h
+include/OpenEXR/ImathInt64.h
+include/OpenEXR/ImathInterval.h
+include/OpenEXR/ImathLimits.h
+include/OpenEXR/ImathLine.h
+include/OpenEXR/ImathLineAlgo.h
+include/OpenEXR/ImathMath.h
+include/OpenEXR/ImathMatrix.h
+include/OpenEXR/ImathMatrixAlgo.h
+include/OpenEXR/ImathPlane.h
+include/OpenEXR/ImathPlatform.h
+include/OpenEXR/ImathQuat.h
+include/OpenEXR/ImathRandom.h
+include/OpenEXR/ImathRoots.h
+include/OpenEXR/ImathShear.h
+include/OpenEXR/ImathSphere.h
+include/OpenEXR/ImathVec.h
+include/OpenEXR/ImathVecAlgo.h
+include/OpenEXR/half.h
+include/OpenEXR/halfFunction.h
+include/OpenEXR/halfLimits.h
+lib/libHalf.la
+lib/libIex.la
+lib/libIlmThread.la
+lib/libImath.la
+lib/pkgconfig/IlmBase.pc
+@dirrm include/OpenEXR
diff --git a/graphics/ilmbase/buildlink3.mk b/graphics/ilmbase/buildlink3.mk
new file mode 100644
index 00000000000..7787a338a00
--- /dev/null
+++ b/graphics/ilmbase/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/11/30 21:50:22 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+ILMBASE_BUILDLINK3_MK:= ${ILMBASE_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= ilmbase
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nilmbase}
+BUILDLINK_PACKAGES+= ilmbase
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ilmbase
+
+.if ${ILMBASE_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.ilmbase+= ilmbase>=1.0.1
+BUILDLINK_PKGSRCDIR.ilmbase?= ../../graphics/ilmbase
+.endif # ILMBASE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/graphics/ilmbase/distinfo b/graphics/ilmbase/distinfo
new file mode 100644
index 00000000000..f9f1749219c
--- /dev/null
+++ b/graphics/ilmbase/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/11/30 21:50:22 wiz Exp $
+
+SHA1 (ilmbase-1.0.1.tar.gz) = 143adc547be83c6df75831ae957eef4b2706c9c0
+RMD160 (ilmbase-1.0.1.tar.gz) = 124f10b6f4ebefc9bb5dba7715d8897c7d71b947
+Size (ilmbase-1.0.1.tar.gz) = 463275 bytes
+SHA1 (patch-aa) = ddae07cf31a8282337cc258be102e0d8a4a36c57
diff --git a/graphics/ilmbase/patches/patch-aa b/graphics/ilmbase/patches/patch-aa
new file mode 100644
index 00000000000..43f4ccdc2a0
--- /dev/null
+++ b/graphics/ilmbase/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/11/30 21:50:22 wiz Exp $
+
+--- bootstrap.orig 2006-12-13 22:26:18.000000000 +0000
++++ bootstrap
+@@ -1,7 +1,7 @@
+ #! /bin/sh
+ # If we're on OS X, use glibtoolize instead of toolize
+ HOSTTYPE=`uname`
+-if [ "$HOSTTYPE" == "Darwin" ]; then
++if [ "$HOSTTYPE" = "Darwin" ]; then
+ LIBTOOLIZE=glibtoolize
+ else
+ LIBTOOLIZE=libtoolize