graphics/magnum: Enable any-{audio,image}-importer plugins

This commit is contained in:
Yuri Victorovich 2023-01-15 22:23:49 -08:00
parent d23714de27
commit 65b736c49a
2 changed files with 42 additions and 2 deletions

View File

@ -1,6 +1,7 @@
PORTNAME= magnum PORTNAME= magnum
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
DISTVERSION= v2020.06-2037 DISTVERSION= v2020.06-2037
PORTREVISION= 1
DISTVERSIONSUFFIX= -gb6a31a0af DISTVERSIONSUFFIX= -gb6a31a0af
CATEGORIES= graphics devel CATEGORIES= graphics devel
@ -34,10 +35,13 @@ PLIST_SUB+= APP_MODULES_EXT=.so
CXXFLAGS+= -fPIC CXXFLAGS+= -fPIC
OPTIONS_GROUP= APPS OPTIONS_GROUP= APPS PLUGINS
OPTIONS_GROUP_APPS= GLFW GLX SDL2 XEGL # other application types are available OPTIONS_GROUP_APPS= GLFW GLX SDL2 XEGL # other application types are available
OPTIONS_GROUP_PLUGINS= ANYAUDIOIMPORTER ANYIMAGEIMPORTER
OPTIONS_SUB= yes OPTIONS_SUB= yes
OPTIONS_DEFAULT= ${OPTIONS_GROUP_APPS} OPTIONS_DEFAULT= ${OPTIONS_GROUP_APPS} ${OPTIONS_GROUP_PLUGINS}
# applicaton type options
APPS_DESC= Application support to build APPS_DESC= Application support to build
.for a in ${OPTIONS_GROUP_APPS} .for a in ${OPTIONS_GROUP_APPS}
@ -59,4 +63,16 @@ XEGL_CMAKE_BOOL= MAGNUM_WITH_XEGLAPPLICATION
XEGL_USES= xorg XEGL_USES= xorg
XEGL_USE= XORG=ice,sm,x11,xext XEGL_USE= XORG=ice,sm,x11,xext
# plugin options
PLUGINS_DESC= Build plugins:
ANYAUDIOIMPORTER_DESC= Any audio importer plugin
ANYAUDIOIMPORTER_CMAKE_BOOL= MAGNUM_WITH_ANYAUDIOIMPORTER
ANYAUDIOIMPORTER_USES= openal
ANYIMAGEIMPORTER_DESC= Any image importer plugin
ANYIMAGEIMPORTER_CMAKE_BOOL= MAGNUM_WITH_ANYIMAGEIMPORTER
#ANYIMAGEIMPORTER_USES= openal
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -6,6 +6,18 @@ include/Magnum/Animation/Player.h
include/Magnum/Animation/Player.hpp include/Magnum/Animation/Player.hpp
include/Magnum/Animation/Track.h include/Magnum/Animation/Track.h
include/Magnum/Array.h include/Magnum/Array.h
%%ANYAUDIOIMPORTER%%include/Magnum/Audio/AbstractImporter.h
%%ANYAUDIOIMPORTER%%include/Magnum/Audio/Audio.h
%%ANYAUDIOIMPORTER%%include/Magnum/Audio/Buffer.h
%%ANYAUDIOIMPORTER%%include/Magnum/Audio/BufferFormat.h
%%ANYAUDIOIMPORTER%%include/Magnum/Audio/Context.h
%%ANYAUDIOIMPORTER%%include/Magnum/Audio/Extensions.h
%%ANYAUDIOIMPORTER%%include/Magnum/Audio/Listener.h
%%ANYAUDIOIMPORTER%%include/Magnum/Audio/Playable.h
%%ANYAUDIOIMPORTER%%include/Magnum/Audio/PlayableGroup.h
%%ANYAUDIOIMPORTER%%include/Magnum/Audio/Renderer.h
%%ANYAUDIOIMPORTER%%include/Magnum/Audio/Source.h
%%ANYAUDIOIMPORTER%%include/Magnum/Audio/visibility.h
include/Magnum/British.h include/Magnum/British.h
include/Magnum/DebugTools/BufferData.h include/Magnum/DebugTools/BufferData.h
include/Magnum/DebugTools/ColorMap.h include/Magnum/DebugTools/ColorMap.h
@ -270,11 +282,19 @@ include/Magnum/VertexFormat.h
include/Magnum/configure.h include/Magnum/configure.h
include/Magnum/version.h include/Magnum/version.h
include/Magnum/visibility.h include/Magnum/visibility.h
%%ANYAUDIOIMPORTER%%include/MagnumExternal/OpenAL/extensions.h
include/MagnumExternal/OpenGL/GL/flextGL.h include/MagnumExternal/OpenGL/GL/flextGL.h
include/MagnumExternal/OpenGL/KHR/khrplatform.h include/MagnumExternal/OpenGL/KHR/khrplatform.h
%%ANYAUDIOIMPORTER%%include/MagnumPlugins/AnyAudioImporter/AnyImporter.h
%%ANYAUDIOIMPORTER%%include/MagnumPlugins/AnyAudioImporter/configure.h
%%ANYIMAGEIMPORTER%%include/MagnumPlugins/AnyImageImporter/AnyImageImporter.h
%%ANYIMAGEIMPORTER%%include/MagnumPlugins/AnyImageImporter/configure.h
lib/libMagnum.so lib/libMagnum.so
lib/libMagnum.so.2 lib/libMagnum.so.2
lib/libMagnum.so.2.4 lib/libMagnum.so.2.4
%%ANYAUDIOIMPORTER%%lib/libMagnumAudio.so
%%ANYAUDIOIMPORTER%%lib/libMagnumAudio.so.2
%%ANYAUDIOIMPORTER%%lib/libMagnumAudio.so.2.4
lib/libMagnumDebugTools.so lib/libMagnumDebugTools.so
lib/libMagnumDebugTools.so.2 lib/libMagnumDebugTools.so.2
lib/libMagnumDebugTools.so.2.4 lib/libMagnumDebugTools.so.2.4
@ -315,6 +335,10 @@ lib/libMagnumTrade.so
lib/libMagnumTrade.so.2 lib/libMagnumTrade.so.2
lib/libMagnumTrade.so.2.4 lib/libMagnumTrade.so.2.4
%%XEGL%%lib/libMagnumXEglApplication%%APP_MODULES_EXT%% %%XEGL%%lib/libMagnumXEglApplication%%APP_MODULES_EXT%%
%%ANYAUDIOIMPORTER%%lib/magnum/audioimporters/AnyAudioImporter.conf
%%ANYAUDIOIMPORTER%%lib/magnum/audioimporters/AnyAudioImporter.so
%%ANYIMAGEIMPORTER%%lib/magnum/importers/AnyImageImporter.conf
%%ANYIMAGEIMPORTER%%lib/magnum/importers/AnyImageImporter.so
share/cmake/Magnum/FindMagnum.cmake share/cmake/Magnum/FindMagnum.cmake
share/cmake/Magnum/MagnumConfig.cmake share/cmake/Magnum/MagnumConfig.cmake
%%DATADIR%%/debuggers/gdb/__init__.py %%DATADIR%%/debuggers/gdb/__init__.py