mirror of https://github.com/microsoft/vcpkg.git
[sdl3] Make dbus dependency optional (#50468)
Co-authored-by: Timothy Pearson <tpearson@raptorcs.com>
This commit is contained in:
parent
3fd19d5f6c
commit
4da8ab8ef9
|
|
@ -15,6 +15,7 @@ string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" FORCE_STATIC_VCRT)
|
|||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
alsa SDL_ALSA
|
||||
dbus SDL_DBUS
|
||||
ibus SDL_IBUS
|
||||
vulkan SDL_VULKAN
|
||||
wayland SDL_WAYLAND
|
||||
|
|
|
|||
|
|
@ -1,16 +1,12 @@
|
|||
{
|
||||
"name": "sdl3",
|
||||
"version": "3.4.2",
|
||||
"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",
|
||||
"license": "Zlib AND MIT AND Apache-2.0",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "dbus",
|
||||
"default-features": false,
|
||||
"platform": "linux"
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
|
|
@ -44,6 +40,16 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"dbus": {
|
||||
"description": "Build with D-Bus support",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "dbus",
|
||||
"default-features": false,
|
||||
"platform": "linux"
|
||||
}
|
||||
]
|
||||
},
|
||||
"emscripten-pthreads": {
|
||||
"description": "Build Emscripten pthreads support",
|
||||
"supports": "emscripten"
|
||||
|
|
|
|||
|
|
@ -1359,7 +1359,7 @@ sdl2-mixer-ext:arm64-linux=cascade
|
|||
sdl2-net:arm64-linux=cascade
|
||||
sdl2-ttf:arm64-linux=cascade
|
||||
sdl2pp:arm64-linux=cascade
|
||||
sdl3:arm64-linux=cascade
|
||||
sdl3[dbus]:arm64-linux=cascade
|
||||
sdl3-image:arm64-linux=cascade
|
||||
sdl3-shadercross((!windows | arm32 | uwp | xbox) & (!linux | !x64))=cascade
|
||||
sdl3-ttf:arm64-linux=cascade
|
||||
|
|
|
|||
|
|
@ -8978,7 +8978,7 @@
|
|||
},
|
||||
"sdl3": {
|
||||
"baseline": "3.4.2",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"sdl3-image": {
|
||||
"baseline": "3.4.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "03a5817f59c402809823b884830132bc9c8d6fd4",
|
||||
"version": "3.4.2",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "fed2a405770d3ac4416e972ea31f0476e6ac23dd",
|
||||
"version": "3.4.2",
|
||||
|
|
|
|||
Loading…
Reference in New Issue