vcpkg/ports/libpq/vcpkg.json
Kai Pastor 73b9a2a359
[openssl,vcpkg-cmake-get-vars] Fix android and emscripten, add feature tools (#29966)
* [vcpkg-cmake-get-vars] Call 'project' early

System variables like 'APPLE' or 'ANDROID' aren't set before 'project()'.

* Get Android variables

* [openssl] Ensure that compiler is reached via 'PATH'

* Fix Android configuration

* Add 'tools' feature

* Update versions

* [openssl] Initialize android with vcpkg settings

* [openssl] Really don't build apps

* [vcpkg-cmake-get-vars] Update android vars

* [libpq] Pass openssl version from pkgconfig

* [vcpkg-cmake-get-vars] Update android vars

* [vcpkg-cmake-get-vars] Report generator

* [vcpkg-cmake-get-vars] Escape all output

* Transfer cmake-get-vars fixes

* Transfer cmake-get-vars extra flags

* no-asm for android-arm w/o neon

* [vcpkg_configure_make] Unquote as needed

Toolchain flags are passed into make via environment variables (e.g.
CFLAGS) and expanded by Makefiles regardless of quotes. And even vcm's
internal handling isn't prepared for these quotes. So we must remove
the early. This doesn't interfere with properly escaped quotes.

* Re-add lost 'project', amends 4cf7caaa

* [openssl] Fix emscripten
2023-03-14 14:11:06 -07:00

136 lines
3.1 KiB
JSON

{
"name": "libpq",
"version": "15.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
}
],
"default-features": [
"lz4",
"openssl",
"zlib"
],
"features": {
"bonjour": {
"description": "Build with Bonjour support (--with-bonjour)",
"supports": "osx"
},
"client": {
"description": "Build all client tools and libraries (dynamic only?)",
"supports": "!(windows & !mingw & static)"
},
"icu": {
"description": "Build with support for the ICU library (--with-icu)",
"dependencies": [
"icu"
]
},
"lz4": {
"description": "Use lz4 (else --without-lz4)",
"dependencies": [
"lz4"
]
},
"nls": {
"description": "Native Language Support (--enable-nls[=LANGUAGES])",
"dependencies": [
"gettext",
{
"name": "gettext",
"host": true,
"features": [
"tools"
]
}
]
},
"openssl": {
"description": "support for encrypted client connections and random number generation on platforms that do not have \"/dev/urandom\" (except windows) (--with-openssl)",
"dependencies": [
"openssl"
]
},
"python": {
"description": "build the PL/Python server programming language (dynamic only?) (--with-python)",
"supports": "!(windows & (static | mingw))",
"dependencies": [
{
"name": "libpq",
"default-features": false,
"features": [
"client"
]
},
"python3"
]
},
"readline": {
"description": "Use readline (else --without-readline)",
"supports": "!windows, mingw",
"dependencies": [
"readline"
]
},
"tcl": {
"description": "build the PL/Tcl procedural language(dynamic only?) (--with-tcl)",
"supports": "!(windows & (static | mingw))",
"dependencies": [
{
"name": "libpq",
"default-features": false,
"features": [
"client"
]
},
"tcl"
]
},
"xml": {
"description": "Build with libxml (--with-libxml)",
"dependencies": [
"libxml2"
]
},
"xslt": {
"description": "Build with libxslt (--with-libxslt)",
"dependencies": [
{
"name": "libpq",
"default-features": false,
"features": [
"xml"
]
},
"libxslt"
]
},
"zlib": {
"description": "Use zlib (else --without-zlib)",
"dependencies": [
"zlib"
]
},
"zstd": {
"description": "Use zstd (else --without-zstd)",
"dependencies": [
"zstd"
]
}
}
}