git: ecd13ca211cf - main - graphics/magnum-plugins: Re-add port: Plugins for the Magnum C++11/C++14 graphics engine

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 16 Jan 2023 06:38:33 UTC
The branch main has been updated by yuri:

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

commit ecd13ca211cf6d8bbd6df5b6d2d280653d8dd957
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-16 06:26:23 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-16 06:38:29 +0000

    graphics/magnum-plugins: Re-add port: Plugins for the Magnum C++11/C++14 graphics engine
---
 MOVED                             |  1 -
 graphics/Makefile                 |  1 +
 graphics/magnum-plugins/Makefile  | 37 ++++++++++++++++
 graphics/magnum-plugins/distinfo  |  5 +++
 graphics/magnum-plugins/pkg-descr |  2 +
 graphics/magnum-plugins/pkg-plist | 93 +++++++++++++++++++++++++++++++++++++++
 6 files changed, 138 insertions(+), 1 deletion(-)

diff --git a/MOVED b/MOVED
index 88c677969a3f..f5fc2e2918e5 100644
--- a/MOVED
+++ b/MOVED
@@ -17113,7 +17113,6 @@ graphics/photoflow||2022-05-06|Unmaintainer upstream, has been broken for months
 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-plugins||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 7542f94d2c96..92f03b93da2f 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -547,6 +547,7 @@
     SUBDIR += lux
     SUBDIR += lximage-qt
     SUBDIR += magnum
+    SUBDIR += magnum-plugins
     SUBDIR += mahotas
     SUBDIR += maim
     SUBDIR += mandelbulber
diff --git a/graphics/magnum-plugins/Makefile b/graphics/magnum-plugins/Makefile
new file mode 100644
index 000000000000..7ce2dbf42dcd
--- /dev/null
+++ b/graphics/magnum-plugins/Makefile
@@ -0,0 +1,37 @@
+PORTNAME=	magnum-plugins
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2020.06-1064
+DISTVERSIONSUFFIX=	-g94aefed2
+CATEGORIES=	graphics
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Plugins for the Magnum C++11/C++14 graphics engine
+WWW=		https://magnum.graphics/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libassimp.so:multimedia/assimp \
+		libCorradeUtility.so:devel/corrade \
+		libfaad.so:audio/faad \
+		libfreetype.so:print/freetype2 \
+		libIL.so:graphics/devil \
+		libMagnum.so:graphics/magnum \
+		libpng.so:graphics/png
+
+USES=		cmake compiler:c++14-lang gl jpeg openal xorg
+USE_GL=		glesv2
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	mosra
+GH_TUPLE=	mosra:toolchains:fc22ff5:t/toolchains
+
+CMAKE_ARGS=	-DLIB_SUFFIX:STRING=""
+
+CMAKE_ON=	WITH_ASSIMPIMPORTER WITH_DDSIMPORTER WITH_DEVILIMAGEIMPORTER WITH_DRFLACAUDIOIMPORTER WITH_DRWAVAUDIOIMPORTER \
+		WITH_FAAD2AUDIOIMPORTER WITH_FREETYPEFONT WITH_JPEGIMPORTER WITH_JPEGIMAGECONVERTER WITH_MINIEXRIMAGECONVERTER \
+		WITH_PNGIMAGECONVERTER WITH_PNGIMPORTER WITH_OPENGEXIMPORTER WITH_STANFORDIMPORTER WITH_STBIMAGECONVERTER \
+		WITH_STBIMAGEIMPORTER WITH_STBTRUETYPEFONT WITH_STBVORBISAUDIOIMPORTER WITH_TINYGLTFIMPORTER
+
+.include <bsd.port.mk>
diff --git a/graphics/magnum-plugins/distinfo b/graphics/magnum-plugins/distinfo
new file mode 100644
index 000000000000..9b062b74265a
--- /dev/null
+++ b/graphics/magnum-plugins/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1673847854
+SHA256 (mosra-magnum-plugins-v2020.06-1064-g94aefed2_GH0.tar.gz) = 40b1876b01e59b833d39d5a38a371739740ea20be519abdc75d9613b8403f63f
+SIZE (mosra-magnum-plugins-v2020.06-1064-g94aefed2_GH0.tar.gz) = 3681653
+SHA256 (mosra-toolchains-fc22ff5_GH0.tar.gz) = 06adf04d07a3042faf9b1545bb94843c17cea0ead23e67c8e32df7d2f718a84a
+SIZE (mosra-toolchains-fc22ff5_GH0.tar.gz) = 6863
diff --git a/graphics/magnum-plugins/pkg-descr b/graphics/magnum-plugins/pkg-descr
new file mode 100644
index 000000000000..3550ef01e5b7
--- /dev/null
+++ b/graphics/magnum-plugins/pkg-descr
@@ -0,0 +1,2 @@
+Various plugins for the Magnum C++11/C++14 graphics engine - asset import and
+conversion, text rendering and more.
diff --git a/graphics/magnum-plugins/pkg-plist b/graphics/magnum-plugins/pkg-plist
new file mode 100644
index 000000000000..d951cbb3ccd4
--- /dev/null
+++ b/graphics/magnum-plugins/pkg-plist
@@ -0,0 +1,93 @@
+include/Magnum/OpenDdl/Document.h
+include/Magnum/OpenDdl/OpenDdl.h
+include/Magnum/OpenDdl/Property.h
+include/Magnum/OpenDdl/Structure.h
+include/Magnum/OpenDdl/Type.h
+include/Magnum/OpenDdl/Validation.h
+include/Magnum/OpenDdl/configure.h
+include/Magnum/OpenDdl/visibility.h
+include/Magnum/versionPlugins.h
+include/MagnumExternal/TinyGltf/json.hpp
+include/MagnumExternal/TinyGltf/tiny_gltf.h
+include/MagnumPlugins/AssimpImporter/AssimpImporter.h
+include/MagnumPlugins/AssimpImporter/configure.h
+include/MagnumPlugins/DdsImporter/DdsImporter.h
+include/MagnumPlugins/DdsImporter/configure.h
+include/MagnumPlugins/DevIlImageImporter/DevIlImageImporter.h
+include/MagnumPlugins/DevIlImageImporter/configure.h
+include/MagnumPlugins/DrFlacAudioImporter/DrFlacImporter.h
+include/MagnumPlugins/DrFlacAudioImporter/configure.h
+include/MagnumPlugins/DrWavAudioImporter/DrWavImporter.h
+include/MagnumPlugins/DrWavAudioImporter/configure.h
+include/MagnumPlugins/Faad2AudioImporter/Faad2Importer.h
+include/MagnumPlugins/Faad2AudioImporter/configure.h
+include/MagnumPlugins/FreeTypeFont/FreeTypeFont.h
+include/MagnumPlugins/FreeTypeFont/configure.h
+include/MagnumPlugins/JpegImageConverter/JpegImageConverter.h
+include/MagnumPlugins/JpegImageConverter/configure.h
+include/MagnumPlugins/JpegImporter/JpegImporter.h
+include/MagnumPlugins/JpegImporter/configure.h
+include/MagnumPlugins/MiniExrImageConverter/MiniExrImageConverter.h
+include/MagnumPlugins/MiniExrImageConverter/configure.h
+include/MagnumPlugins/OpenGexImporter/OpenGex.h
+include/MagnumPlugins/OpenGexImporter/OpenGexImporter.h
+include/MagnumPlugins/OpenGexImporter/configure.h
+include/MagnumPlugins/PngImageConverter/PngImageConverter.h
+include/MagnumPlugins/PngImageConverter/configure.h
+include/MagnumPlugins/PngImporter/PngImporter.h
+include/MagnumPlugins/PngImporter/configure.h
+include/MagnumPlugins/StanfordImporter/StanfordImporter.h
+include/MagnumPlugins/StanfordImporter/configure.h
+include/MagnumPlugins/StbImageConverter/StbImageConverter.h
+include/MagnumPlugins/StbImageConverter/configure.h
+include/MagnumPlugins/StbImageImporter/StbImageImporter.h
+include/MagnumPlugins/StbImageImporter/configure.h
+include/MagnumPlugins/StbTrueTypeFont/StbTrueTypeFont.h
+include/MagnumPlugins/StbTrueTypeFont/configure.h
+include/MagnumPlugins/StbVorbisAudioImporter/StbVorbisImporter.h
+include/MagnumPlugins/StbVorbisAudioImporter/configure.h
+include/MagnumPlugins/TinyGltfImporter/TinyGltfImporter.h
+include/MagnumPlugins/TinyGltfImporter/configure.h
+lib/libMagnumOpenDdl.so
+lib/libMagnumOpenDdl.so.2
+lib/libMagnumOpenDdl.so.2.4
+lib/magnum/audioimporters/DrFlacAudioImporter.conf
+lib/magnum/audioimporters/DrFlacAudioImporter.so
+lib/magnum/audioimporters/DrWavAudioImporter.conf
+lib/magnum/audioimporters/DrWavAudioImporter.so
+lib/magnum/audioimporters/Faad2AudioImporter.conf
+lib/magnum/audioimporters/Faad2AudioImporter.so
+lib/magnum/audioimporters/StbVorbisAudioImporter.conf
+lib/magnum/audioimporters/StbVorbisAudioImporter.so
+lib/magnum/fonts/FreeTypeFont.conf
+lib/magnum/fonts/FreeTypeFont.so
+lib/magnum/fonts/StbTrueTypeFont.conf
+lib/magnum/fonts/StbTrueTypeFont.so
+lib/magnum/imageconverters/JpegImageConverter.conf
+lib/magnum/imageconverters/JpegImageConverter.so
+lib/magnum/imageconverters/MiniExrImageConverter.conf
+lib/magnum/imageconverters/MiniExrImageConverter.so
+lib/magnum/imageconverters/PngImageConverter.conf
+lib/magnum/imageconverters/PngImageConverter.so
+lib/magnum/imageconverters/StbImageConverter.conf
+lib/magnum/imageconverters/StbImageConverter.so
+lib/magnum/importers/AssimpImporter.conf
+lib/magnum/importers/AssimpImporter.so
+lib/magnum/importers/DdsImporter.conf
+lib/magnum/importers/DdsImporter.so
+lib/magnum/importers/DevIlImageImporter.conf
+lib/magnum/importers/DevIlImageImporter.so
+lib/magnum/importers/JpegImporter.conf
+lib/magnum/importers/JpegImporter.so
+lib/magnum/importers/OpenGexImporter.conf
+lib/magnum/importers/OpenGexImporter.so
+lib/magnum/importers/PngImporter.conf
+lib/magnum/importers/PngImporter.so
+lib/magnum/importers/StanfordImporter.conf
+lib/magnum/importers/StanfordImporter.so
+lib/magnum/importers/StbImageImporter.conf
+lib/magnum/importers/StbImageImporter.so
+lib/magnum/importers/TinyGltfImporter.conf
+lib/magnum/importers/TinyGltfImporter.so
+share/cmake/MagnumPlugins/FindMagnumPlugins.cmake
+share/cmake/MagnumPlugins/MagnumPluginsConfig.cmake