[harfbuzz] Add feature gdi (#38892)

Fixes https://github.com/microsoft/vcpkg/issues/38880
This commit is contained in:
jim wang 2024-06-12 01:00:22 +00:00 committed by GitHub
parent ff2b8b4fd7
commit 7bc4bfc031
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 14 additions and 5 deletions

View File

@ -51,10 +51,9 @@ if("experimental-api" IN_LIST FEATURES)
else()
list(APPEND FEATURE_OPTIONS -Dexperimental_api=false)
endif()
#if(VCPKG_TARGET_IS_WINDOWS)
#link errors in qt5-base. probably requires changes to the pc files generated by meson
#list(APPEND FEATURE_OPTIONS -Dgdi=enabled) # enable gdi helpers and uniscribe shaper backend (windows only)
#endif()
if("gdi" IN_LIST FEATURES)
list(APPEND FEATURE_OPTIONS -Dgdi=enabled) # enable gdi helpers and uniscribe shaper backend (windows only)
endif()
if("introspection" IN_LIST FEATURES)
list(APPEND OPTIONS_DEBUG -Dgobject=enabled -Dintrospection=disabled)

View File

@ -1,6 +1,7 @@
{
"name": "harfbuzz",
"version": "8.5.0",
"port-version": 1,
"description": "HarfBuzz OpenType text shaping engine",
"homepage": "https://github.com/harfbuzz/harfbuzz",
"license": "MIT-Modern-Variant",
@ -51,6 +52,10 @@
}
]
},
"gdi": {
"description": "Enable GDI/Uniscribe support on Windows",
"supports": "windows"
},
"glib": {
"description": "Glib Unicode callbacks support",
"dependencies": [

View File

@ -3362,7 +3362,7 @@
},
"harfbuzz": {
"baseline": "8.5.0",
"port-version": 0
"port-version": 1
},
"hash-library": {
"baseline": "8",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "14cae658d3e86c06b7c572997e729376ef93c90f",
"version": "8.5.0",
"port-version": 1
},
{
"git-tree": "d5e91f387f0b4347918c04f3ac94a0643fc72423",
"version": "8.5.0",