vcpkg/ports/libpng/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

25 lines
596 B
JSON

{
"name": "libpng",
"version": "1.6.37",
"port-version": 17,
"description": "libpng is a library implementing an interface for reading and writing PNG (Portable Network Graphics) format files",
"homepage": "https://github.com/glennrp/libpng",
"license": "libpng-2.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zlib"
],
"features": {
"apng": {
"description": "This is backward compatible with the regular libpng, both in library usage and format"
}
}
}