mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 13:54:46 +08:00
[sdl2] Add feature alsa (#34311)
This commit is contained in:
parent
5e8067541b
commit
48b883fb2b
@ -15,11 +15,15 @@ string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" FORCE_STATIC_VCRT)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
vulkan SDL_VULKAN
|
||||
x11 SDL_X11
|
||||
wayland SDL_WAYLAND
|
||||
samplerate SDL_LIBSAMPLERATE
|
||||
alsa SDL_ALSA
|
||||
alsa CMAKE_REQUIRE_FIND_PACKAGE_ALSA
|
||||
ibus SDL_IBUS
|
||||
samplerate SDL_LIBSAMPLERATE
|
||||
vulkan SDL_VULKAN
|
||||
wayland SDL_WAYLAND
|
||||
x11 SDL_X11
|
||||
INVERTED_FEATURES
|
||||
alsa CMAKE_DISABLE_FIND_PACKAGE_ALSA
|
||||
)
|
||||
|
||||
if ("x11" IN_LIST FEATURES)
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "sdl2",
|
||||
"version": "2.28.4",
|
||||
"port-version": 1,
|
||||
"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",
|
||||
@ -22,6 +23,15 @@
|
||||
"base"
|
||||
],
|
||||
"features": {
|
||||
"alsa": {
|
||||
"description": "Support for alsa audio",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "alsa",
|
||||
"platform": "linux"
|
||||
}
|
||||
]
|
||||
},
|
||||
"base": {
|
||||
"description": "Base functionality for SDL",
|
||||
"dependencies": [
|
||||
|
@ -7578,7 +7578,7 @@
|
||||
},
|
||||
"sdl2": {
|
||||
"baseline": "2.28.4",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"sdl2-gfx": {
|
||||
"baseline": "1.0.4",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "3d625914314454b36d303ce86753840f6193f2bd",
|
||||
"version": "2.28.4",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "289db88c23499b30e20bf972b2e1e68c093e5dea",
|
||||
"version": "2.28.4",
|
||||
|
Loading…
x
Reference in New Issue
Block a user