mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
f49e6846b3
Fixes https://github.com/microsoft/vcpkg/issues/39079 - [X] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [X] SHA512s are updated for each updated download. - [ ] ~~The "supports" clause reflects platforms that may be fixed by this new version.~~ - [ ] ~~Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.~~ - [ ] ~~Any patches that are no longer applied are deleted from the port's directory.~~ - [X] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [X] Only one version is added to each modified port's versions file. Usage test pass with following triplets: ``` x64-windows x64-windows-static ```
69 lines
1.5 KiB
JSON
69 lines
1.5 KiB
JSON
{
|
|
"name": "sdl2",
|
|
"version": "2.30.3",
|
|
"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.",
|
|
"homepage": "https://www.libsdl.org/download-2.0.php",
|
|
"license": "Zlib",
|
|
"dependencies": [
|
|
{
|
|
"name": "dbus",
|
|
"default-features": false,
|
|
"platform": "linux"
|
|
},
|
|
{
|
|
"name": "vcpkg-cmake",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "vcpkg-cmake-config",
|
|
"host": true
|
|
}
|
|
],
|
|
"default-features": [
|
|
{
|
|
"name": "ibus",
|
|
"platform": "linux"
|
|
},
|
|
{
|
|
"name": "wayland",
|
|
"platform": "linux"
|
|
},
|
|
{
|
|
"name": "x11",
|
|
"platform": "linux"
|
|
}
|
|
],
|
|
"features": {
|
|
"alsa": {
|
|
"description": "Support for alsa audio",
|
|
"dependencies": [
|
|
{
|
|
"name": "alsa",
|
|
"platform": "linux"
|
|
}
|
|
]
|
|
},
|
|
"ibus": {
|
|
"description": "Build with ibus IME support",
|
|
"supports": "linux"
|
|
},
|
|
"samplerate": {
|
|
"description": "Use libsamplerate for audio rate conversion",
|
|
"dependencies": [
|
|
"libsamplerate"
|
|
]
|
|
},
|
|
"vulkan": {
|
|
"description": "Vulkan functionality for SDL"
|
|
},
|
|
"wayland": {
|
|
"description": "Build with Wayland support",
|
|
"supports": "linux"
|
|
},
|
|
"x11": {
|
|
"description": "Build with X11 support",
|
|
"supports": "!windows"
|
|
}
|
|
}
|
|
}
|