pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/glm



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Mar 31 10:46:00 UTC 2026

Modified Files:
        pkgsrc/graphics/glm: Makefile PLIST buildlink3.mk

Log Message:
glm: build using cmake; required for supertux


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/graphics/glm/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/graphics/glm/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/graphics/glm/buildlink3.mk

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

Modified files:

Index: pkgsrc/graphics/glm/Makefile
diff -u pkgsrc/graphics/glm/Makefile:1.13 pkgsrc/graphics/glm/Makefile:1.14
--- pkgsrc/graphics/glm/Makefile:1.13   Mon Jan  5 01:45:28 2026
+++ pkgsrc/graphics/glm/Makefile        Tue Mar 31 10:46:00 2026
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2026/01/05 01:45:28 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2026/03/31 10:46:00 adam Exp $
 
 DISTNAME=      glm-1.0.3
+PKGREVISION=   1
 CATEGORIES=    graphics math
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=g-truc/}
 
@@ -9,28 +10,8 @@ HOMEPAGE=     https://glm.g-truc.net/
 COMMENT=       C++ mathematics library for software based on the OpenGL GLSL
 LICENSE=       mit
 
-TEST_DEPENDS+= cmake-[0-9]*:../../devel/cmake
-
-NO_BUILD=      yes
-NO_CONFIGURE=  yes
-
-USE_TOOLS+=    pax
-
-GLM_DIR=               include/glm
-INSTALLATION_DIRS=     ${GLM_DIR}
-
-do-install:
-       ${RUN}cd ${WRKSRC}/glm && \
-               ${CHMOD} 644 *hpp detail/* ext/* gtc/* gtx/* simd/*
-       ${RUN}cd ${WRKSRC}/glm && \
-               pax -rw *hpp detail ext gtc gtx simd \
-                       ${DESTDIR}${PREFIX}/${GLM_DIR}
-
-# for test target
-USE_LANGUAGES= c c++
-do-test:
-       ${RUN}cd ${WRKSRC} && \
-               cmake -DGLM_TEST_MODE=ON CMakeLists.txt && \
-               make
+USE_LANGUAGES=         c c++
+CMAKE_CONFIGURE_ARGS=  -DBUILD_SHARED_LIBS=ON
 
+.include "../../devel/cmake/build.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/graphics/glm/PLIST
diff -u pkgsrc/graphics/glm/PLIST:1.7 pkgsrc/graphics/glm/PLIST:1.8
--- pkgsrc/graphics/glm/PLIST:1.7       Sun Oct 19 18:17:00 2025
+++ pkgsrc/graphics/glm/PLIST   Tue Mar 31 10:46:00 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2025/10/19 18:17:00 wiz Exp $
+@comment $NetBSD: PLIST,v 1.8 2026/03/31 10:46:00 adam Exp $
 include/glm/common.hpp
 include/glm/detail/_features.hpp
 include/glm/detail/_fixes.hpp
@@ -236,6 +236,7 @@ include/glm/ext/vector_ulp.hpp
 include/glm/ext/vector_ulp.inl
 include/glm/fwd.hpp
 include/glm/geometric.hpp
+include/glm/glm.cppm
 include/glm/glm.hpp
 include/glm/gtc/bitfield.hpp
 include/glm/gtc/bitfield.inl
@@ -430,3 +431,7 @@ include/glm/vec2.hpp
 include/glm/vec3.hpp
 include/glm/vec4.hpp
 include/glm/vector_relational.hpp
+lib/libglm.so
+share/glm/glmConfig-noconfig.cmake
+share/glm/glmConfig.cmake
+share/glm/glmConfigVersion.cmake

Index: pkgsrc/graphics/glm/buildlink3.mk
diff -u pkgsrc/graphics/glm/buildlink3.mk:1.3 pkgsrc/graphics/glm/buildlink3.mk:1.4
--- pkgsrc/graphics/glm/buildlink3.mk:1.3       Sun Aug  9 11:17:00 2015
+++ pkgsrc/graphics/glm/buildlink3.mk   Tue Mar 31 10:46:00 2026
@@ -1,12 +1,10 @@
-# $NetBSD: buildlink3.mk,v 1.3 2015/08/09 11:17:00 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2026/03/31 10:46:00 adam Exp $
 
 BUILDLINK_TREE+=       glm
 
 .if !defined(GLM_BUILDLINK3_MK)
 GLM_BUILDLINK3_MK:=
 
-BUILDLINK_DEPMETHOD.glm?=      build
-
 BUILDLINK_API_DEPENDS.glm+=    glm>=0.9.7
 BUILDLINK_PKGSRCDIR.glm?=      ../../graphics/glm
 .endif # GLM_BUILDLINK3_MK



Home | Main Index | Thread Index | Old Index