{
  "name": "sdl2",
  "href": "https://vcpkg.link/ports/sdl2",
  "supports": "all",
  "published_at": "2026-06-05T15:16:29.000Z",
  "is_deprecated": false,
  "is_featured": false,
  "documentation_href": null,
  "homepage_href": "https://www.libsdl.org/download-2.0.php",
  "description": [
    "Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D."
  ],
  "license": "Zlib",
  "version": {
    "type": "semver",
    "value": "2.32.10",
    "port": 1
  },
  "commit": {
    "tree_href": "https://github.com/microsoft/vcpkg/tree/a68ebb78c315192c5bc76772b2c64a08d4df5aa3/ports/sdl2",
    "hash": "a68ebb78c315192c5bc76772b2c64a08d4df5aa3"
  },
  "repository": {
    "type": "github",
    "href": "https://github.com/libsdl-org/SDL",
    "stars": 16547
  },
  "dependencies": [
    {
      "name": "vcpkg-cmake",
      "href": "https://vcpkg.link/ports/vcpkg-cmake",
      "is_host": true,
      "with_default_features": true,
      "version_constraint": null,
      "platform": "all"
    },
    {
      "name": "vcpkg-cmake-config",
      "href": "https://vcpkg.link/ports/vcpkg-cmake-config",
      "is_host": true,
      "with_default_features": true,
      "version_constraint": null,
      "platform": "all"
    }
  ],
  "dev_dependencies": [],
  "features": [
    {
      "name": "alsa",
      "default": [],
      "description": [
        "Support for alsa audio"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "alsa",
          "href": "https://vcpkg.link/ports/alsa",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "dbus",
      "default": [
        {
          "raw": "linux",
          "expression": {
            "type": "node",
            "value": "linux"
          }
        }
      ],
      "description": [
        "Build with D-Bus support"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "dbus",
          "href": "https://vcpkg.link/ports/dbus",
          "is_host": false,
          "with_default_features": false,
          "version_constraint": null,
          "platform": "linux"
        }
      ]
    },
    {
      "name": "ibus",
      "default": [
        {
          "raw": "linux",
          "expression": {
            "type": "node",
            "value": "linux"
          }
        }
      ],
      "description": [
        "Build with ibus IME support"
      ],
      "supports": "linux",
      "dependencies": []
    },
    {
      "name": "samplerate",
      "default": [],
      "description": [
        "Use libsamplerate for audio rate conversion"
      ],
      "supports": "all",
      "dependencies": [
        {
          "name": "libsamplerate",
          "href": "https://vcpkg.link/ports/libsamplerate",
          "is_host": false,
          "with_default_features": true,
          "version_constraint": null,
          "platform": "all"
        }
      ]
    },
    {
      "name": "vulkan",
      "default": [],
      "description": [
        "Vulkan functionality for SDL"
      ],
      "supports": "all",
      "dependencies": []
    },
    {
      "name": "wayland",
      "default": [
        {
          "raw": "linux",
          "expression": {
            "type": "node",
            "value": "linux"
          }
        }
      ],
      "description": [
        "Build with Wayland support"
      ],
      "supports": "linux",
      "dependencies": []
    },
    {
      "name": "x11",
      "default": [
        {
          "raw": "linux",
          "expression": {
            "type": "node",
            "value": "linux"
          }
        }
      ],
      "description": [
        "Build with X11 support"
      ],
      "supports": "!windows",
      "dependencies": []
    }
  ]
}