{
  "name": "SDL3_image",
  "remote": "libsdl-org/SDL_image",
  "dependencies": {
    "SDL": {
      "startswith": "3.4.",
      "repo": "libsdl-org/SDL"
    }
  },
  "version": {
    "file": "include/SDL3_image/SDL_image.h",
    "re_major": "^#define SDL_IMAGE_MAJOR_VERSION\\s+([0-9]+)$",
    "re_minor": "^#define SDL_IMAGE_MINOR_VERSION\\s+([0-9]+)$",
    "re_micro": "^#define SDL_IMAGE_MICRO_VERSION\\s+([0-9]+)$"
  },
  "source": {
    "checks": [
      "src/IMG.c",
      "include/SDL3_image/SDL_image.h",
      "examples/showimage.c"
    ]
  },
  "dmg": {
    "project": "Xcode/SDL_image.xcodeproj",
    "path": "Xcode/build/SDL3_image.dmg",
    "scheme": "SDL3_image.dmg",
    "build-xcconfig": "Xcode/pkg-support/build.xcconfig",
    "dependencies": {
      "SDL": {
        "artifact": "SDL3-*.dmg"
      }
    }
  },
  "mingw": {
    "cmake": {
      "archs": ["x86", "x64"],
      "args": [
        "-DBUILD_SHARED_LIBS=ON",
        "-DSDLIMAGE_AVIF=ON",
        "-DSDLIMAGE_BMP=ON",
        "-DSDLIMAGE_GIF=ON",
        "-DSDLIMAGE_JPG=ON",
        "-DSDLIMAGE_JXL=OFF",
        "-DSDLIMAGE_LBM=ON",
        "-DSDLIMAGE_PCX=ON",
        "-DSDLIMAGE_PNG=ON",
        "-DSDLIMAGE_PNM=ON",
        "-DSDLIMAGE_QOI=ON",
        "-DSDLIMAGE_SVG=ON",
        "-DSDLIMAGE_TGA=ON",
        "-DSDLIMAGE_TIF=ON",
        "-DSDLIMAGE_WEBP=ON",
        "-DSDLIMAGE_XCF=ON",
        "-DSDLIMAGE_XPM=ON",
        "-DSDLIMAGE_XV=ON",
        "-DSDLIMAGE_RELOCATABLE=ON",
        "-DSDLIMAGE_SAMPLES=OFF",
        "-DSDLIMAGE_TESTS=OFF",
        "-DSDLIMAGE_VENDORED=OFF",
        "-DSDLIMAGE_DEPS_SHARED=ON",
        "-DCMAKE_C_FLAGS=-I@<@PROJECT_ROOT@>@/VisualC/external/include",
        "-DSDLIMAGE_DYNAMIC_AVIF=@<@PROJECT_ROOT@>@/VisualC/external/optional/@<@ARCH@>@/libavif-16.dll",
        "-DSDLIMAGE_DYNAMIC_PNG=@<@PROJECT_ROOT@>@/VisualC/external/optional/@<@ARCH@>@/libpng16-16.dll",
        "-DSDLIMAGE_DYNAMIC_TIF=@<@PROJECT_ROOT@>@/VisualC/external/optional/@<@ARCH@>@/libtiff-6.dll",
        "-DSDLIMAGE_DYNAMIC_WEBP=@<@PROJECT_ROOT@>@/VisualC/external/optional/@<@ARCH@>@/libwebp-7.dll",
        "-DSDLIMAGE_DYNAMIC_WEBPDEMUX=@<@PROJECT_ROOT@>@/VisualC/external/optional/@<@ARCH@>@/libwebpdemux-2.dll",
        "-DSDLIMAGE_DYNAMIC_WEBPMUX=@<@PROJECT_ROOT@>@/VisualC/external/optional/@<@ARCH@>@/libwebpmux-3.dll"
      ],
      "shared-static": "args"
    },
    "files": {
      "": [
        "build-scripts/pkg-support/mingw/INSTALL.md.in:INSTALL.md",
        "build-scripts/pkg-support/mingw/Makefile",
        "LICENSE.txt",
        "README.md"
      ],
      "cmake": [
        "build-scripts/pkg-support/mingw/cmake/SDL3_imageConfig.cmake",
        "build-scripts/pkg-support/mingw/cmake/SDL3_imageConfigVersion.cmake"
      ]
    },
    "dependencies": {
      "SDL": {
        "artifact": "SDL3-devel-*-mingw.tar.gz",
        "install-command": "make install-@<@ARCH@>@ DESTDIR=@<@PREFIX@>@"
      }
    }
  },
  "msvc": {
    "msbuild": {
      "archs": [
        "x86",
        "x64"
      ],
      "projects": [
        "VisualC/SDL_image.vcxproj"
      ],
      "prebuilt": [
        "VisualC/external/optional/@<@ARCH@>@/*"
      ],
      "files-lib": {
        "": [
          "VisualC/@<@PLATFORM@>@/@<@CONFIGURATION@>@/SDL3_image.dll"
        ],
        "optional": [
          "VisualC/external/optional/@<@ARCH@>@/libavif-16.dll",
          "VisualC/external/optional/@<@ARCH@>@/libpng16-16.dll",
          "VisualC/external/optional/@<@ARCH@>@/libtiff-6.dll",
          "VisualC/external/optional/@<@ARCH@>@/libwebp-7.dll",
          "VisualC/external/optional/@<@ARCH@>@/libwebpdemux-2.dll",
          "VisualC/external/optional/@<@ARCH@>@/libwebpmux-3.dll",
          "VisualC/external/optional/@<@ARCH@>@/LICENSE.aom.txt",
          "VisualC/external/optional/@<@ARCH@>@/LICENSE.avif.txt",
          "VisualC/external/optional/@<@ARCH@>@/LICENSE.dav1d.txt",
          "VisualC/external/optional/@<@ARCH@>@/LICENSE.libpng.txt",
          "VisualC/external/optional/@<@ARCH@>@/LICENSE.tiff.txt",
          "VisualC/external/optional/@<@ARCH@>@/LICENSE.webp.txt"
        ]
      },
      "files-devel": {
        "lib/@<@ARCH@>@": [
          "VisualC/@<@PLATFORM@>@/@<@CONFIGURATION@>@/SDL3_image.dll",
          "VisualC/@<@PLATFORM@>@/@<@CONFIGURATION@>@/SDL3_image.lib",
          "VisualC/@<@PLATFORM@>@/@<@CONFIGURATION@>@/SDL3_image.pdb"
        ],
        "lib/@<@ARCH@>@/optional": [
          "VisualC/external/optional/@<@ARCH@>@/libavif-16.dll",
          "VisualC/external/optional/@<@ARCH@>@/libpng16-16.dll",
          "VisualC/external/optional/@<@ARCH@>@/libtiff-6.dll",
          "VisualC/external/optional/@<@ARCH@>@/libwebp-7.dll",
          "VisualC/external/optional/@<@ARCH@>@/libwebpdemux-2.dll",
          "VisualC/external/optional/@<@ARCH@>@/libwebpmux-3.dll",
          "VisualC/external/optional/@<@ARCH@>@/LICENSE.aom.txt",
          "VisualC/external/optional/@<@ARCH@>@/LICENSE.avif.txt",
          "VisualC/external/optional/@<@ARCH@>@/LICENSE.dav1d.txt",
          "VisualC/external/optional/@<@ARCH@>@/LICENSE.libpng.txt",
          "VisualC/external/optional/@<@ARCH@>@/LICENSE.tiff.txt",
          "VisualC/external/optional/@<@ARCH@>@/LICENSE.webp.txt"
        ]
      }
    },
    "cmake": {
      "archs": [
        "arm64"
      ],
      "args": [
        "-DBUILD_SHARED_LIBS=ON",
        "-DSDLIMAGE_AVIF=ON",
        "-DSDLIMAGE_BMP=ON",
        "-DSDLIMAGE_GIF=ON",
        "-DSDLIMAGE_JPG=ON",
        "-DSDLIMAGE_JXL=OFF",
        "-DSDLIMAGE_LBM=ON",
        "-DSDLIMAGE_PCX=ON",
        "-DSDLIMAGE_PNG=ON",
        "-DSDLIMAGE_PNM=ON",
        "-DSDLIMAGE_QOI=ON",
        "-DSDLIMAGE_SVG=ON",
        "-DSDLIMAGE_TGA=ON",
        "-DSDLIMAGE_TIF=ON",
        "-DSDLIMAGE_WEBP=ON",
        "-DSDLIMAGE_XCF=ON",
        "-DSDLIMAGE_XPM=ON",
        "-DSDLIMAGE_XV=ON",
        "-DSDLIMAGE_STB=OFF",
        "-DSDLIMAGE_ZLIB_SHARED=OFF",
        "-DSDLIMAGE_RELOCATABLE=ON",
        "-DSDLIMAGE_SAMPLES=OFF",
        "-DSDLIMAGE_TESTS=OFF",
        "-DSDLIMAGE_VENDORED=ON"
      ],
      "files-lib": {
        "": [
          "bin/SDL3_image.dll"
        ],
        "optional": [
          "bin/libavif-16.dll",
          "bin/libpng16-16.dll",
          "bin/dav1d.dll",
          "bin/aom.dll",
          "bin/tiff.dll",
          "bin/libwebp.dll",
          "bin/libwebpdemux.dll",
          "bin/libwebpmux.dll",
          "share/licenses/SDL3_image/optional/LICENSE.aom.txt",
          "share/licenses/SDL3_image/optional/LICENSE.avif.txt",
          "share/licenses/SDL3_image/optional/LICENSE.dav1d.txt",
          "share/licenses/SDL3_image/optional/LICENSE.libpng.txt",
          "share/licenses/SDL3_image/optional/LICENSE.tiff.txt",
          "share/licenses/SDL3_image/optional/LICENSE.webp.txt",
          "share/licenses/SDL3_image/optional/LICENSE.libpng.txt",
          "share/licenses/SDL3_image/optional/LICENSE.zlib.txt"
        ]
      },
      "files-devel": {
        "lib/@<@ARCH@>@": [
          "bin/SDL3_image.dll",
          "bin/SDL3_image.pdb",
          "lib/SDL3_image.lib"
        ],
        "lib/@<@ARCH@>@/optional": [
          "bin/libavif-16.dll",
          "bin/libpng16-16.dll",
          "bin/dav1d.dll",
          "bin/aom.dll",
          "bin/tiff.dll",
          "bin/libwebp.dll",
          "bin/libwebpdemux.dll",
          "bin/libwebpmux.dll",
          "share/licenses/SDL3_image/optional/LICENSE.aom.txt",
          "share/licenses/SDL3_image/optional/LICENSE.avif.txt",
          "share/licenses/SDL3_image/optional/LICENSE.dav1d.txt",
          "share/licenses/SDL3_image/optional/LICENSE.libpng.txt",
          "share/licenses/SDL3_image/optional/LICENSE.tiff.txt",
          "share/licenses/SDL3_image/optional/LICENSE.webp.txt",
          "share/licenses/SDL3_image/optional/LICENSE.libpng.txt",
          "share/licenses/SDL3_image/optional/LICENSE.zlib.txt"
        ]
      }
    },
    "files-lib": {
      "": [
        "build-scripts/pkg-support/msvc/@<@ARCH@>@/INSTALL.md.in:INSTALL.md",
        "LICENSE.txt",
        "README.md"
      ]
    },
    "files-devel": {
      "": [
        "build-scripts/pkg-support/msvc/INSTALL.md.in:INSTALL.md",
        "LICENSE.txt",
        "README.md"
      ],
      "cmake": [
        "build-scripts/pkg-support/msvc/cmake/SDL3_imageConfig.cmake.in:SDL3_imageConfig.cmake",
        "build-scripts/pkg-support/msvc/cmake/SDL3_imageConfigVersion.cmake.in:SDL3_imageConfigVersion.cmake",
        "cmake/sdlcpu.cmake"
      ],
      "include/SDL3_image": [
        "include/SDL3_image/SDL_image.h"
      ]
    },
    "dependencies": {
      "SDL": {
        "artifact": "SDL3-devel-*-VC.zip",
        "copy": [
          {
            "src": "lib/@<@ARCH@>@/SDL3.*",
            "dst": "../SDL/VisualC/@<@PLATFORM@>@/@<@CONFIGURATION@>@"
          },
          {
            "src": "include/SDL3/*",
            "dst": "../SDL/include/SDL3"
          }
        ]
      }
    }
  },
  "android": {
    "cmake": {
      "args": [
        "-DBUILD_SHARED_LIBS=ON",
        "-DSDLIMAGE_AVIF=OFF",
        "-DSDLIMAGE_BMP=ON",
        "-DSDLIMAGE_GIF=ON",
        "-DSDLIMAGE_JPG=ON",
        "-DSDLIMAGE_JXL=OFF",
        "-DSDLIMAGE_LBM=ON",
        "-DSDLIMAGE_PCX=ON",
        "-DSDLIMAGE_PNG=ON",
        "-DSDLIMAGE_PNG_LIBPNG=OFF",
        "-DSDLIMAGE_PNM=ON",
        "-DSDLIMAGE_QOI=ON",
        "-DSDLIMAGE_SVG=ON",
        "-DSDLIMAGE_TGA=ON",
        "-DSDLIMAGE_TIF=OFF",
        "-DSDLIMAGE_WEBP=OFF",
        "-DSDLIMAGE_XCF=ON",
        "-DSDLIMAGE_XPM=ON",
        "-DSDLIMAGE_XV=ON",
        "-DSDLIMAGE_SAMPLES=OFF",
        "-DSDLIMAGE_TESTS=OFF",
        "-DSDLIMAGE_VENDORED=ON"
      ]
    },
    "modules": {
      "SDL3_image-shared": {
        "type": "library",
        "library": "lib/libSDL3_image.so",
        "includes": {
          "SDL3_image": ["include/SDL3_image/*.h"]
        }
      },
      "SDL3_image": {
        "type": "interface",
        "export-libraries": [":SDL3_image-shared"]
      }
    },
    "abis": [
      "armeabi-v7a",
      "arm64-v8a",
      "x86",
      "x86_64"
    ],
    "api-minimum": 21,
    "api-target": 35,
    "ndk-minimum": 28,
    "aar-files": {
      "": [
        "build-scripts/pkg-support/android/aar/__main__.py.in:__main__.py",
        "build-scripts/pkg-support/android/aar/description.json.in:description.json"
      ],
      "META-INF": [
        "LICENSE.txt"
      ],
      "cmake": [
        "cmake/sdlcpu.cmake",
        "build-scripts/pkg-support/android/aar/cmake/SDL3_imageConfig.cmake",
        "build-scripts/pkg-support/android/aar/cmake/SDL3_imageConfigVersion.cmake.in:SDL3_imageConfigVersion.cmake"
      ]
    },
    "files": {
      "": [
        "build-scripts/pkg-support/android/INSTALL.md.in:INSTALL.md",
        "LICENSE.txt",
        "README.md"
      ]
    },
    "dependencies": {
      "SDL": {
        "artifact": "SDL3-devel-*-android.zip"
      }
    }
  }
}
