mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 14:05:45 -04:00
FrontendCommon: Drop SDL2 audio output
This commit is contained in:
@ -25,6 +25,7 @@ if(NOT ANDROID)
|
||||
option(BUILD_NOGUI_FRONTEND "Build the NoGUI frontend" ON)
|
||||
option(BUILD_QT_FRONTEND "Build the Qt frontend" ON)
|
||||
option(BUILD_REGTEST "Build regression test runner" OFF)
|
||||
option(ENABLE_CUBEB "Build with Cubeb audio output" ON)
|
||||
option(ENABLE_OPENGL "Build with OpenGL renderer" ON)
|
||||
option(ENABLE_VULKAN "Build with Vulkan renderer" ON)
|
||||
option(ENABLE_DISCORD_PRESENCE "Build with Discord Rich Presence support" ON)
|
||||
@ -55,31 +56,17 @@ if(USE_WAYLAND)
|
||||
endif()
|
||||
|
||||
if(ANDROID)
|
||||
if(BUILD_NOGUI_FRONTEND)
|
||||
message(WARNING "Building for Android, disabling NoGUI frontend")
|
||||
set(BUILD_NOGUI_FRONTEND OFF)
|
||||
endif()
|
||||
if(BUILD_QT_FRONTEND)
|
||||
message(WARNING "Building for Android, disabling Qt frontend")
|
||||
set(BUILD_QT_FRONTEND OFF)
|
||||
endif()
|
||||
if(ENABLE_DISCORD_PRESENCE)
|
||||
message("Building for Android, disabling Discord Presence support")
|
||||
set(ENABLE_DISCORD_PRESENCE OFF)
|
||||
endif()
|
||||
if(USE_SDL2)
|
||||
message("Building for Android, disabling SDL2 support")
|
||||
set(USE_SDL2 OFF)
|
||||
endif()
|
||||
if(USE_X11)
|
||||
set(USE_X11 OFF)
|
||||
endif()
|
||||
if(USE_WAYLAND)
|
||||
set(USE_WAYLAND OFF)
|
||||
endif()
|
||||
|
||||
# Cheevos are always on.
|
||||
set(BUILD_NOGUI_FRONTEND OFF)
|
||||
set(BUILD_QT_FRONTEND OFF)
|
||||
set(BUILD_REGTEST OFF)
|
||||
set(ENABLE_CUBEB OFF)
|
||||
set(ENABLE_OPENGL ON)
|
||||
set(ENABLE_VULKAN ON)
|
||||
set(ENABLE_DISCORD_PRESENCE OFF)
|
||||
set(ENABLE_CHEEVOS ON)
|
||||
set(USE_SDL2 OFF)
|
||||
set(USE_X11 OFF)
|
||||
set(USE_WAYLAND OFF)
|
||||
endif()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user