[fribidi] Support new platform (#21948)

* [fribidi] use vcpkg_configure_make instead of vcpkg_configure_meson

* [fribidi] support platform `arm`

* [fribidi] remove dependency `vcpkg-tool-meson`

* [fribidi] vcpkg x-add-version --all --overwrite-version

* Revert "[fribidi] vcpkg x-add-version --all --overwrite-version"

This reverts commit c824e8e6ca.

* [fribidi] update port-version to 2

* [fribidi] vcpkg x-add-version --all --overwrite-version
This commit is contained in:
zhiqiang 2021-12-11 07:57:46 +08:00 committed by GitHub
parent 5420dab932
commit a8204d987c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 16 deletions

View File

@ -6,15 +6,11 @@ vcpkg_from_github(
HEAD_REF master
)
vcpkg_configure_meson(
vcpkg_configure_make(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
-Ddocs=false
-Dbin=false
-Dtests=false
)
vcpkg_install_meson()
vcpkg_install_make(DISABLE_PARALLEL)
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
@ -27,5 +23,8 @@ else()
endif()
file(WRITE ${CURRENT_PACKAGES_DIR}/include/fribidi/fribidi-common.h "${FRIBIDI_COMMON_H}")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
# Handle copyright
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

View File

@ -1,13 +1,7 @@
{
"name": "fribidi",
"version": "1.0.11",
"port-version": 1,
"port-version": 2,
"description": "GNU FriBidi is an implementation of the Unicode Bidirectional Algorithm (bidi)",
"supports": "!(uwp | arm)",
"dependencies": [
{
"name": "vcpkg-tool-meson",
"host": true
}
]
"supports": "!uwp"
}

View File

@ -2290,7 +2290,7 @@
},
"fribidi": {
"baseline": "1.0.11",
"port-version": 1
"port-version": 2
},
"frozen": {
"baseline": "2021-04-22",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "134c67f3f8db520442ed5bea02262f14d647f7ce",
"version": "1.0.11",
"port-version": 2
},
{
"git-tree": "1555ac8e52ae978d26277e842322241a3da9c8ae",
"version": "1.0.11",