[sdl2-image] Add the proper AVIF support (#44334)

This commit is contained in:
Oleg Derevenetz 2025-03-12 20:46:41 +03:00 committed by GitHub
parent 4141cbfd25
commit 2e36c563bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 14 additions and 1 deletions

View File

@ -11,6 +11,7 @@ vcpkg_from_github(
vcpkg_check_features(
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
avif SDL2IMAGE_AVIF
libjpeg-turbo SDL2IMAGE_JPG
libwebp SDL2IMAGE_WEBP
tiff SDL2IMAGE_TIF

View File

@ -1,6 +1,7 @@
{
"name": "sdl2-image",
"version": "2.8.8",
"port-version": 1,
"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://github.com/libsdl-org/SDL_image",
"license": "Zlib",
@ -20,6 +21,12 @@
}
],
"features": {
"avif": {
"description": "Support for AVIF image format",
"dependencies": [
"libavif"
]
},
"libjpeg-turbo": {
"description": "Support for JPEG image format",
"dependencies": [

View File

@ -8354,7 +8354,7 @@
},
"sdl2-image": {
"baseline": "2.8.8",
"port-version": 0
"port-version": 1
},
"sdl2-mixer": {
"baseline": "2.8.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5cc9de78d44947f2029569202beba4b5af8ea2cc",
"version": "2.8.8",
"port-version": 1
},
{
"git-tree": "59d6bd7369432c4558c87cc90402c5bc65e004c5",
"version": "2.8.8",