git: 0d492c8afdf9 - main - graphics/magnum-integration: New port: Magnum Graphics: Integration libraries

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 09 Nov 2024 15:43:29 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0d492c8afdf9374d6cdbf0dda50b716c6cce135e

commit 0d492c8afdf9374d6cdbf0dda50b716c6cce135e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-09 09:17:23 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-09 15:43:13 +0000

    graphics/magnum-integration: New port: Magnum Graphics: Integration libraries
---
 graphics/Makefile                     |  1 +
 graphics/magnum-integration/Makefile  | 44 +++++++++++++++++++++++++++++++++++
 graphics/magnum-integration/distinfo  |  5 ++++
 graphics/magnum-integration/pkg-descr |  3 +++
 graphics/magnum-integration/pkg-plist | 43 ++++++++++++++++++++++++++++++++++
 5 files changed, 96 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index d729bbaa75dc..ac8eaf4704f3 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -563,6 +563,7 @@
     SUBDIR += lux
     SUBDIR += lximage-qt
     SUBDIR += magnum
+    SUBDIR += magnum-integration
     SUBDIR += magnum-plugins
     SUBDIR += mahotas
     SUBDIR += maim
diff --git a/graphics/magnum-integration/Makefile b/graphics/magnum-integration/Makefile
new file mode 100644
index 000000000000..10e99f75d692
--- /dev/null
+++ b/graphics/magnum-integration/Makefile
@@ -0,0 +1,44 @@
+PORTNAME=	magnum-integration
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2020.06-264
+DISTVERSIONSUFFIX=	-g50ac4db
+CATEGORIES=	graphics
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Magnum Graphics: Integration libraries
+WWW=		https://magnum.graphics/ \
+		https://github.com/mosra/magnum-integration
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	glm>0:math/glm
+LIB_DEPENDS=	libassimp.so:multimedia/assimp \
+		libLinearMath.so:devel/bullet \
+		libccd.so:math/libccd \
+		libCorradePluginManager.so:devel/corrade \
+		libdart.so:misc/dartsim \
+		libfcl.so:math/fcl \
+		libglfw.so:graphics/glfw \
+		libfmt.so:devel/libfmt \
+		libimgui.so:x11-toolkits/imgui \
+		libMagnum.so:graphics/magnum \
+		liboctomap.so:math/octomap
+
+USES=		cmake compiler:c++14-lang gl
+USE_GL=		opengl
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	mosra
+GH_TUPLE=	mosra:toolchains:2243706:t/toolchains
+
+CMAKE_ARGS=	-DLIB_SUFFIX:STRING=""
+
+CMAKE_ON=	MAGNUM_WITH_BULLET \
+		MAGNUM_WITH_EIGEN \
+		MAGNUM_WITH_GLM \
+		MAGNUM_WITH_DART \
+		MAGNUM_WITH_IMGUI
+
+.include <bsd.port.mk>
diff --git a/graphics/magnum-integration/distinfo b/graphics/magnum-integration/distinfo
new file mode 100644
index 000000000000..da9813847de6
--- /dev/null
+++ b/graphics/magnum-integration/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1731139944
+SHA256 (mosra-magnum-integration-v2020.06-264-g50ac4db_GH0.tar.gz) = 1f9f454dd53be3e1479598105df63eab7b0e7fe0b57f44139843f74619dbb41d
+SIZE (mosra-magnum-integration-v2020.06-264-g50ac4db_GH0.tar.gz) = 409221
+SHA256 (mosra-toolchains-2243706_GH0.tar.gz) = 4103ccdf4cdebb35acf8671e40aeb49e204456523acfaf8510473d3c200dc12b
+SIZE (mosra-toolchains-2243706_GH0.tar.gz) = 12312
diff --git a/graphics/magnum-integration/pkg-descr b/graphics/magnum-integration/pkg-descr
new file mode 100644
index 000000000000..b6b3cbbda1a9
--- /dev/null
+++ b/graphics/magnum-integration/pkg-descr
@@ -0,0 +1,3 @@
+magnum-integration contains integration libraries for Magnum C++11/C++14
+graphics engine, providing integration of various math and physics libraries
+into the engine itself.
diff --git a/graphics/magnum-integration/pkg-plist b/graphics/magnum-integration/pkg-plist
new file mode 100644
index 000000000000..a6737a874172
--- /dev/null
+++ b/graphics/magnum-integration/pkg-plist
@@ -0,0 +1,43 @@
+include/Magnum/BulletIntegration/DebugDraw.h
+include/Magnum/BulletIntegration/Integration.h
+include/Magnum/BulletIntegration/MotionState.h
+include/Magnum/BulletIntegration/configure.h
+include/Magnum/BulletIntegration/visibility.h
+include/Magnum/DartIntegration/ConvertShapeNode.h
+include/Magnum/DartIntegration/DartIntegration.h
+include/Magnum/DartIntegration/Object.h
+include/Magnum/DartIntegration/World.h
+include/Magnum/DartIntegration/configure.h
+include/Magnum/DartIntegration/visibility.h
+include/Magnum/EigenIntegration/DynamicMatrixIntegration.h
+include/Magnum/EigenIntegration/GeometryIntegration.h
+include/Magnum/EigenIntegration/Integration.h
+include/Magnum/GlmIntegration/GtcIntegration.h
+include/Magnum/GlmIntegration/GtxIntegration.h
+include/Magnum/GlmIntegration/Integration.h
+include/Magnum/GlmIntegration/configure.h
+include/Magnum/GlmIntegration/visibility.h
+include/Magnum/ImGuiIntegration/Context.h
+include/Magnum/ImGuiIntegration/Context.hpp
+include/Magnum/ImGuiIntegration/Integration.h
+include/Magnum/ImGuiIntegration/Widgets.h
+include/Magnum/ImGuiIntegration/configure.h
+include/Magnum/ImGuiIntegration/visibility.h
+include/Magnum/versionIntegration.h
+lib/libMagnumBulletIntegration.so
+lib/libMagnumBulletIntegration.so.2
+lib/libMagnumBulletIntegration.so.2.4
+lib/libMagnumDartIntegration.so
+lib/libMagnumDartIntegration.so.2
+lib/libMagnumDartIntegration.so.2.4
+lib/libMagnumGlmIntegration.so
+lib/libMagnumGlmIntegration.so.2
+lib/libMagnumGlmIntegration.so.2.4
+lib/libMagnumImGuiIntegration.so
+lib/libMagnumImGuiIntegration.so.2
+lib/libMagnumImGuiIntegration.so.2.4
+share/cmake/MagnumIntegration/FindMagnumIntegration.cmake
+share/cmake/MagnumIntegration/MagnumIntegrationConfig.cmake
+share/cmake/MagnumIntegration/dependencies/FindBullet.cmake
+share/cmake/MagnumIntegration/dependencies/FindGLM.cmake
+share/cmake/MagnumIntegration/dependencies/FindImGui.cmake