git: 30d100786a67 - main - graphics/magnum-examples: Add more examples; Correct pkg-descr

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 10 Nov 2024 04:35:38 UTC
The branch main has been updated by yuri:

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

commit 30d100786a67db667ee80b22faf7c218153df57e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-10 04:18:07 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-10 04:35:32 +0000

    graphics/magnum-examples: Add more examples; Correct pkg-descr
---
 graphics/magnum-examples/Makefile  | 14 ++++++++------
 graphics/magnum-examples/pkg-descr |  7 ++++---
 graphics/magnum-examples/pkg-plist |  4 ++++
 3 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/graphics/magnum-examples/Makefile b/graphics/magnum-examples/Makefile
index a293071d89ea..a9d46dac77ae 100644
--- a/graphics/magnum-examples/Makefile
+++ b/graphics/magnum-examples/Makefile
@@ -2,6 +2,7 @@ PORTNAME=	magnum-examples
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2020.06-265
 DISTVERSIONSUFFIX=	-gb843f07a
+PORTREVISION=	1
 CATEGORIES=	graphics
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -15,6 +16,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libCorradeUtility.so:devel/corrade \
 		libMagnum.so:graphics/magnum \
 		libMagnumBulletIntegration.so:graphics/magnum-integration \
+		libMagnumUi.so:graphics/magnum-extras \
 		\
 		libassimp.so:multimedia/assimp \
 		libbox2d.so:misc/box2d \
@@ -42,12 +44,14 @@ GH_TUPLE=	mosra:toolchains:2243706:t/toolchains
 CMAKE_ON=	\
 		MAGNUM_WITH_ARCBALL_EXAMPLE \
 		MAGNUM_WITH_ANIMATED_GIF_EXAMPLE \
+		MAGNUM_WITH_AREALIGHTS_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_IMGUI_EXAMPLE \
 		MAGNUM_WITH_MOUSEINTERACTION_EXAMPLE \
 		MAGNUM_WITH_MOTIONBLUR_EXAMPLE \
 		MAGNUM_WITH_OCTREE_EXAMPLE \
@@ -60,12 +64,10 @@ CMAKE_ON=	\
 		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
+		MAGNUM_WITH_TRIANGLE_VULKAN_EXAMPLE \
+		MAGNUM_WITH_VIEWER_EXAMPLE
+#CMAKE_ON+=	MAGNUM_WITH_OVR_EXAMPLE # unclear if this is for Linux/BSD
+#CMAKE_ON+=	MAGNUM_WITH_LEAPMOTION_EXAMPLE # needs the Leap library
 #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/pkg-descr b/graphics/magnum-examples/pkg-descr
index b6b3cbbda1a9..b078ed145185 100644
--- a/graphics/magnum-examples/pkg-descr
+++ b/graphics/magnum-examples/pkg-descr
@@ -1,3 +1,4 @@
-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.
+magnum-examples contains examples for the Magnum C++ graphics engine.
+
+Various examples for the Magnum C++ graphics engine, demonstrating its
+features, usage and capabilities.
diff --git a/graphics/magnum-examples/pkg-plist b/graphics/magnum-examples/pkg-plist
index a71e05c04791..1ed911743f83 100644
--- a/graphics/magnum-examples/pkg-plist
+++ b/graphics/magnum-examples/pkg-plist
@@ -1,12 +1,14 @@
 bin/magnum-animated-gif
 bin/magnum-animated-gif-console
 bin/magnum-arcball
+bin/magnum-arealights
 bin/magnum-box2d
 bin/magnum-bullet
 bin/magnum-cubemap
 bin/magnum-dart
 bin/magnum-fluidsimulation2d
 bin/magnum-fluidsimulation3d
+bin/magnum-imgui
 bin/magnum-motionblur
 bin/magnum-mouseinteraction
 bin/magnum-octree
@@ -20,6 +22,7 @@ bin/magnum-texturedquad
 bin/magnum-triangle
 bin/magnum-triangle-plain-glfw
 bin/magnum-triangle-vulkan
+bin/magnum-viewer
 share/magnum/examples/cubemap/+x.jpg
 share/magnum/examples/cubemap/+y.jpg
 share/magnum/examples/cubemap/+z.jpg
@@ -41,3 +44,4 @@ 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
+share/magnum/examples/viewer/scene.glb