pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu May 20 19:52:31 UTC 2021

Modified Files:
        pkgsrc/graphics: Makefile
Added Files:
        pkgsrc/graphics/cglm: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.932 -r1.933 pkgsrc/graphics/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/cglm/DESCR \
    pkgsrc/graphics/cglm/Makefile pkgsrc/graphics/cglm/PLIST \
    pkgsrc/graphics/cglm/buildlink3.mk pkgsrc/graphics/cglm/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/Makefile
diff -u pkgsrc/graphics/Makefile:1.932 pkgsrc/graphics/Makefile:1.933
--- pkgsrc/graphics/Makefile:1.932      Wed May 12 09:03:29 2021
+++ pkgsrc/graphics/Makefile    Thu May 20 19:52:31 2021
@@ -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+=      cambevao
 SUBDIR+=       camediaplay
 SUBDIR+=       camlimages
 SUBDIR+=       cdlabelgen
+SUBDIR+=       cglm
 SUBDIR+=       charls
 SUBDIR+=       cheese
 SUBDIR+=       cinepaint

Added files:

Index: pkgsrc/graphics/cglm/DESCR
diff -u /dev/null pkgsrc/graphics/cglm/DESCR:1.1
--- /dev/null   Thu May 20 19:52:31 2021
+++ pkgsrc/graphics/cglm/DESCR  Thu May 20 19:52:31 2021
@@ -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.
Index: pkgsrc/graphics/cglm/Makefile
diff -u /dev/null pkgsrc/graphics/cglm/Makefile:1.1
--- /dev/null   Thu May 20 19:52:31 2021
+++ pkgsrc/graphics/cglm/Makefile       Thu May 20 19:52:31 2021
@@ -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"
Index: pkgsrc/graphics/cglm/PLIST
diff -u /dev/null pkgsrc/graphics/cglm/PLIST:1.1
--- /dev/null   Thu May 20 19:52:31 2021
+++ pkgsrc/graphics/cglm/PLIST  Thu May 20 19:52:31 2021
@@ -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
Index: pkgsrc/graphics/cglm/buildlink3.mk
diff -u /dev/null pkgsrc/graphics/cglm/buildlink3.mk:1.1
--- /dev/null   Thu May 20 19:52:31 2021
+++ pkgsrc/graphics/cglm/buildlink3.mk  Thu May 20 19:52:31 2021
@@ -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
Index: pkgsrc/graphics/cglm/distinfo
diff -u /dev/null pkgsrc/graphics/cglm/distinfo:1.1
--- /dev/null   Thu May 20 19:52:31 2021
+++ pkgsrc/graphics/cglm/distinfo       Thu May 20 19:52:31 2021
@@ -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