add freetype support for gd

This commit is contained in:
crazywhalecc
2023-03-18 21:40:07 +08:00
parent 9ce92e39d5
commit 3daafa0b0e
5 changed files with 64 additions and 2 deletions

View File

@@ -75,11 +75,11 @@
"libwebp",
"libjpeg",
"xpm",
"libfreetype"
"freetype"
],
"lib-depends-windows": [
"libiconv",
"libfreetype",
"freetype",
"libjpeg",
"zlib",
"libpng",

View File

@@ -215,6 +215,16 @@
"libmcrypt.a"
]
},
"freetype": {
"source": "freetype",
"static-libs-unix": [
"libfreetype.a"
],
"headers-unix": [
"freetype2/freetype/freetype.h",
"freetype2/ft2build.h"
]
},
"nghttp2": {
"source": "nghttp2",
"static-libs-unix": [

View File

@@ -35,6 +35,15 @@
"path": "LICENSE"
}
},
"freetype": {
"type": "filelist",
"url": "https://download.savannah.gnu.org/releases/freetype/",
"regex": "/href=\"(?<file>freetype-(?<version>[^\"]+)\\.tar\\.xz)\"/",
"license": {
"type": "file",
"path": "LICENSE.TXT"
}
},
"gmp": {
"type": "filelist",
"url": "https://gmplib.org/download/gmp/",