summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2021-07-08 21:09:04 +0000
committermarkd <markd@pkgsrc.org>2021-07-08 21:09:04 +0000
commit4f1d1b847bbe440bd1539a63adeac312f7828a6d (patch)
treeba725c4ebab204712adc2502079e27d268993720 /math
parent722def35ecf9dfb83a49a6265a4bcc45e8e375d7 (diff)
downloadpkgsrc-4f1d1b847bbe440bd1539a63adeac312f7828a6d.tar.gz
imath: add version 3.0.5
Imath is a basic, light-weight, and efficient C++ representation of 2D and 3D vectors and matrices and other simple but useful mathematical objects, functions, and data types common in computer graphics applications.
Diffstat (limited to 'math')
-rw-r--r--math/imath/DESCR4
-rw-r--r--math/imath/Makefile24
-rw-r--r--math/imath/PLIST45
-rw-r--r--math/imath/buildlink3.mk12
-rw-r--r--math/imath/distinfo6
5 files changed, 91 insertions, 0 deletions
diff --git a/math/imath/DESCR b/math/imath/DESCR
new file mode 100644
index 00000000000..bbcd6588142
--- /dev/null
+++ b/math/imath/DESCR
@@ -0,0 +1,4 @@
+Imath is a basic, light-weight, and efficient C++ representation of 2D
+and 3D vectors and matrices and other simple but useful mathematical
+objects, functions, and data types common in computer graphics
+applications.
diff --git a/math/imath/Makefile b/math/imath/Makefile
new file mode 100644
index 00000000000..0cab5a31a2f
--- /dev/null
+++ b/math/imath/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2021/07/08 21:09:04 markd Exp $
+
+DISTNAME= imath-3.0.5
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_GITHUB:=AcademySoftwareFoundation/}
+GITHUB_PROJECT= Imath
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://www.openexr.com/
+COMMENT= 2D and 3D vector, matrix, and math operations for computer graphics
+LICENSE= modified-bsd
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++14
+PTHREAD_OPTS= require
+
+# C++14
+GCC_REQD+= 6
+
+PKGCONFIG_OVERRIDE= config/Imath.pc.in
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/imath/PLIST b/math/imath/PLIST
new file mode 100644
index 00000000000..890a083077f
--- /dev/null
+++ b/math/imath/PLIST
@@ -0,0 +1,45 @@
+@comment $NetBSD: PLIST,v 1.1 2021/07/08 21:09:04 markd Exp $
+include/Imath/ImathBox.h
+include/Imath/ImathBoxAlgo.h
+include/Imath/ImathColor.h
+include/Imath/ImathColorAlgo.h
+include/Imath/ImathConfig.h
+include/Imath/ImathEuler.h
+include/Imath/ImathExport.h
+include/Imath/ImathForward.h
+include/Imath/ImathFrame.h
+include/Imath/ImathFrustum.h
+include/Imath/ImathFrustumTest.h
+include/Imath/ImathFun.h
+include/Imath/ImathGL.h
+include/Imath/ImathGLU.h
+include/Imath/ImathInt64.h
+include/Imath/ImathInterval.h
+include/Imath/ImathLine.h
+include/Imath/ImathLineAlgo.h
+include/Imath/ImathMath.h
+include/Imath/ImathMatrix.h
+include/Imath/ImathMatrixAlgo.h
+include/Imath/ImathNamespace.h
+include/Imath/ImathPlane.h
+include/Imath/ImathPlatform.h
+include/Imath/ImathQuat.h
+include/Imath/ImathRandom.h
+include/Imath/ImathRoots.h
+include/Imath/ImathShear.h
+include/Imath/ImathSphere.h
+include/Imath/ImathTypeTraits.h
+include/Imath/ImathVec.h
+include/Imath/ImathVecAlgo.h
+include/Imath/half.h
+include/Imath/halfFunction.h
+include/Imath/halfLimits.h
+lib/cmake/Imath/ImathConfig.cmake
+lib/cmake/Imath/ImathConfigVersion.cmake
+lib/cmake/Imath/ImathTargets-release.cmake
+lib/cmake/Imath/ImathTargets.cmake
+lib/libImath-3_0.so
+lib/libImath-3_0.so.28
+lib/libImath-3_0.so.28.0.2
+lib/libImath.so
+lib/pkgconfig/Imath.pc
diff --git a/math/imath/buildlink3.mk b/math/imath/buildlink3.mk
new file mode 100644
index 00000000000..69e45738e80
--- /dev/null
+++ b/math/imath/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/07/08 21:09:04 markd Exp $
+
+BUILDLINK_TREE+= imath
+
+.if !defined(IMATH_BUILDLINK3_MK)
+IMATH_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.imath+= imath>=3.0.4
+BUILDLINK_PKGSRCDIR.imath?= ../../math/imath
+.endif # IMATH_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -imath
diff --git a/math/imath/distinfo b/math/imath/distinfo
new file mode 100644
index 00000000000..30c02b5def8
--- /dev/null
+++ b/math/imath/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/07/08 21:09:04 markd Exp $
+
+SHA1 (imath-3.0.5.tar.gz) = 52b330d90873debbaa343931adbe734337cccada
+RMD160 (imath-3.0.5.tar.gz) = 92ec5f1c6e2765518c3250cdd9dded0e640c77d8
+SHA512 (imath-3.0.5.tar.gz) = df206315d822266cf32a5a4399abff7ad1dd0bd1f0372d61f61516e2acdefd13e3cfd9cf54373a3fb49bb28c9f80915ca5ecaec2a068a1d6ea231d71a5316da2
+Size (imath-3.0.5.tar.gz) = 528503 bytes