[libidn2] Fix cross-compile (non-Windows) (#15868)

* [libidn2] Fix cross-compile (non-Windows)

* Convert CONTROL, bump port-version

* x-add-version libidn2
This commit is contained in:
pastdue 2021-02-02 17:37:29 -05:00 committed by GitHub
parent bbcf31b05c
commit 4ef16cd07e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 7 deletions

View File

@ -1,6 +0,0 @@
Source: libidn2
Version: 2.3.0
Port-Version: 1
Build-Depends: libiconv
Homepage: https://www.gnu.org/software/libidn/
Description: GNU Libidn is an implementation of the Stringprep, Punycode and IDNA 2003 specifications. Libidn's purpose is to encode and decode internationalized domain names.

View File

@ -50,6 +50,7 @@ if (VCPKG_TARGET_IS_WINDOWS)
else()
vcpkg_configure_make(
SOURCE_PATH ${SOURCE_PATH}
AUTOCONFIG
COPY_SOURCE
OPTIONS
--with-libiconv-prefix=${CURRENT_INSTALLED_DIR}

10
ports/libidn2/vcpkg.json Normal file
View File

@ -0,0 +1,10 @@
{
"name": "libidn2",
"version-string": "2.3.0",
"port-version": 2,
"description": "GNU Libidn is an implementation of the Stringprep, Punycode and IDNA 2003 specifications. Libidn's purpose is to encode and decode internationalized domain names.",
"homepage": "https://www.gnu.org/software/libidn/",
"dependencies": [
"libiconv"
]
}

View File

@ -3026,7 +3026,7 @@
},
"libidn2": {
"baseline": "2.3.0",
"port-version": 1
"port-version": 2
},
"libigl": {
"baseline": "2.2.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6f5a62105488c9eb440e97c4d49a1ac6c8fa996c",
"version-string": "2.3.0",
"port-version": 2
},
{
"git-tree": "6d198421acf88e8196da7f2d1389100307f92133",
"version-string": "2.3.0",