vcpkg/ports/libpq/vcpkg.json
jim wang 27404c2779
[libpq] Delete gendef.pl related patches (#36992)
Fixes https://github.com/microsoft/vcpkg/issues/36693

Delete the patch of gendef.pl in
`vcpkg\ports\libpq\windows\msbuild.patch`. Because starting with
PostgreSQL 16, the "Win32" patch is no longer valid, the command line
arguments to gendef.pl were changed from Win32 to x86.

- [X] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [ ] ~~SHA512s are updated for each updated download.~~
- [ ] ~~The "supports" clause reflects platforms that may be fixed by
this new version.~~
- [ ] ~~Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~~
- [X] Any patches that are no longer applied are deleted from the port's
directory.
- [X] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [X] Only one version is added to each modified port's versions file.

Usage test pass with following triplets:

```
x86-windows
x64-windows
```
2024-02-28 16:46:19 -08:00

196 lines
4.0 KiB
JSON

{
"name": "libpq",
"version": "16.2",
"port-version": 1,
"description": "The official database access API of postgresql",
"homepage": "https://www.postgresql.org/",
"license": "PostgreSQL",
"supports": "!uwp",
"dependencies": [
{
"name": "libpq",
"default-features": false,
"features": [
"bonjour"
],
"platform": "osx"
},
{
"name": "vcpkg-cmake-get-vars",
"host": true
},
{
"name": "vcpkg-pkgconfig-get-modules",
"host": true,
"platform": "windows & !mingw"
}
],
"default-features": [
"lz4",
"openssl",
"zlib"
],
"features": {
"all": {
"description": "Build all supported features",
"dependencies": [
{
"name": "libpq",
"features": [
"client",
"icu",
"xml",
"xslt",
"zstd"
]
},
{
"name": "libpq",
"features": [
"bonjour"
],
"platform": "osx"
},
{
"name": "libpq",
"features": [
"nls"
],
"platform": "!osx"
},
{
"name": "libpq",
"features": [
"readline"
],
"platform": "!windows"
},
{
"name": "libpq",
"features": [
"python"
],
"platform": "!android & !mingw"
},
{
"name": "libpq",
"features": [
"tcl"
],
"platform": "windows & !mingw & !arm"
}
]
},
"bonjour": {
"description": "Build with Bonjour support",
"supports": "osx"
},
"client": {
"description": "Build all client tools and libraries"
},
"icu": {
"description": "Build with support for the ICU library",
"dependencies": [
"icu"
]
},
"lz4": {
"description": "Use lz4",
"dependencies": [
"lz4"
]
},
"nls": {
"description": "Native Language Support",
"supports": "!osx",
"dependencies": [
"gettext",
{
"name": "gettext",
"host": true,
"features": [
"tools"
],
"platform": "!windows, mingw"
}
]
},
"openssl": {
"description": "support for encrypted client connections and random number generation on platforms that do not have \"/dev/urandom\" (except windows)",
"dependencies": [
"openssl"
]
},
"python": {
"$supports": "!(windows & (static | mingw))",
"description": "build the PL/Python server programming language",
"dependencies": [
{
"name": "libpq",
"default-features": false,
"features": [
"client"
]
},
"python3"
]
},
"readline": {
"description": "Use readline",
"supports": "!windows, mingw",
"dependencies": [
"readline"
]
},
"tcl": {
"$supports": "!(windows & (static | mingw))",
"description": "build the PL/Tcl procedural language",
"supports": "windows & !mingw",
"dependencies": [
{
"name": "libpq",
"default-features": false,
"features": [
"client"
]
},
"tcl"
]
},
"xml": {
"description": "Build with libxml",
"dependencies": [
{
"name": "libxml2",
"default-features": false
}
]
},
"xslt": {
"description": "Build with libxslt",
"dependencies": [
{
"name": "libpq",
"default-features": false,
"features": [
"xml"
]
},
"libxslt"
]
},
"zlib": {
"description": "Use zlib",
"dependencies": [
"zlib"
]
},
"zstd": {
"description": "Use zstd",
"dependencies": [
"zstd"
]
}
}
}