vcpkg/ports/sdl2-mixer/vcpkg.json
Pierre Wendling 785cbdb8ba
[sdl2-mixer] Bump to 2.6.3 (#29487)
* [sdl2-mixer] Bump to version 2.6.3

* [sdl2-mixer] Fix findFluidSynth on windows-static.

* [sdl2-mixer] vcpkg_minimum_required is not needed

* [sdl2-mixer] Control SDL2MIXER_MOD with libmodplug

If SDL2MIXER_MOD is left on when no backend is availble, CMake issues a
warning.

* [sdl2-mixer] Turn off SDL2MIXER_DEPS_SHARED

Similar issue to #28137. SDL2MIXER_OPUS_SHARED and
SDL2MIXER_VORBIS_VORBISFILE_SHARED need to be manually
turned off as they are unconditionally turned on.

* [sdl2-mixer] Set the correct vorbis backend.

Even when SDL2MIXER_VORBIS_VORBISFILE was set to ON, stb_vorbis would be
used as the default backend.

* [sdl2-mixer] Use vcpkg_install_copyright

* [sdl2-mixer] Ensure flac and mpg123 are selected.

Turn off header-only libraries when the features are selected.

* [sdl2-mixer] Patch missing call to find_dependency

This is fixed upstream but has not been included in the 2.6.x branch.

* [sdl2-mixer] Fix dependency linking.

- The FLAC target is an upstream patch.
- VCPKG's opusfile port is static-only, meaning Opus and Ogg needs to be
linked explicitly.

* [sdl2-mixer] Update baseline.

---------

Co-authored-by: MonicaLiu <v-liumonica@microsoft.com>
2023-02-10 11:17:29 -08:00

63 lines
1.4 KiB
JSON

{
"name": "sdl2-mixer",
"version": "2.6.3",
"description": "Multi-channel audio mixer library for SDL.",
"homepage": "https://github.com/libsdl-org/SDL_mixer",
"license": "Zlib",
"dependencies": [
"sdl2",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"default-features": [
"nativemidi"
],
"features": {
"fluidsynth": {
"description": "Use FluidSynth to play MIDI audio format.",
"dependencies": [
"fluidsynth"
]
},
"libflac": {
"description": "Use libflac to play FLAC audio format instead of the built-in dr_flac.",
"dependencies": [
"libflac"
]
},
"libmodplug": {
"description": "Support for MOD audio format using libmodplug.",
"dependencies": [
"libmodplug"
]
},
"libvorbis": {
"description": "Use libvorbis to play OGG Vorbis audio format instead of the built-in stb_vorbis.",
"dependencies": [
"libvorbis"
]
},
"mpg123": {
"description": "Use mpg123 to play MP3 audio format instead of the built-in dr_mp3.",
"dependencies": [
"mpg123"
]
},
"nativemidi": {
"description": "Support for MIDI audio format on Windows and macOS."
},
"opusfile": {
"description": "Support for Opus audio format using opusfile.",
"dependencies": [
"opusfile"
]
}
}
}