git: c093e7b32bbf - main - graphics/magnum-extras: Re-ass port: Magnum Graphics: Extras

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

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

commit c093e7b32bbf56a8cd137b73813165d98eea6bc7
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-10 04:13:09 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-10 04:35:31 +0000

    graphics/magnum-extras: Re-ass port: Magnum Graphics: Extras
---
 MOVED                            |  1 -
 graphics/Makefile                |  1 +
 graphics/magnum-extras/Makefile  | 34 +++++++++++++++++++++++++++++++
 graphics/magnum-extras/distinfo  |  5 +++++
 graphics/magnum-extras/pkg-descr |  5 +++++
 graphics/magnum-extras/pkg-plist | 43 ++++++++++++++++++++++++++++++++++++++++
 6 files changed, 88 insertions(+), 1 deletion(-)

diff --git a/MOVED b/MOVED
index 542242638cb0..00f71a8a51f3 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-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
 mail/gmime2-sharp|mail/gmime26-sharp|2022-05-19|Depends on long deprecated gmime-2.2
diff --git a/graphics/Makefile b/graphics/Makefile
index a2f8b48dc040..83aa873cdd3a 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -564,6 +564,7 @@
     SUBDIR += lximage-qt
     SUBDIR += magnum
     SUBDIR += magnum-examples
+    SUBDIR += magnum-extras
     SUBDIR += magnum-integration
     SUBDIR += magnum-plugins
     SUBDIR += mahotas
diff --git a/graphics/magnum-extras/Makefile b/graphics/magnum-extras/Makefile
new file mode 100644
index 000000000000..be4f3a79a93e
--- /dev/null
+++ b/graphics/magnum-extras/Makefile
@@ -0,0 +1,34 @@
+PORTNAME=	magnum-extras
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2020.06-519
+DISTVERSIONSUFFIX=	-gef760a4
+CATEGORIES=	graphics
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Magnum Graphics: Extras
+WWW=		https://magnum.graphics/ \
+		https://github.com/mosra/magnum-extras
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libCorradeUtility.so:devel/corrade \
+		libMagnum.so:graphics/magnum
+
+USES=		cmake compiler:c++14-lang gl sdl
+USE_GL=		gl opengl
+USE_SDL=	sdl2
+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_PLAYER \
+		MAGNUM_WITH_UI \
+		MAGNUM_WITH_UI_GALLERY
+
+.include <bsd.port.mk>
diff --git a/graphics/magnum-extras/distinfo b/graphics/magnum-extras/distinfo
new file mode 100644
index 000000000000..5f67ab1f3a12
--- /dev/null
+++ b/graphics/magnum-extras/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1731211201
+SHA256 (mosra-magnum-extras-v2020.06-519-gef760a4_GH0.tar.gz) = 434d6472be5a49c3b3f41b4d564e964ea4931c15a35a12e529df39a2949f327b
+SIZE (mosra-magnum-extras-v2020.06-519-gef760a4_GH0.tar.gz) = 2541348
+SHA256 (mosra-toolchains-2243706_GH0.tar.gz) = 4103ccdf4cdebb35acf8671e40aeb49e204456523acfaf8510473d3c200dc12b
+SIZE (mosra-toolchains-2243706_GH0.tar.gz) = 12312
diff --git a/graphics/magnum-extras/pkg-descr b/graphics/magnum-extras/pkg-descr
new file mode 100644
index 000000000000..f405674df494
--- /dev/null
+++ b/graphics/magnum-extras/pkg-descr
@@ -0,0 +1,5 @@
+Extras for the Magnum C++11 graphics engine.
+
+Extra functionality for the Magnum C++11/C++14 graphics engine - playground for
+testing new APIs, specialized stuff that doesn't necessarily need to be a part
+of main Magnum repository or mutually exclusive functionality.
diff --git a/graphics/magnum-extras/pkg-plist b/graphics/magnum-extras/pkg-plist
new file mode 100644
index 000000000000..4399255698f5
--- /dev/null
+++ b/graphics/magnum-extras/pkg-plist
@@ -0,0 +1,43 @@
+bin/magnum-player
+bin/magnum-ui-gallery
+include/Magnum/Ui/AbstractAnimator.h
+include/Magnum/Ui/AbstractLayer.h
+include/Magnum/Ui/AbstractLayouter.h
+include/Magnum/Ui/AbstractRenderer.h
+include/Magnum/Ui/AbstractStyle.h
+include/Magnum/Ui/AbstractUserInterface.h
+include/Magnum/Ui/AbstractVisualLayer.h
+include/Magnum/Ui/AbstractVisualLayerAnimator.h
+include/Magnum/Ui/Anchor.h
+include/Magnum/Ui/Application.h
+include/Magnum/Ui/BaseLayer.h
+include/Magnum/Ui/BaseLayerAnimator.h
+include/Magnum/Ui/BaseLayerGL.h
+include/Magnum/Ui/Button.h
+include/Magnum/Ui/Event.h
+include/Magnum/Ui/EventLayer.h
+include/Magnum/Ui/Handle.h
+include/Magnum/Ui/Input.h
+include/Magnum/Ui/Label.h
+include/Magnum/Ui/NodeFlags.h
+include/Magnum/Ui/RendererGL.h
+include/Magnum/Ui/SnapLayouter.h
+include/Magnum/Ui/Style.h
+include/Magnum/Ui/Style.hpp
+include/Magnum/Ui/TextLayer.h
+include/Magnum/Ui/TextLayerAnimator.h
+include/Magnum/Ui/TextLayerGL.h
+include/Magnum/Ui/TextProperties.h
+include/Magnum/Ui/Ui.h
+include/Magnum/Ui/UserInterface.h
+include/Magnum/Ui/UserInterfaceGL.h
+include/Magnum/Ui/Widget.h
+include/Magnum/Ui/configure.h
+include/Magnum/Ui/visibility.h
+include/Magnum/versionExtras.h
+lib/libMagnumUi.so
+lib/libMagnumUi.so.2
+lib/libMagnumUi.so.2.4
+share/applications/magnum-player.desktop
+share/cmake/MagnumExtras/FindMagnumExtras.cmake
+share/cmake/MagnumExtras/MagnumExtrasConfig.cmake