mirror of https://github.com/microsoft/vcpkg.git
[sdl3-image] Add support for JPEG XL and AVIF image formats (#52345)
This commit is contained in:
parent
3326c9be23
commit
fd4e7beeab
|
|
@ -12,14 +12,12 @@ vcpkg_from_github(
|
|||
vcpkg_check_features(
|
||||
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
avif SDLIMAGE_AVIF
|
||||
jpeg SDLIMAGE_JPG
|
||||
jxl SDLIMAGE_JXL
|
||||
png SDLIMAGE_PNG
|
||||
tiff SDLIMAGE_TIF
|
||||
webp SDLIMAGE_WEBP
|
||||
INVERTED_FEATURES
|
||||
# Disabled capabilities: Needing dependencies.
|
||||
core SDLIMAGE_AVIF
|
||||
core SDLIMAGE_JXL
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
{
|
||||
"name": "sdl3-image",
|
||||
"version": "3.4.4",
|
||||
"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",
|
||||
"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: AVIF, BMP, GIF, JPEG, JPEG XL, LBM, PCX, PNG, PNM, TGA, TIFF, WEBP, XCF, XPM, XV",
|
||||
"homepage": "https://github.com/libsdl-org/SDL_image",
|
||||
"license": "Zlib",
|
||||
"dependencies": [
|
||||
|
|
@ -19,12 +20,30 @@
|
|||
}
|
||||
],
|
||||
"features": {
|
||||
"avif": {
|
||||
"description": "Support for AVIF image format",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "libavif",
|
||||
"features": [
|
||||
"aom",
|
||||
"dav1d"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"jpeg": {
|
||||
"description": "Support for JPEG image format",
|
||||
"dependencies": [
|
||||
"libjpeg-turbo"
|
||||
]
|
||||
},
|
||||
"jxl": {
|
||||
"description": "Support for JPEG XL image format",
|
||||
"dependencies": [
|
||||
"libjxl"
|
||||
]
|
||||
},
|
||||
"png": {
|
||||
"description": "Support for PNG image format",
|
||||
"dependencies": [
|
||||
|
|
|
|||
|
|
@ -9138,7 +9138,7 @@
|
|||
},
|
||||
"sdl3-image": {
|
||||
"baseline": "3.4.4",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"sdl3-mixer": {
|
||||
"baseline": "3.2.4",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "9b42d5467aa2899a40271972eb817d0da82eab05",
|
||||
"version": "3.4.4",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "7d64d0dd26d1a025b99b83429838551fde4a65cf",
|
||||
"version": "3.4.4",
|
||||
|
|
|
|||
Loading…
Reference in New Issue