fetch SharpFont from nuget
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -27,6 +27,8 @@ thirdparty/ICSharpCode.SharpZipLib.dll*
|
||||
thirdparty/MaxMind*
|
||||
thirdparty/RestSharp*
|
||||
thirdparty/Newtonsoft.Json*
|
||||
thirdparty/SharpFont*
|
||||
thirdparty/windows/freetype6.dll
|
||||
|
||||
# backup files by various editors
|
||||
*~
|
||||
|
||||
5
thirdparty/README
vendored
5
thirdparty/README
vendored
@@ -24,8 +24,3 @@ SDL2-CS.dll
|
||||
https://github.com/flibitijibibo/SDL2-CS/
|
||||
Commit e8731efadb249a40f46d646e2b783ec588326ea6
|
||||
zlib license
|
||||
|
||||
SharpFont.dll
|
||||
https://github.com/Robmaister/SharpFont
|
||||
Version 2.5.0.1
|
||||
MIT license
|
||||
|
||||
BIN
thirdparty/SharpFont.dll
vendored
BIN
thirdparty/SharpFont.dll
vendored
Binary file not shown.
7
thirdparty/SharpFont.dll.config
vendored
7
thirdparty/SharpFont.dll.config
vendored
@@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<dllmap dll="freetype6.dll">
|
||||
<dllentry os="linux" dll="libfreetype.so.6" />
|
||||
<dllentry os="osx" dll="/Library/Frameworks/Mono.framework/Libraries/libfreetype.6.dylib" />
|
||||
</dllmap>
|
||||
</configuration>
|
||||
10
thirdparty/fetch-thirdparty-deps.ps1
vendored
10
thirdparty/fetch-thirdparty-deps.ps1
vendored
@@ -32,4 +32,14 @@ if (!(Test-Path "MaxMind.GeoIP2.dll"))
|
||||
rmdir Newtonsoft.Json.6.0.5 -Recurse
|
||||
cp RestSharp.105.0.0/lib/net4-client/RestSharp* .
|
||||
rmdir RestSharp.105.0.0 -Recurse
|
||||
}
|
||||
|
||||
if (!(Test-Path "SharpFont.dll"))
|
||||
{
|
||||
echo "Fetching SharpFont from NuGet."
|
||||
./nuget.exe install SharpFont -Version 2.5.3
|
||||
cp SharpFont.2.5.3.0/lib/net20/SharpFont* .
|
||||
cp SharpFont.2.5.3.0/Content/SharpFont.dll.config .
|
||||
cp SharpFont.2.5.3.0/Content/freetype6.dll ./windows/
|
||||
rmdir SharpFont.2.5.3.0 -Recurse
|
||||
}
|
||||
9
thirdparty/fetch-thirdparty-deps.sh
vendored
9
thirdparty/fetch-thirdparty-deps.sh
vendored
@@ -24,4 +24,13 @@ if [ ! -f MaxMind.GeoIP2.dll ]; then
|
||||
rm -rf Newtonsoft.Json.6.0.5
|
||||
cp ./RestSharp.105.0.0/lib/net4-client/RestSharp* .
|
||||
rm -rf RestSharp.105.0.0
|
||||
fi
|
||||
|
||||
if [ ! -f SharpFont.dll ]; then
|
||||
echo "Fetching SharpFont from nuget"
|
||||
nuget install SharpFont -Version 2.5.3
|
||||
cp ./SharpFont.2.5.3.0/lib/net20/SharpFont* .
|
||||
cp ./SharpFont.2.5.3.0/Content/SharpFont.dll.config .
|
||||
cp ./SharpFont.2.5.3.0/Content/freetype6.dll ./windows/
|
||||
rm -rf SharpFont.2.5.3.0
|
||||
fi
|
||||
BIN
thirdparty/windows/freetype6.dll
vendored
BIN
thirdparty/windows/freetype6.dll
vendored
Binary file not shown.
Reference in New Issue
Block a user