audacious-plugins: use SDL3

This commit is contained in:
Mohamed Akram
2025-10-26 13:42:54 +04:00
parent b102fa2408
commit e4f20714f7
+5 -13
View File
@@ -8,7 +8,7 @@ name audacious-plugins
# Please keep audacious, audacious-core and audacious-plugins synchronized.
version 4.5.1
revision 1
revision 2
# FIXME: probably more licenses involved here...
license BSD GPL-2+
@@ -270,7 +270,7 @@ variant bs2b description {Add support for Bauer stereophonic-to-binaural} {
-Dbs2b=true
}
variant ffmpeg conflicts sdl1 description {Add support for decoding audio streams via ffmpeg} {
variant ffmpeg description {Add support for decoding audio streams via ffmpeg} {
set ffmpeg_ver 8
depends_lib-append port:ffmpeg${ffmpeg_ver}
configure.pkg_config_path-append \
@@ -367,14 +367,8 @@ variant vumeter description {Add support for VU meter visualization} {
-Dvumeter=true
}
variant sdl1 conflicts sdl2 ffmpeg description {Add SDL audio output via libsdl1} {
depends_lib-append port:libsdl
configure.args-replace -Dsdlout=false \
-Dsdlout=true
}
variant sdl2 conflicts sdl1 description {Add SDL audio output via libsdl2} {
depends_lib-append port:libsdl2
variant sdl3 description {Add SDL audio output via SDL3} {
depends_lib-append port:SDL3
configure.args-replace -Dsdlout=false \
-Dsdlout=true
}
@@ -443,9 +437,7 @@ if {[variant_isset jack]} {
}
}
if {![variant_isset sdl1]} {
default_variants-append +sdl2 +ffmpeg
}
default_variants-append +sdl3 +ffmpeg
# Need either one of gtk2, gtk3, Qt5 or Qt6 to have a GUI.
# Default to qt6, which is preferred by upstream.