vcpkg/ports/sdl2-image/vcpkg.json
Thomas1664 05bcc5fca4
[sdl2-image] Features must use sdl2[x11] on Linux (#23725)
* Fix shared libs suffix

* Remove version-string

* version

* Use cmake version of shared lib suffix

* version

* Remove old feature processing

* version

* Real fix

* [sdl2] Fix x11 feature

* format

* version

* Fix suffix again

* version

* Fix external dependencies

* version

* Fix WebP linkage

* version

* Fix PNG linkage

* version

* Mark everything as default feature for testing

* version

* Trigger rebuild of sdl2pp

* version

* congig file

* Fix flags

* version

* Fix flags

* version

* Disable UWP warnings for TIFF

* version

* Fix CXX

* version

* revert cmake version

* version

* Fix config

* version

* Revert sdl2pp

* Fix config

* version

* Create config.cmake.in file

* version
2022-04-15 13:44:08 -07:00

61 lines
1.3 KiB
JSON

{
"name": "sdl2-image",
"version": "2.0.5",
"port-version": 5,
"description": "SDL_image is an image file loading library. It loads images as SDL surfaces and textures, and supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF, WEBP, XCF, XPM, XV",
"homepage": "https://www.libsdl.org/projects/SDL_image",
"dependencies": [
"libpng",
"sdl2",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"features": {
"libjpeg-turbo": {
"description": "Support for JPEG image format",
"dependencies": [
"libjpeg-turbo",
{
"name": "sdl2",
"features": [
"x11"
],
"platform": "!windows"
}
]
},
"libwebp": {
"description": "Support for WEBP image format.",
"dependencies": [
"libwebp",
{
"name": "sdl2",
"features": [
"x11"
],
"platform": "!windows"
}
]
},
"tiff": {
"description": "Support for TIFF image format",
"dependencies": [
{
"name": "sdl2",
"features": [
"x11"
],
"platform": "!windows"
},
"tiff"
]
}
}
}