vcpkg/ports/skia/vcpkg.json
Kai Pastor 848c8178ce
[skia] Fix incomplete update, build modules, fix android (#34951)
* [skia] Restore simple msvc toolchain fix

* libgifcodec is gone

* Update abseil-cpp

* Use vcpkg abseil-cpp

* Update wuffs

* Update dawn

* Update spirv deps

* Remove tint

* Update vulkan-tools

* versions

* Drop obsolete patch

* Use github directly

* Revert "Use vcpkg abseil-cpp"

This reverts commit 9b4157c980.

* Fix dawn

* Build, install, export modules

* Unroll default-features

* Fix comments

* Fix skresources

* Fix manifest

* WIP

* WIP

* Pass-through lib dirs

* Filter link libs

* WIP

* WIP

* Add feature 'modules'

* Fix SkDebugf visibility

* WIP

* WIP

* Rewrite gn install and export

* No pdb for release

* Omit explicit ouput check

* Update modules config

* Disable skparagraph DLL, no dllexport

* Disable icu on shared windows

* Cleanup

* Cleanup

* Enable android CI

* Android

* Don't export standard libraries

* Disable FontConfigInterface on windows
2023-11-29 01:34:00 -08:00

141 lines
3.1 KiB
JSON

{
"name": "skia",
"version": "0.38.2",
"port-version": 1,
"description": [
"Skia is an open source 2D graphics library which provides common APIs that work across a variety of hardware and software platforms.",
"It serves as the graphics engine for Google Chrome and Chrome OS, Android, Mozilla Firefox and Firefox OS, and many other products.",
"Skia is sponsored and managed by Google, but is available for use by anyone under the BSD Free Software License. While engineering of the core components is done by the Skia development team, we consider contributions from any source."
],
"homepage": "https://skia.org",
"license": null,
"supports": "!(windows & arm32) & !mingw",
"dependencies": [
"expat",
"libjpeg-turbo",
"libpng",
"libwebp",
{
"name": "opengl",
"default-features": false,
"platform": "windows & !arm64 & !uwp"
},
{
"name": "vcpkg-cmake-config",
"host": true
},
{
"name": "vcpkg-cmake-get-vars",
"host": true
},
{
"name": "vcpkg-gn",
"host": true
},
{
"name": "vcpkg-pkgconfig-get-modules",
"host": true
},
{
"name": "vcpkg-tool-gn",
"host": true
},
"zlib"
],
"default-features": [
{
"name": "direct3d",
"platform": "uwp"
},
{
"name": "fontconfig",
"platform": "linux"
},
{
"name": "freetype",
"platform": "!(windows | osx | ios)"
},
{
"name": "gl",
"platform": "!uwp"
},
{
"name": "harfbuzz",
"platform": "!uwp"
},
{
"name": "icu",
"platform": "!uwp & !(windows & !static)"
}
],
"features": {
"dawn": {
"description": "dawn support for skia",
"dependencies": [
"vulkan-headers"
]
},
"direct3d": {
"description": "Direct3D support for skia",
"supports": "windows"
},
"fontconfig": {
"description": "Fontconfig support",
"dependencies": [
"fontconfig",
{
"name": "skia",
"default-features": false,
"features": [
"freetype"
]
}
]
},
"freetype": {
"description": "Freetype support",
"dependencies": [
{
"name": "dlfcn-win32",
"platform": "windows"
},
{
"name": "freetype",
"default-features": false
}
]
},
"gl": {
"description": "OpenGL support for skia",
"supports": "!(windows & arm) & !uwp",
"dependencies": [
"opengl-registry"
]
},
"harfbuzz": {
"description": "Harfbuzz support",
"dependencies": [
"harfbuzz"
]
},
"icu": {
"description": "Use icu.",
"supports": "!(windows & !static)",
"dependencies": [
"icu"
]
},
"metal": {
"description": "Metal support for skia",
"supports": "ios, osx"
},
"vulkan": {
"description": "Vulkan support for skia",
"dependencies": [
"vulkan-headers",
"vulkan-memory-allocator"
]
}
}
}