refactor to pkg-config and add some add-on libs for gd

This commit is contained in:
crazywhalecc
2023-04-29 18:59:47 +08:00
parent ea055afd3c
commit 8df4ade754
83 changed files with 1001 additions and 1520 deletions

View File

@@ -66,12 +66,6 @@
"SystemConfiguration"
]
},
"postgresql": {
"source": "postgresql",
"static-libs-unix": [
"libpg.a"
]
},
"freetype": {
"source": "freetype",
"static-libs-unix": [
@@ -80,6 +74,14 @@
"headers-unix": [
"freetype2/freetype/freetype.h",
"freetype2/ft2build.h"
],
"lib-depends": [
"zlib"
],
"lib-suggests": [
"libpng",
"bzip2",
"brotli"
]
},
"gmp": {
@@ -94,6 +96,12 @@
"gmp.h"
]
},
"libavif": {
"source": "libavif",
"static-libs-unix": [
"libavif.a"
]
},
"libffi": {
"source": "libffi",
"static-libs-unix": [
@@ -115,7 +123,8 @@
"libiconv": {
"source": "libiconv",
"static-libs-unix": [
"libiconv.a"
"libiconv.a",
"libcharset.a"
],
"headers": [
"iconv.h",
@@ -123,6 +132,13 @@
"localcharset.h"
]
},
"libjpeg": {
"source": "libjpeg",
"static-libs-unix": [
"libjpeg.a",
"libturbojpeg.a"
]
},
"libmcrypt": {
"source": "libmcrypt",
"static-libs-unix": [
@@ -170,6 +186,16 @@
"zlib"
]
},
"libwebp": {
"source": "libwebp",
"static-libs-unix": [
"libwebp.a",
"libwebpdecoder.a",
"libwebpdemux.a",
"libwebpmux.a",
"libsharpyuv.a"
]
},
"libxml2": {
"source": "libxml2",
"static-libs-unix": [
@@ -257,17 +283,7 @@
"openssl"
],
"lib-suggests": [
"libxml2",
"libev",
"libcares",
"libngtcp2",
"libnghttp3",
"libbpf",
"libevent-openssl",
"jansson",
"jemalloc",
"systemd",
"cunit"
"libxml2"
]
},
"onig": {
@@ -303,6 +319,12 @@
"zlib"
]
},
"postgresql": {
"source": "postgresql",
"static-libs-unix": [
"libpg.a"
]
},
"pthreads4w": {
"source": "pthreads4w",
"static-libs-windows": [