mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 18:39:02 +08:00
e07c62d059
* Remove unused SKIA_PUBLIC_DEFINITIONS * Revise python3 injection * Major overhaul * Revise third-party downloads Declare them early in a single location, but use as needed. Validate agains skia's DEPS. * Integrate download & pkgconfig externals handling Ensure that downloads are complete with --only-downloads mode. * Move cmake functions to separate file * Turn source fixups into proper patches * Update versions * Generally disable msvc env setup * Update python patch * Remove unused patch * Rename function * Update versions * Handle third-party licenses * Move block * Rename and unset skia root variable * Fix usage with alternative build types * Update versions
139 lines
3.2 KiB
JSON
139 lines
3.2 KiB
JSON
{
|
|
"name": "skia",
|
|
"version": "0.36.0",
|
|
"port-version": 3,
|
|
"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 & arm & !arm64)",
|
|
"dependencies": [
|
|
"expat",
|
|
"libjpeg-turbo",
|
|
"libpng",
|
|
"libwebp",
|
|
{
|
|
"name": "vcpkg-cmake-config",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "vcpkg-cmake-get-vars",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "vcpkg-pkgconfig-get-modules",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "vcpkg-tool-gn",
|
|
"host": true
|
|
},
|
|
"zlib"
|
|
],
|
|
"default-features": [
|
|
"default-features"
|
|
],
|
|
"features": {
|
|
"dawn": {
|
|
"description": "dawn support for skia"
|
|
},
|
|
"default-features": {
|
|
"description": "Default feature configuration",
|
|
"dependencies": [
|
|
{
|
|
"name": "skia",
|
|
"default-features": false,
|
|
"features": [
|
|
"direct3d"
|
|
],
|
|
"platform": "uwp"
|
|
},
|
|
{
|
|
"name": "skia",
|
|
"default-features": false,
|
|
"features": [
|
|
"fontconfig"
|
|
],
|
|
"platform": "linux"
|
|
},
|
|
{
|
|
"name": "skia",
|
|
"default-features": false,
|
|
"features": [
|
|
"gl",
|
|
"harfbuzz",
|
|
"icu"
|
|
],
|
|
"platform": "!uwp"
|
|
},
|
|
{
|
|
"name": "skia",
|
|
"default-features": false,
|
|
"features": [
|
|
"freetype"
|
|
],
|
|
"platform": "!(windows | osx | ios)"
|
|
}
|
|
]
|
|
},
|
|
"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": "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",
|
|
"dependencies": [
|
|
"icu"
|
|
]
|
|
},
|
|
"metal": {
|
|
"description": "Metal support for skia",
|
|
"supports": "ios, osx"
|
|
},
|
|
"vulkan": {
|
|
"description": "Vulkan support for skia",
|
|
"dependencies": [
|
|
"vulkan"
|
|
]
|
|
}
|
|
}
|
|
}
|