pkgsrc-WIP-changes archive

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

glm: update to version 0.9.9.8.



Module Name:	pkgsrc-wip
Committed By:	Mike M. Volokhov <mike.volokhov%gmail.com@localhost>
Pushed By:	mishka
Date:		Thu Feb 4 23:00:03 2021 +0200
Changeset:	5cc4cf8f886e53c3ea5d7067fe251a4ff3cf33ef

Modified Files:
	glm/Makefile
	glm/PLIST
	glm/distinfo
Added Files:
	glm/buildlink3.mk

Log Message:
glm: update to version 0.9.9.8.

For full list of the changes please see Release Notes section
in the readme.md file.

pkgsrc changes: glm abandoned installation scripts - return to manual
installation as defined in the graphics/glm.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5cc4cf8f886e53c3ea5d7067fe251a4ff3cf33ef

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

diffstat:
 glm/Makefile      |  33 ++++++++----
 glm/PLIST         | 151 +-----------------------------------------------------
 glm/buildlink3.mk |  14 +++++
 glm/distinfo      |   8 +--
 4 files changed, 43 insertions(+), 163 deletions(-)

diffs:
diff --git a/glm/Makefile b/glm/Makefile
index 9d82a59944..41cf265da4 100644
--- a/glm/Makefile
+++ b/glm/Makefile
@@ -1,22 +1,37 @@
 # $NetBSD$
 
-GITHUB_PROJECT=	glm
-DISTNAME=	0.9.9.3
-PKGNAME=	${GITHUB_PROJECT}-${DISTNAME}
-CATEGORIES=	math
+DISTNAME=	glm-0.9.9.8
+CATEGORIES=	graphics math
 MASTER_SITES=	${MASTER_SITE_GITHUB:=g-truc/}
-DIST_SUBDIR=	${GITHUB_PROJECT}
+EXTRACT_SUFX=	.zip
 
 MAINTAINER=	jihbed.research%gmail.com@localhost
 HOMEPAGE=	https://glm.g-truc.net/
 COMMENT=	C++ mathematics library for software based on the OpenGL GLSL
 LICENSE=	mit
 
-WRKSRC=		${WRKDIR}/glm-0.9.9.3
-USE_CMAKE=	yes
+NO_BUILD=	yes
+NO_CONFIGURE=	yes
+
+USE_TOOLS+=	pax
 USE_TOOLS+=	pkg-config
-USE_LANGUAGES=	c++
 
-PKGCONFIG_OVERRIDE+=	cmake/glm.pc.in
+GLM_DIR=		include/glm
+INSTALLATION_DIRS=	${GLM_DIR}
+
+do-install:
+	${RUN}cd ${WRKSRC}/glm && \
+		${CHMOD} 644 *hpp detail/* gtc/* gtx/* simd/*
+	${RUN}cd ${WRKSRC}/glm && \
+		pax -rw *hpp detail gtc gtx simd \
+			${DESTDIR}${PREFIX}/${GLM_DIR}
+
+# for test target
+USE_CMAKE=     yes
+USE_LANGUAGES=	c c++
+do-test:
+	${RUN}cd ${WRKSRC} && \
+		cmake -DGLM_TEST_MODE=ON CMakeLists.txt && \
+		make
 
 .include "../../mk/bsd.pkg.mk"
diff --git a/glm/PLIST b/glm/PLIST
index 236bbee172..b2f9792b75 100644
--- a/glm/PLIST
+++ b/glm/PLIST
@@ -1,31 +1,4 @@
 @comment $NetBSD$
-include/glm/CMakeFiles/CMakeDirectoryInformation.cmake
-include/glm/CMakeFiles/glm_shared.dir/CXX.includecache
-include/glm/CMakeFiles/glm_shared.dir/DependInfo.cmake
-include/glm/CMakeFiles/glm_shared.dir/build.make
-include/glm/CMakeFiles/glm_shared.dir/cmake_clean.cmake
-include/glm/CMakeFiles/glm_shared.dir/depend.internal
-include/glm/CMakeFiles/glm_shared.dir/depend.make
-include/glm/CMakeFiles/glm_shared.dir/detail/glm.cpp.o
-include/glm/CMakeFiles/glm_shared.dir/flags.make
-include/glm/CMakeFiles/glm_shared.dir/link.txt
-include/glm/CMakeFiles/glm_shared.dir/progress.make
-include/glm/CMakeFiles/glm_static.dir/CXX.includecache
-include/glm/CMakeFiles/glm_static.dir/DependInfo.cmake
-include/glm/CMakeFiles/glm_static.dir/build.make
-include/glm/CMakeFiles/glm_static.dir/cmake_clean.cmake
-include/glm/CMakeFiles/glm_static.dir/cmake_clean_target.cmake
-include/glm/CMakeFiles/glm_static.dir/depend.internal
-include/glm/CMakeFiles/glm_static.dir/depend.make
-include/glm/CMakeFiles/glm_static.dir/detail/glm.cpp.o
-include/glm/CMakeFiles/glm_static.dir/flags.make
-include/glm/CMakeFiles/glm_static.dir/link.txt
-include/glm/CMakeFiles/glm_static.dir/progress.make
-include/glm/CMakeFiles/progress.marks
-include/glm/CMakeLists.txt
-include/glm/CTestTestfile.cmake
-include/glm/Makefile
-include/glm/cmake_install.cmake
 include/glm/common.hpp
 include/glm/detail/_features.hpp
 include/glm/detail/_fixes.hpp
@@ -90,123 +63,6 @@ include/glm/detail/type_vec4.inl
 include/glm/detail/type_vec4_simd.inl
 include/glm/exponential.hpp
 include/glm/ext.hpp
-include/glm/ext/matrix_clip_space.hpp
-include/glm/ext/matrix_clip_space.inl
-include/glm/ext/matrix_double2x2.hpp
-include/glm/ext/matrix_double2x2_precision.hpp
-include/glm/ext/matrix_double2x3.hpp
-include/glm/ext/matrix_double2x3_precision.hpp
-include/glm/ext/matrix_double2x4.hpp
-include/glm/ext/matrix_double2x4_precision.hpp
-include/glm/ext/matrix_double3x2.hpp
-include/glm/ext/matrix_double3x2_precision.hpp
-include/glm/ext/matrix_double3x3.hpp
-include/glm/ext/matrix_double3x3_precision.hpp
-include/glm/ext/matrix_double3x4.hpp
-include/glm/ext/matrix_double3x4_precision.hpp
-include/glm/ext/matrix_double4x2.hpp
-include/glm/ext/matrix_double4x2_precision.hpp
-include/glm/ext/matrix_double4x3.hpp
-include/glm/ext/matrix_double4x3_precision.hpp
-include/glm/ext/matrix_double4x4.hpp
-include/glm/ext/matrix_double4x4_precision.hpp
-include/glm/ext/matrix_float2x2.hpp
-include/glm/ext/matrix_float2x2_precision.hpp
-include/glm/ext/matrix_float2x3.hpp
-include/glm/ext/matrix_float2x3_precision.hpp
-include/glm/ext/matrix_float2x4.hpp
-include/glm/ext/matrix_float2x4_precision.hpp
-include/glm/ext/matrix_float3x2.hpp
-include/glm/ext/matrix_float3x2_precision.hpp
-include/glm/ext/matrix_float3x3.hpp
-include/glm/ext/matrix_float3x3_precision.hpp
-include/glm/ext/matrix_float3x4.hpp
-include/glm/ext/matrix_float3x4_precision.hpp
-include/glm/ext/matrix_float4x2.hpp
-include/glm/ext/matrix_float4x2_precision.hpp
-include/glm/ext/matrix_float4x3.hpp
-include/glm/ext/matrix_float4x3_precision.hpp
-include/glm/ext/matrix_float4x4.hpp
-include/glm/ext/matrix_float4x4_precision.hpp
-include/glm/ext/matrix_projection.hpp
-include/glm/ext/matrix_projection.inl
-include/glm/ext/matrix_relational.hpp
-include/glm/ext/matrix_relational.inl
-include/glm/ext/matrix_transform.hpp
-include/glm/ext/matrix_transform.inl
-include/glm/ext/quaternion_common.hpp
-include/glm/ext/quaternion_common.inl
-include/glm/ext/quaternion_common_simd.inl
-include/glm/ext/quaternion_double.hpp
-include/glm/ext/quaternion_double_precision.hpp
-include/glm/ext/quaternion_exponential.hpp
-include/glm/ext/quaternion_exponential.inl
-include/glm/ext/quaternion_float.hpp
-include/glm/ext/quaternion_float_precision.hpp
-include/glm/ext/quaternion_geometric.hpp
-include/glm/ext/quaternion_geometric.inl
-include/glm/ext/quaternion_relational.hpp
-include/glm/ext/quaternion_relational.inl
-include/glm/ext/quaternion_transform.hpp
-include/glm/ext/quaternion_transform.inl
-include/glm/ext/quaternion_trigonometric.hpp
-include/glm/ext/quaternion_trigonometric.inl
-include/glm/ext/scalar_common.hpp
-include/glm/ext/scalar_common.inl
-include/glm/ext/scalar_constants.hpp
-include/glm/ext/scalar_constants.inl
-include/glm/ext/scalar_int_sized.hpp
-include/glm/ext/scalar_relational.hpp
-include/glm/ext/scalar_relational.inl
-include/glm/ext/scalar_uint_sized.hpp
-include/glm/ext/scalar_ulp.hpp
-include/glm/ext/scalar_ulp.inl
-include/glm/ext/vector_bool1.hpp
-include/glm/ext/vector_bool1_precision.hpp
-include/glm/ext/vector_bool2.hpp
-include/glm/ext/vector_bool2_precision.hpp
-include/glm/ext/vector_bool3.hpp
-include/glm/ext/vector_bool3_precision.hpp
-include/glm/ext/vector_bool4.hpp
-include/glm/ext/vector_bool4_precision.hpp
-include/glm/ext/vector_common.hpp
-include/glm/ext/vector_common.inl
-include/glm/ext/vector_double1.hpp
-include/glm/ext/vector_double1_precision.hpp
-include/glm/ext/vector_double2.hpp
-include/glm/ext/vector_double2_precision.hpp
-include/glm/ext/vector_double3.hpp
-include/glm/ext/vector_double3_precision.hpp
-include/glm/ext/vector_double4.hpp
-include/glm/ext/vector_double4_precision.hpp
-include/glm/ext/vector_float1.hpp
-include/glm/ext/vector_float1_precision.hpp
-include/glm/ext/vector_float2.hpp
-include/glm/ext/vector_float2_precision.hpp
-include/glm/ext/vector_float3.hpp
-include/glm/ext/vector_float3_precision.hpp
-include/glm/ext/vector_float4.hpp
-include/glm/ext/vector_float4_precision.hpp
-include/glm/ext/vector_int1.hpp
-include/glm/ext/vector_int1_precision.hpp
-include/glm/ext/vector_int2.hpp
-include/glm/ext/vector_int2_precision.hpp
-include/glm/ext/vector_int3.hpp
-include/glm/ext/vector_int3_precision.hpp
-include/glm/ext/vector_int4.hpp
-include/glm/ext/vector_int4_precision.hpp
-include/glm/ext/vector_relational.hpp
-include/glm/ext/vector_relational.inl
-include/glm/ext/vector_uint1.hpp
-include/glm/ext/vector_uint1_precision.hpp
-include/glm/ext/vector_uint2.hpp
-include/glm/ext/vector_uint2_precision.hpp
-include/glm/ext/vector_uint3.hpp
-include/glm/ext/vector_uint3_precision.hpp
-include/glm/ext/vector_uint4.hpp
-include/glm/ext/vector_uint4_precision.hpp
-include/glm/ext/vector_ulp.hpp
-include/glm/ext/vector_ulp.inl
 include/glm/fwd.hpp
 include/glm/geometric.hpp
 include/glm/glm.hpp
@@ -373,8 +229,6 @@ include/glm/gtx/vector_query.inl
 include/glm/gtx/wrap.hpp
 include/glm/gtx/wrap.inl
 include/glm/integer.hpp
-include/glm/libglm_shared.so
-include/glm/libglm_static.a
 include/glm/mat2x2.hpp
 include/glm/mat2x3.hpp
 include/glm/mat2x4.hpp
@@ -391,6 +245,7 @@ include/glm/simd/exponential.h
 include/glm/simd/geometric.h
 include/glm/simd/integer.h
 include/glm/simd/matrix.h
+include/glm/simd/neon.h
 include/glm/simd/packing.h
 include/glm/simd/platform.h
 include/glm/simd/trigonometric.h
@@ -400,7 +255,3 @@ include/glm/vec2.hpp
 include/glm/vec3.hpp
 include/glm/vec4.hpp
 include/glm/vector_relational.hpp
-lib/cmake/glm/glmConfig.cmake
-lib/cmake/glm/glmConfigVersion.cmake
-lib/cmake/glm/glmTargets.cmake
-lib/pkgconfig/glm.pc
diff --git a/glm/buildlink3.mk b/glm/buildlink3.mk
new file mode 100644
index 0000000000..a04d73d9e7
--- /dev/null
+++ b/glm/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.3 2015/08/09 11:17:00 wiz Exp $
+
+BUILDLINK_TREE+=	glm
+
+.if !defined(GLM_BUILDLINK3_MK)
+GLM_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.glm?=	build
+
+BUILDLINK_API_DEPENDS.glm+=	glm>=0.9.9
+BUILDLINK_PKGSRCDIR.glm?=	../../wip/glm
+.endif	# GLM_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-glm
diff --git a/glm/distinfo b/glm/distinfo
index 41adc8ded5..1078481065 100644
--- a/glm/distinfo
+++ b/glm/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (glm/0.9.9.3.tar.gz) = 4353b01dfadfbcb51ff2fef85933afb993bfc03b
-RMD160 (glm/0.9.9.3.tar.gz) = fe2b0ff5f457cd19d8f6d6dba7f7bccb0ae60994
-SHA512 (glm/0.9.9.3.tar.gz) = 44152ea6438763feda3b78813287fd59d3574a9630a41647a157825bf5ce4a18fbbecae5a5ccd94acc118ed3d42cbce53d3a67f25632d0c00ab77e7de2bb4650
-Size (glm/0.9.9.3.tar.gz) = 4577239 bytes
+SHA1 (glm-0.9.9.8.zip) = 7369c5d9df8afb9ec1693e946e5b0f3068285377
+RMD160 (glm-0.9.9.8.zip) = 2890923ab8502548edccaac205eb3bcbf27d1fea
+SHA512 (glm-0.9.9.8.zip) = 5db4901905ee78fa0abb5fa9116dd77790689ee0a833a6ea39a51e05bdad462ee7fb38b2a2b6d91e5b857ff9f6c70cc52841a02d0da181dd3470ecfbc11447ee
+Size (glm-0.9.9.8.zip) = 5793558 bytes


Home | Main Index | Thread Index | Old Index