import games/fna

DESCR:
This is FNA, an XNA4 reimplementation that focuses solely on developing a fully
accurate XNA4 runtime for the desktop.
The port includes FNA.NetStub and the XNA 4.0 ABI bridge for compatibility with
XNA games, as well as bindings for Vorbisfile and SDL2_image for backwards
compatibility.

ok solene@ who reminded me to separate GH commit id tarballs with DIST_SUBDIR
This commit is contained in:
thfr 2020-11-16 23:06:07 +00:00
parent 5bfcc617b7
commit 5b6d2feb81
6 changed files with 400 additions and 0 deletions

69
games/fna/Makefile Normal file
View File

@ -0,0 +1,69 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/11/16 23:06:07 thfr Exp $
V = 20.09
COMMENT = XNA4 reimplementation for open platforms
DISTNAME = fna-${V:S/.//g}
PKGNAME = fna-${V}
CATEGORIES = games
HOMEPAGE = https://fna-xna.github.io/
MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
# MS-PL, includes lzxdecoder (dual MSPL/LGPL) and Mono.Xna (MIT)
# zlib (Vorbisfile-CS)
PERMIT_PACKAGE = Yes
NETSTUB = ebff244074bb3c28aeeb8cf7b383b5a029d7e28d
VORBISFILE = 521c8532f03b3608a141b36d7c1343e816b46cb1
MASTER_SITES = https://github.com/FNA-XNA/FNA/releases/download/${V}/
MASTER_SITES0 = https://github.com/FNA-XNA/FNA.NetStub/archive/
MASTER_SITES1 = https://github.com/flibitijibibo/Vorbisfile-CS/archive/
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
${NETSTUB}.tar.gz:0 \
${VORBISFILE}.tar.gz:1
DIST_SUBDIR = fna-${V}
EXTRACT_SUFX = .zip
MODULES = lang/mono
RUN_DEPENDS = audio/faudio \
devel/sdl2-image \
graphics/fna3d \
graphics/mojoshader
WRKDIST = ${WRKDIR}/FNA
NO_TEST = Yes
ALL_TARGET = release
SUBST_VARS += VORBISFILE
post-extract:
ln -sf ${WRKDIR}/FNA.NetStub-${NETSTUB} ${WRKDIR}/FNA.NetStub
do-gen:
cp ${FILESDIR}/FNA.Settings.props ${WRKSRC}/
${SUBST_CMD} ${WRKSRC}/FNA.Settings.props
# need to rm bin,obj before FNA.sln to build with FNA.Settings.props
do-build:
xbuild /p:Configuration=Release ${WRKSRC}/abi/Microsoft.Xna.Framework.sln
rm -rf ${WRKBUILD}/{bin,obj}
xbuild /p:Configuration=Release ${WRKSRC}/FNA.sln
do-install:
mkdir -p ${PREFIX}/share/FNA
${INSTALL_DATA} ${WRKBUILD}/bin/Release/FNA.dll ${PREFIX}/share/FNA/
${INSTALL_DATA} \
${WRKBUILD}/abi/bin/Release/FNA.NetStub.dll \
${WRKBUILD}/abi/bin/Release/Microsoft.Xna.Framework.Game.dll \
${WRKBUILD}/abi/bin/Release/Microsoft.Xna.Framework.GamerServices.dll \
${WRKBUILD}/abi/bin/Release/Microsoft.Xna.Framework.Graphics.dll \
${WRKBUILD}/abi/bin/Release/Microsoft.Xna.Framework.Input.Touch.dll \
${WRKBUILD}/abi/bin/Release/Microsoft.Xna.Framework.Net.dll \
${WRKBUILD}/abi/bin/Release/Microsoft.Xna.Framework.Storage.dll \
${WRKBUILD}/abi/bin/Release/Microsoft.Xna.Framework.Video.dll \
${WRKBUILD}/abi/bin/Release/Microsoft.Xna.Framework.Xact.dll \
${WRKBUILD}/abi/bin/Release/Microsoft.Xna.Framework.dll \
${PREFIX}/share/FNA/
${INSTALL_DATA} ${FILESDIR}/FNA.dll.config ${PREFIX}/share/FNA/
.include <bsd.port.mk>

6
games/fna/distinfo Normal file
View File

@ -0,0 +1,6 @@
SHA256 (fna-20.09/521c8532f03b3608a141b36d7c1343e816b46cb1.tar.gz) = Cj2HaaOFBDsXtb/LPiedFdKzTb59XU9nMU7fuR9C6gc=
SHA256 (fna-20.09/ebff244074bb3c28aeeb8cf7b383b5a029d7e28d.tar.gz) = 34qgjqOOFTODn6zSKEs6Gt9jbdaJi9MR/7rw12tlXIA=
SHA256 (fna-20.09/fna-2009.zip) = bBkjga0jNiV4Yg3TW7b1sr6t0qgm4NNj/H4lgTM5Tdg=
SIZE (fna-20.09/521c8532f03b3608a141b36d7c1343e816b46cb1.tar.gz) = 5607
SIZE (fna-20.09/ebff244074bb3c28aeeb8cf7b383b5a029d7e28d.tar.gz) = 19825
SIZE (fna-20.09/fna-2009.zip) = 3825885

View File

@ -0,0 +1,6 @@
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Compile Include="lib/SDL2-CS/src/SDL2_image.cs" />
<Compile Include="../Vorbisfile-CS-${VORBISFILE}/Vorbisfile.cs" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,300 @@
<!-- mono config file for fnaify -->
<!-- fnaify version 3.0 -->
<configuration>
<dllmap dll="FAudio" target="libFAudio.so"/>
<dllmap dll="FNA3D" target="libFNA3D.so"/>
<dllmap dll="MojoShader.dll" target="libmojoshader.so"/>
<dllmap dll="SDL2.dll" target="libSDL2.so"/>
<dllmap dll="SDL2_image.dll" target="libSDL2_image.so"/>
<dllmap dll="SDL2_mixer.dll" target="libSDL2_mixer.so"/>
<dllmap dll="SDL2_ttf.dll" target="libSDL2_ttf.so"/>
<dllmap dll="freetype6" target="libfreetype.so" />
<dllmap dll="freetype6.dll" target="libfreetype.so" />
<dllmap dll="libtheorafile.dll" target="libtheorafile.so"/>
<dllmap dll="libtheoraplay.dll" target="libtheoraplay.so"/>
<dllmap dll="libvorbisfile.dll" target="libvorbisfile.so"/>
<dllmap dll="libvorbisfile-3.dll" target="libvorbisfile.so"/>
<dllmap dll="openal32.dll" target="libopenal.so"/>
<dllmap dll="soft_oal.dll" target="libopenal.so"/>
<dllmap dll="System.Native" target="libmono-native.so"/>
<dllmap dll="System.Net.Security.Native" target="libmono-native.so"/>
<dllmap dll="i:msvcrt" target="libc.so" os="!windows"/>
<dllmap dll="i:msvcrt.dll" target="libc.so" os="!windows"/>
<dllmap dll="msvcr100.dll" target="libc.so"/>
<dllmap dll="i:CommunityExpressSW" target="libcestub.so"/>
<dllmap dll="i:CommunityExpressSW.dll" target="libcestub.so"/>
<dllmap dll="user32.dll">
<dllentry dll="libc.so" name="GetWindowThreadProcessId" target="getthrid"/>
<dllentry dll="libstubborn.so" name="SetWindowsHookEx" target="int_0"/>
<dllentry dll="libstubborn.so" name="GetClipCursor" target="int_0"/>
<dllentry dll="libstubborn.so" name="DestroyIcon" target="int_0"/>
</dllmap>
<dllmap dll="ntdll.dll">
<dllentry dll="libstubborn.so" name="NtQueryInformationProcess" target="int_0"/>
</dllmap>
<dllmap dll="ArkSteamWrapper.dll">
<dllentry dll="libstubborn.so" name="ArkSteamInit" target="int_0"/>
<dllentry dll="libstubborn.so" name="ArkGetPlayerId" target="int_0"/>
</dllmap>
<dllmap dll="CSteamworks">
<dllentry dll="libstubborn.so" name="InitSafe" target="int_0"/>
<dllentry dll="libstubborn.so" name="RestartAppIfNecessary" target="int_0"/>
</dllmap>
<dllmap dll="discord-rpc">
<dllentry dll="libstubborn.so" name="Initialize" target="int_0"/>
<dllentry dll="libstubborn.so" name="Discord_Initialize" target="int_0"/>
<dllentry dll="libstubborn.so" name="Discord_UpdatePresence" target="int_0"/>
<dllentry dll="libstubborn.so" name="Discord_RunCallbacks" target="int_0"/>
</dllmap>
<dllmap dll="BrutallyUnfairDll.dll">
<dllentry dll="libstubborn.so" name="loadSteamDll" target="int_0"/>
<dllentry dll="libstubborn.so" name="initSteamAPI" target="int_0"/>
<dllentry dll="libstubborn.so" name="GetModuleHandle" target="int_0"/>
</dllmap>
<dllmap dll="SteamworksNative">
<dllentry dll="libstubborn.so" name="GetStat" target="int_0"/>
<dllentry dll="libstubborn.so" name="Initialize" target="int_0"/>
<dllentry dll="libstubborn.so" name="RunCallbacks" target="ptr_null"/>
<dllentry dll="libstubborn.so" name="Services_RegisterManagedCallbacks" target="int_0"/>
</dllmap>
<dllmap dll="steamwrapper.dll">
<dllentry dll="libstubborn.so" name="API_RunCallbacks" target="int_0"/>
<dllentry dll="libstubborn.so" name="API_Init" target="int_0"/>
<dllentry dll="libstubborn.so" name="API_Shutdown" target="int_0"/>
<dllentry dll="libstubborn.so" name="Stats_getStat" target="int_0"/>
<dllentry dll="libstubborn.so" name="RestartViaSteamIfNecessary" target="int_0"/>
</dllmap>
<dllmap dll="fmod_event.dll">
<dllentry dll="libstubborn.so" name="FMOD_EventSystem_Create" target="int_0"/>
</dllmap>
<dllmap dll="kernel32">
<dllentry dll="ld.so" name="LoadLibrary" target="dlopen"/>
</dllmap>
<dllmap dll="SteamWrapper.dll">
<dllentry dll="libstubborn.so" name="SteamWrapper_GetCurrentGameLanguage" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamWrapper_Init" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamWrapper_GetUserDataFolder" target="string_empty"/>
<dllentry dll="libstubborn.so" name="SteamWrapper_RunCallbacks" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamWrapper_LbUploadScore" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamWrapper_Shutdown" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamWrapper_SetAchievement" target="int_0"/>
</dllmap>
<dllmap dll="steam_api">
<dllentry dll="libstubborn.so" name="SteamAPI_Init" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamAPI_RegisterCallback" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamAPI_GetHSteamUser" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamAPI_GetHSteamPipe" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamInternal_CreateInterface" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamUser" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamFriends" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamUtils" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamMatchmaking" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamMatchmakingServers" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamUserStats" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamApps" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamNetworking" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamRemoteStorage" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamScreenshots" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamGameSearch" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamHTTP" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamController" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamUGC" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamAppList" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamMusic" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamMusicRemote" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamHTMLSurface" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamInventory" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamVideo" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamParentalSettings" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamInput" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamClient_GetISteamParties" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamUser_GetSteamID" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamFriends_GetFriendPersonaName" target="string_empty"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamUserStats_RequestCurrentStats" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamApps_GetCurrentBetaName" target="string_empty"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamApps_BIsDlcInstalled" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamApps_GetLaunchCommandLine" target="string_empty"/>
<dllentry dll="libstubborn.so" name="SteamUserStats" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamRemoteStorage" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamRemoteStorage_FileExists" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamAPI_RunCallbacks" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamRemoteStorage_FileWrite" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamAPI_Shutdown" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamUserStats_GetAchievement" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamUserStats_SetAchievement" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamUserStats_StoreStats" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamAPI_ISteamInput_Init" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamAPI_RestartAppIfNecessary" target="int_0"/>
</dllmap>
<dllmap dll="steam_api64">
<dllentry dll="libstubborn.so" name="SteamAPI_Init" target="int_0"/>
</dllmap>
<dllmap dll="fmodstudio">
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_Create" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_Initialize" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_SetListenerAttributes" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_Update" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_LoadBankFile" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_GetVCA" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_VCA_SetVolume" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_VCA_GetVolume" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_GetEvent" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventDescription_LoadSampleData" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventDescription_CreateInstance" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventDescription_Is3D" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_Start" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_GetBus" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_Bus_SetPaused" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_Bus_GetPaused" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_GetDescription" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventDescription_GetPath" target="int_celeste_event"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_Bank_LoadSampleData" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_SetVolume" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_GetListenerAttributes" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_Set3DAttributes" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_Release" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_GetVolume" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_Stop" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_Get3DAttributes" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_Release" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_SetParameterValue" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventDescription_IsOneshot" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_SetPaused" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_TriggerCue" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_Bus_StopAllEvents" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_GetPaused" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_GetPlaybackState" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_GetLowLevelSystem" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventDescription_GetInstanceCount" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventDescription_UnloadSampleData" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_FlushCommands" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_Bus_GetChannelGroup" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_SetCallback" target="int_0"/>
</dllmap>
<dllmap dll="fmodstudio.dll">
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_Create" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_Initialize" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_SetListenerAttributes" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_Update" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_LoadBankFile" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_GetVCA" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_VCA_SetVolume" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_VCA_GetVolume" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_GetEvent" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventDescription_LoadSampleData" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventDescription_CreateInstance" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventDescription_Is3D" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_Start" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_GetBus" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_Bus_SetPaused" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_Bus_GetPaused" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_GetDescription" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventDescription_GetPath" target="int_celeste_event"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_Bank_LoadSampleData" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_SetVolume" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_GetListenerAttributes" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_Set3DAttributes" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_Release" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_GetVolume" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_Stop" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_Get3DAttributes" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_Release" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_SetParameterValue" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventDescription_IsOneshot" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_SetPaused" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_TriggerCue" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_Bus_StopAllEvents" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_GetPaused" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_GetPlaybackState" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_GetLowLevelSystem" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventDescription_GetInstanceCount" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventDescription_UnloadSampleData" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_Bus_LockChannelGroup" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_System_FlushCommands" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_Bus_GetChannelGroup" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_Studio_EventInstance_SetCallback" target="int_0"/>
</dllmap>
<dllmap dll="fmodex">
<dllentry dll="libstubborn.so" name="FMOD_System_Create" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_System_GetVersion" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_System_Init" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_System_SetReverbProperties" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_System_Update" target="int_0"/>
</dllmap>
<dllmap dll="uP2P.dll">
<dllentry dll="libstubborn.so" name="libuP2P_liaison_init" target="int_1"/>
<dllentry dll="libstubborn.so" name="libuP2P_hook" target="int_0"/>
<dllentry dll="libstubborn.so" name="libuP2P_part_read" target="int_0"/>
<dllentry dll="libstubborn.so" name="libuP2P_part" target="int_0"/>
<dllentry dll="libstubborn.so" name="libuP2P_sync_zero" target="int_0"/>
<dllentry dll="libstubborn.so" name="libuP2P_persona_rich" target="int_0"/>
<dllentry dll="libstubborn.so" name="libuP2P_liaison_poll" target="int_0"/>
<dllentry dll="libstubborn.so" name="libuP2P_fake" target="int_0"/>
<dllentry dll="libstubborn.so" name="libuP2P_take" target="int_0"/>
<dllentry dll="libstubborn.so" name="libuP2P_liaison_exit" target="int_0"/>
</dllmap>
<dllmap dll="fmod">
<dllentry dll="libstubborn.so" name="FMOD_System_GetVersion" target="int_fmf_getversion"/>
<dllentry dll="libstubborn.so" name="FMOD_System_SetDSPBufferSize" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_System_SetAdvancedSettings" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_System_SetSoftwareChannels" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_ChannelGroup_SetVolume" target="int_0"/>
<dllentry dll="libstubborn.so" name="FMOD_ChannelGroup_SetPitch" target="int_0"/>
</dllmap>
<!-- PhotonBridge: Unrailed! -->
<dllmap dll="PhotonBridge">
<dllentry dll="libstubborn.so" name="init" target="int_1"/>
<dllentry dll="libstubborn.so" name="Init" target="int_1"/>
</dllmap>
<dllmap dll="SteamLink.dll">
<dllentry dll="libstubborn.so" name="SteamLink_Init" target="int_1"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetMessageCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetDataReceivedCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetPersonaStateChangeCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_Shutdown" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetLobbyChatUpdateCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetLobbyDataUpdatedCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetLobbyCreatedCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetLobbyEnteredCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetLobbyGameCreatedCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetBeginAuthResponseCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetP2PSessionRequestCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetP2PSessionConnectFailCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetAvatarImageLoadedCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetSteamServersConnectedCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetSteamServersDisconnectedCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetSteamServerConnectFailureCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetServerListRefreshCompleteCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetIPCFailureCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetSteamShutdownCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetUserStatsReceivedCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetUserStatsStoredCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetAchievementStoredCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetPolicyResponseCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetGSClientApproveCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetGSClientDenyCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_SetGSClientKickCallbackPtr" target="int_0"/>
<dllentry dll="libstubborn.so" name="SteamLink_GetAchievementUnlockStatus" target="int_0"/>
</dllmap>
</configuration>

5
games/fna/pkg/DESCR Normal file
View File

@ -0,0 +1,5 @@
This is FNA, an XNA4 reimplementation that focuses solely on developing a fully
accurate XNA4 runtime for the desktop.
The port includes FNA.NetStub and the XNA 4.0 ABI bridge for compatibility with
XNA games, as well as bindings for Vorbisfile and SDL2_image for backwards
compatibility.

14
games/fna/pkg/PLIST Normal file
View File

@ -0,0 +1,14 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/11/16 23:06:07 thfr Exp $
share/FNA/
share/FNA/FNA.NetStub.dll
share/FNA/FNA.dll
share/FNA/FNA.dll.config
share/FNA/Microsoft.Xna.Framework.Game.dll
share/FNA/Microsoft.Xna.Framework.GamerServices.dll
share/FNA/Microsoft.Xna.Framework.Graphics.dll
share/FNA/Microsoft.Xna.Framework.Input.Touch.dll
share/FNA/Microsoft.Xna.Framework.Net.dll
share/FNA/Microsoft.Xna.Framework.Storage.dll
share/FNA/Microsoft.Xna.Framework.Video.dll
share/FNA/Microsoft.Xna.Framework.Xact.dll
share/FNA/Microsoft.Xna.Framework.dll