pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics add graphics/cglm.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/87fd1942870c
branches:  trunk
changeset: 452965:87fd1942870c
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu May 20 19:52:31 2021 +0000

description:
add graphics/cglm.

cglm is an optimized 3D math library written in C99 (compatible with C89).
It is similar to original glm library except this is mainly for C.

This library stores matrices as column-major order but in the future row-major
is considered to be supported as optional.

Currently only the float type is supported for most operations.

diffstat:

 graphics/Makefile           |   3 +-
 graphics/cglm/DESCR         |   7 +++
 graphics/cglm/Makefile      |  17 ++++++++
 graphics/cglm/PLIST         |  95 +++++++++++++++++++++++++++++++++++++++++++++
 graphics/cglm/buildlink3.mk |  12 +++++
 graphics/cglm/distinfo      |   6 ++
 6 files changed, 139 insertions(+), 1 deletions(-)

diffs (174 lines):

diff -r 9dfe637b8252 -r 87fd1942870c graphics/Makefile
--- a/graphics/Makefile Thu May 20 19:46:44 2021 +0000
+++ b/graphics/Makefile Thu May 20 19:52:31 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.932 2021/05/12 09:03:29 wiz Exp $
+# $NetBSD: Makefile,v 1.933 2021/05/20 19:52:31 nia Exp $
 #
 
 COMMENT=       Graphics tools and libraries
@@ -72,6 +72,7 @@
 SUBDIR+=       camediaplay
 SUBDIR+=       camlimages
 SUBDIR+=       cdlabelgen
+SUBDIR+=       cglm
 SUBDIR+=       charls
 SUBDIR+=       cheese
 SUBDIR+=       cinepaint
diff -r 9dfe637b8252 -r 87fd1942870c graphics/cglm/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cglm/DESCR       Thu May 20 19:52:31 2021 +0000
@@ -0,0 +1,7 @@
+cglm is an optimized 3D math library written in C99 (compatible with C89).
+It is similar to original glm library except this is mainly for C.
+
+This library stores matrices as column-major order but in the future row-major
+is considered to be supported as optional.
+
+Currently only the float type is supported for most operations.
diff -r 9dfe637b8252 -r 87fd1942870c graphics/cglm/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cglm/Makefile    Thu May 20 19:52:31 2021 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2021/05/20 19:52:31 nia Exp $
+
+DISTNAME=      cglm-0.8.2
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=recp/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/recp/cglm
+COMMENT=       OpenGL Mathematics for C
+LICENSE=       mit
+
+PKGCONFIG_OVERRIDE_STAGE=      pre-install
+PKGCONFIG_OVERRIDE+=           output/meson-private/cglm.pc
+
+.include "../../devel/meson/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9dfe637b8252 -r 87fd1942870c graphics/cglm/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cglm/PLIST       Thu May 20 19:52:31 2021 +0000
@@ -0,0 +1,95 @@
+@comment $NetBSD: PLIST,v 1.1 2021/05/20 19:52:31 nia Exp $
+include/cglm/affine-mat.h
+include/cglm/affine.h
+include/cglm/affine2d.h
+include/cglm/applesimd.h
+include/cglm/bezier.h
+include/cglm/box.h
+include/cglm/call.h
+include/cglm/call/affine.h
+include/cglm/call/affine2d.h
+include/cglm/call/bezier.h
+include/cglm/call/box.h
+include/cglm/call/cam.h
+include/cglm/call/curve.h
+include/cglm/call/ease.h
+include/cglm/call/euler.h
+include/cglm/call/frustum.h
+include/cglm/call/io.h
+include/cglm/call/mat2.h
+include/cglm/call/mat3.h
+include/cglm/call/mat4.h
+include/cglm/call/plane.h
+include/cglm/call/project.h
+include/cglm/call/quat.h
+include/cglm/call/ray.h
+include/cglm/call/sphere.h
+include/cglm/call/vec2.h
+include/cglm/call/vec3.h
+include/cglm/call/vec4.h
+include/cglm/cam.h
+include/cglm/cglm.h
+include/cglm/color.h
+include/cglm/common.h
+include/cglm/curve.h
+include/cglm/ease.h
+include/cglm/euler.h
+include/cglm/frustum.h
+include/cglm/io.h
+include/cglm/mat2.h
+include/cglm/mat3.h
+include/cglm/mat4.h
+include/cglm/plane.h
+include/cglm/project.h
+include/cglm/quat.h
+include/cglm/ray.h
+include/cglm/simd/arm.h
+include/cglm/simd/avx/affine.h
+include/cglm/simd/avx/mat4.h
+include/cglm/simd/intrin.h
+include/cglm/simd/neon/affine.h
+include/cglm/simd/neon/mat2.h
+include/cglm/simd/neon/mat4.h
+include/cglm/simd/neon/quat.h
+include/cglm/simd/sse2/affine.h
+include/cglm/simd/sse2/mat2.h
+include/cglm/simd/sse2/mat3.h
+include/cglm/simd/sse2/mat4.h
+include/cglm/simd/sse2/quat.h
+include/cglm/simd/x86.h
+include/cglm/sphere.h
+include/cglm/struct.h
+include/cglm/struct/affine.h
+include/cglm/struct/affine2d.h
+include/cglm/struct/box.h
+include/cglm/struct/cam.h
+include/cglm/struct/color.h
+include/cglm/struct/curve.h
+include/cglm/struct/euler.h
+include/cglm/struct/frustum.h
+include/cglm/struct/io.h
+include/cglm/struct/mat2.h
+include/cglm/struct/mat3.h
+include/cglm/struct/mat4.h
+include/cglm/struct/plane.h
+include/cglm/struct/project.h
+include/cglm/struct/quat.h
+include/cglm/struct/sphere.h
+include/cglm/struct/vec2-ext.h
+include/cglm/struct/vec2.h
+include/cglm/struct/vec3-ext.h
+include/cglm/struct/vec3.h
+include/cglm/struct/vec4-ext.h
+include/cglm/struct/vec4.h
+include/cglm/types-struct.h
+include/cglm/types.h
+include/cglm/util.h
+include/cglm/vec2-ext.h
+include/cglm/vec2.h
+include/cglm/vec3-ext.h
+include/cglm/vec3.h
+include/cglm/vec4-ext.h
+include/cglm/vec4.h
+include/cglm/version.h
+lib/libcglm.so
+lib/pkgconfig/cglm.pc
diff -r 9dfe637b8252 -r 87fd1942870c graphics/cglm/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cglm/buildlink3.mk       Thu May 20 19:52:31 2021 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/05/20 19:52:31 nia Exp $
+
+BUILDLINK_TREE+=       cglm
+
+.if !defined(CGLM_BUILDLINK3_MK)
+CGLM_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.cglm+=   cglm>=0.8.2
+BUILDLINK_PKGSRCDIR.cglm?=     ../../graphics/cglm
+.endif # CGLM_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -cglm
diff -r 9dfe637b8252 -r 87fd1942870c graphics/cglm/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cglm/distinfo    Thu May 20 19:52:31 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/05/20 19:52:31 nia Exp $
+
+SHA1 (cglm-0.8.2.tar.gz) = b2699a9c97df3630aec67776e4884b79e1eb2ecb
+RMD160 (cglm-0.8.2.tar.gz) = 8147d268546531d1664eb07839041cf54e258396
+SHA512 (cglm-0.8.2.tar.gz) = 9ed9661f69fc46c7f0fe8468ec7cdf4071118adaa06b97f99134f5d04a0f7b21158df479f678f78e927c6e4a5d2e6f38c2e8d38ef40ab1f04b2b721af3e7a152
+Size (cglm-0.8.2.tar.gz) = 231038 bytes



Home | Main Index | Thread Index | Old Index