vcpkg/scripts/test_ports/cmake-user/vcpkg.json
Kai Pastor 7cd3196145
[libpng] Fix and cleanup (#24211)
* Fix unused CMake variable warning

* Acquire msys only on Windows

* Revise APNG variable names and usage

* Fix download mode usability with APNG

* Uncompress APNG patch with gzip

gzip is a default package of MSYS2 and (most) other systems.
7z download is implemented for windows only.

* Revise main CMake patches

cmake.patch deals with libpng build configuration.
fix-export-targets deals with cmake config export.

* Revise pkgconfig patching and fixup

* Additional cleanup

* Add usage based on FindPNG.cmake

* Update versions

Co-authored-by: Leonid Pospelov <pospelovlm@yandex.ru>
2022-04-18 14:33:43 -07:00

92 lines
1.9 KiB
JSON

{
"name": "cmake-user",
"version-date": "2022-04-18",
"description": "Test port to verify the vcpkg toolchain in cmake user projects",
"license": "MIT",
"default-features": [
"ci"
],
"features": {
"ci": {
"description": "The CI set of features to test",
"dependencies": [
{
"name": "cmake-user",
"default-features": false,
"features": [
"cmake-current",
"find-package"
]
},
{
"name": "cmake-user",
"default-features": false,
"features": [
"cmake-3-7"
],
"platform": "x64 & (windows | linux | osx) & !uwp"
}
]
},
"cmake-3-7": {
"description": "Run the tests with CMake 3.7"
},
"cmake-current": {
"description": "Run the tests with vcpkg's current version of CMake"
},
"find-package": {
"description": "Ports to be tested via find_package($package)",
"dependencies": [
{
"$package": "BZip2",
"name": "bzip2"
},
{
"$package": "EXPAT",
"name": "expat"
},
{
"$package": "Freetype",
"name": "freetype"
},
{
"$package": "Intl",
"name": "gettext"
},
{
"$package": "GIF",
"name": "giflib"
},
{
"$package": "ICU",
"name": "icu"
},
{
"$package": "JPEG",
"name": "libjpeg-turbo"
},
{
"$package": "LibLZMA",
"name": "liblzma"
},
{
"$package": "PNG",
"name": "libpng"
},
{
"$package": "TIFF",
"name": "tiff"
},
{
"$package": "wxWidgets",
"name": "wxwidgets"
},
{
"$package": "ZLIB",
"name": "zlib"
}
]
}
}
}