mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 22:11:37 +08:00
[harfbuzz] Make freetype dependency into feature. (#35877)
This commit is contained in:
parent
19786b14ec
commit
6734216dc7
@ -35,7 +35,11 @@ if("cairo" IN_LIST FEATURES)
|
||||
else()
|
||||
list(APPEND FEATURE_OPTIONS -Dcairo=disabled)
|
||||
endif()
|
||||
list(APPEND FEATURE_OPTIONS -Dfreetype=enabled) #Enable freetype interop helpers
|
||||
if("freetype" IN_LIST FEATURES)
|
||||
list(APPEND FEATURE_OPTIONS -Dfreetype=enabled) #Enable freetype interop helpers
|
||||
else()
|
||||
list(APPEND FEATURE_OPTIONS -Dfreetype=disabled)
|
||||
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)
|
||||
|
@ -1,16 +1,12 @@
|
||||
{
|
||||
"name": "harfbuzz",
|
||||
"version": "8.3.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "HarfBuzz OpenType text shaping engine",
|
||||
"homepage": "https://github.com/harfbuzz/harfbuzz",
|
||||
"license": "MIT-Modern-Variant",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "freetype",
|
||||
"default-features": false
|
||||
},
|
||||
{
|
||||
"name": "gettext",
|
||||
"platform": "osx"
|
||||
@ -20,6 +16,9 @@
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"default-features": [
|
||||
"freetype"
|
||||
],
|
||||
"features": {
|
||||
"cairo": {
|
||||
"description": "Enable Cairo graphics library support",
|
||||
@ -37,6 +36,15 @@
|
||||
"description": "Enable CoreText shaper backend on macOS",
|
||||
"supports": "osx"
|
||||
},
|
||||
"freetype": {
|
||||
"description": "Enable FreeType support",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "freetype",
|
||||
"default-features": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"glib": {
|
||||
"description": "Glib Unicode callbacks support",
|
||||
"dependencies": [
|
||||
|
@ -3274,7 +3274,7 @@
|
||||
},
|
||||
"harfbuzz": {
|
||||
"baseline": "8.3.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"hash-library": {
|
||||
"baseline": "8",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ff776c837e28a47a91cad45946d7ab6b51dc3c67",
|
||||
"version": "8.3.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "6e2d07391d009a33797b19b707bf5bc60cdb17e5",
|
||||
"version": "8.3.0",
|
||||
|
Loading…
Reference in New Issue
Block a user