Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2024 03:49:10 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c6687ad39790 - main - graphics/magnum-examples: Re-add port: Magnum Graphics: Examples
Message-ID:  <202411100349.4AA3nA8I068667@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit c6687ad39790a971088509363bd7be344b06e960
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-10 03:47:59 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-10 03:49:06 +0000

    graphics/magnum-examples: Re-add port: Magnum Graphics: Examples
---
 MOVED                              |  1 -
 graphics/Makefile                  |  1 +
 graphics/magnum-examples/Makefile  | 71 ++++++++++++++++++++++++++++++++++++++
 graphics/magnum-examples/distinfo  |  5 +++
 graphics/magnum-examples/pkg-descr |  3 ++
 graphics/magnum-examples/pkg-plist | 43 +++++++++++++++++++++++
 6 files changed, 123 insertions(+), 1 deletion(-)

diff --git a/MOVED b/MOVED
index 8fbe54ce170a..542242638cb0 100644
--- a/MOVED
+++ b/MOVED
@@ -1233,7 +1233,6 @@ math/rkward-kde|math/rkward|2022-05-06|Switched to the name used by upstream
 graphics/photoflow||2022-05-06|Unmaintainer upstream, has been broken for months, particularly this issue isn't answered: https://github.com/aferrero2707/PhotoFlow/issues/220
 textproc/redisearch16||2022-05-09|Has expired. Use textproc/redisearch or textproc/redisearch20
 devel/git-arc|devel/freebsd-git-devtools|2022-05-13|Renamed because more tools are now included
-graphics/magnum-examples||2022-05-17|Has expired: Depends on broken graphics/magnum
 graphics/magnum-extras||2022-05-17|Has expired: Depends on broken graphics/magnum
 math/pantheon-calculator|math/elementary-calculator|2022-05-18|Switch to reverse domain name notation
 mail/p5-MIME-Fast||2022-05-19|Depends on long deprecated gmime-2.2
diff --git a/graphics/Makefile b/graphics/Makefile
index ac8eaf4704f3..a2f8b48dc040 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -563,6 +563,7 @@
     SUBDIR += lux
     SUBDIR += lximage-qt
     SUBDIR += magnum
+    SUBDIR += magnum-examples
     SUBDIR += magnum-integration
     SUBDIR += magnum-plugins
     SUBDIR += mahotas
diff --git a/graphics/magnum-examples/Makefile b/graphics/magnum-examples/Makefile
new file mode 100644
index 000000000000..a293071d89ea
--- /dev/null
+++ b/graphics/magnum-examples/Makefile
@@ -0,0 +1,71 @@
+PORTNAME=	magnum-examples
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2020.06-265
+DISTVERSIONSUFFIX=	-gb843f07a
+CATEGORIES=	graphics
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Magnum Graphics: Examples
+WWW=		https://magnum.graphics/ \
+		https://github.com/mosra/magnum-examples
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libCorradeUtility.so:devel/corrade \
+		libMagnum.so:graphics/magnum \
+		libMagnumBulletIntegration.so:graphics/magnum-integration \
+		\
+		libassimp.so:multimedia/assimp \
+		libbox2d.so:misc/box2d \
+		libBulletDynamics.so:devel/bullet \
+		libccd.so:math/libccd \
+		libconsole_bridge.so:devel/ros-console_bridge \
+		libdart.so:misc/dartsim \
+		libfcl.so:math/fcl \
+		libfmt.so:devel/libfmt \
+		libglfw.so:graphics/glfw \
+		libimgui.so:x11-toolkits/imgui \
+		liboctomap.so:math/octomap \
+		libtinyxml2.so:textproc/tinyxml2 \
+		liburdfdom_model.so:devel/ros-urdfdom \
+		libvulkan.so:graphics/vulkan-loader
+
+USES=		cmake compiler:c++14-lang gl sdl
+USE_GL=		opengl
+USE_SDL=	sdl2
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	mosra
+GH_TUPLE=	mosra:toolchains:2243706:t/toolchains
+
+CMAKE_ON=	\
+		MAGNUM_WITH_ARCBALL_EXAMPLE \
+		MAGNUM_WITH_ANIMATED_GIF_EXAMPLE \
+		MAGNUM_WITH_BOX2D_EXAMPLE \
+		MAGNUM_WITH_BULLET_EXAMPLE \
+		MAGNUM_WITH_CUBEMAP_EXAMPLE \
+		MAGNUM_WITH_DART_EXAMPLE \
+		MAGNUM_WITH_FLUIDSIMULATION2D_EXAMPLE \
+		MAGNUM_WITH_FLUIDSIMULATION3D_EXAMPLE \
+		MAGNUM_WITH_MOUSEINTERACTION_EXAMPLE \
+		MAGNUM_WITH_MOTIONBLUR_EXAMPLE \
+		MAGNUM_WITH_OCTREE_EXAMPLE \
+		MAGNUM_WITH_PICKING_EXAMPLE \
+		MAGNUM_WITH_PRIMITIVES_EXAMPLE \
+		MAGNUM_WITH_RAYTRACING_EXAMPLE \
+		MAGNUM_WITH_SHADOWS_EXAMPLE \
+		MAGNUM_WITH_TEXT_EXAMPLE \
+		MAGNUM_WITH_TEXTUREDQUAD_EXAMPLE \
+		MAGNUM_WITH_TEXTUREDTRIANGLE_VULKAN_EXAMPLE \
+		MAGNUM_WITH_TRIANGLE_EXAMPLE \
+ 		MAGNUM_WITH_TRIANGLE_PLAIN_GLFW_EXAMPLE \
+		MAGNUM_WITH_TRIANGLE_VULKAN_EXAMPLE
+		#MAGNUM_WITH_OVR_EXAMPLE \
+		#MAGNUM_WITH_LEAPMOTION_EXAMPLE \
+		#MAGNUM_WITH_AREALIGHTS_EXAMPLE \
+		#MAGNUM_WITH_VIEWER_EXAMPLE
+#CMAKE_ON+=	MAGNUM_WITH_TRIANGLE_SOKOL_EXAMPLE # broken, see https://github.com/mosra/magnum-examples/issues/111
+#		MAGNUM_WITH_IMGUI_EXAMPLE \
+
+.include <bsd.port.mk>
diff --git a/graphics/magnum-examples/distinfo b/graphics/magnum-examples/distinfo
new file mode 100644
index 000000000000..d702351359f4
--- /dev/null
+++ b/graphics/magnum-examples/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1731181564
+SHA256 (mosra-magnum-examples-v2020.06-265-gb843f07a_GH0.tar.gz) = 9a05b88b331bad7706d7e54c2864b436441e732f2f061b63525fdd6f0138bd32
+SIZE (mosra-magnum-examples-v2020.06-265-gb843f07a_GH0.tar.gz) = 4794164
+SHA256 (mosra-toolchains-2243706_GH0.tar.gz) = 4103ccdf4cdebb35acf8671e40aeb49e204456523acfaf8510473d3c200dc12b
+SIZE (mosra-toolchains-2243706_GH0.tar.gz) = 12312
diff --git a/graphics/magnum-examples/pkg-descr b/graphics/magnum-examples/pkg-descr
new file mode 100644
index 000000000000..b6b3cbbda1a9
--- /dev/null
+++ b/graphics/magnum-examples/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-examples/pkg-plist b/graphics/magnum-examples/pkg-plist
new file mode 100644
index 000000000000..a71e05c04791
--- /dev/null
+++ b/graphics/magnum-examples/pkg-plist
@@ -0,0 +1,43 @@
+bin/magnum-animated-gif
+bin/magnum-animated-gif-console
+bin/magnum-arcball
+bin/magnum-box2d
+bin/magnum-bullet
+bin/magnum-cubemap
+bin/magnum-dart
+bin/magnum-fluidsimulation2d
+bin/magnum-fluidsimulation3d
+bin/magnum-motionblur
+bin/magnum-mouseinteraction
+bin/magnum-octree
+bin/magnum-picking
+bin/magnum-primitives
+bin/magnum-raytracing
+bin/magnum-shadows
+bin/magnum-text
+bin/magnum-textured-triangle-vulkan
+bin/magnum-texturedquad
+bin/magnum-triangle
+bin/magnum-triangle-plain-glfw
+bin/magnum-triangle-vulkan
+share/magnum/examples/cubemap/+x.jpg
+share/magnum/examples/cubemap/+y.jpg
+share/magnum/examples/cubemap/+z.jpg
+share/magnum/examples/cubemap/-x.jpg
+share/magnum/examples/cubemap/-y.jpg
+share/magnum/examples/cubemap/-z.jpg
+share/magnum/examples/dart/iiwa14/link_0.stl
+share/magnum/examples/dart/iiwa14/link_1.stl
+share/magnum/examples/dart/iiwa14/link_2.stl
+share/magnum/examples/dart/iiwa14/link_3.stl
+share/magnum/examples/dart/iiwa14/link_4.stl
+share/magnum/examples/dart/iiwa14/link_5.stl
+share/magnum/examples/dart/iiwa14/link_6.stl
+share/magnum/examples/dart/iiwa14/link_7.stl
+share/magnum/examples/dart/iiwa14_simple.urdf
+share/magnum/examples/dart/robotiq.urdf
+share/magnum/examples/dart/robotiq/inner_finger_fine.stl
+share/magnum/examples/dart/robotiq/inner_knuckle_fine.stl
+share/magnum/examples/dart/robotiq/outer_finger_fine.stl
+share/magnum/examples/dart/robotiq/outer_knuckle_fine.stl
+share/magnum/examples/dart/robotiq/robotiq_85_base_link_fine.stl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411100349.4AA3nA8I068667>