From 474af7feb9ad4edfec1300e87cb7d6846cca4ed1 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 8 Apr 2025 10:32:33 -0400 Subject: [PATCH] media-libs/libsdl2: add pulse/pipewire IUSE to sdl2-compat for now Missed that a package depends on libsdl2[pipewire], albeit it sounds questionable. Ideally would want to remove all the audio IUSE. pulse is not requested by anything, but it could confuse users if it is missing when there is other audio USE. Not going as far as adding things like oss or sndio (note that they are usable regardless). Signed-off-by: Ionen Wolkens --- media-libs/libsdl2/libsdl2-2.32.54.ebuild | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/media-libs/libsdl2/libsdl2-2.32.54.ebuild b/media-libs/libsdl2/libsdl2-2.32.54.ebuild index f1c81711ff4e8..5bd93727613b8 100644 --- a/media-libs/libsdl2/libsdl2-2.32.54.ebuild +++ b/media-libs/libsdl2/libsdl2-2.32.54.ebuild @@ -15,22 +15,25 @@ SLOT="0" # unkeyworded for testing #KEYWORDS="~amd64" # this skips most non-compat libsdl2 former IUSE that are not used by revdeps, -# albeit reason that some depend on 'alsa' for should probably be reviewed -# (static-libs left out because it is useless for the app-emulation/qemu -# use case given static sdl2-compat dlopens the shared libsdl3 anyway) +# albeit it is questionable that some depend on audio alsa/pipewire (note that +# static-libs is left out because it is useless for static-only builds given +# it will dlopen the shared libsdl3 anyway) # # TODO: either update revdeps to have (+) on no-op IUSE (haptic, joystick, # sound, and video) then cleanup, or don't for less overlay issues and instead # force in profiles to avoid unnecessary rebuilds -- not forced right now given # >=2.32.50 would force for a potential future non-compat 2.34.0 fwiw -IUSE="X alsa gles2 +haptic +joystick kms opengl +sound test +video vulkan wayland" +IUSE=" + X alsa gles2 +haptic +joystick kms opengl pipewire pulseaudio + +sound test +video vulkan wayland +" REQUIRED_USE="gles2? ( opengl )" RESTRICT="!test? ( test )" # libsdl3 is dlopen'ed and USE at build time should not matter, it enables # everything but will not work without libsdl3 support at runtime RDEPEND=" - media-libs/libsdl3[X?,alsa?,opengl?,vulkan?,wayland?,${MULTILIB_USEDEP}] + media-libs/libsdl3[X?,alsa?,opengl?,pipewire?,pulseaudio?,vulkan?,wayland?,${MULTILIB_USEDEP}] " DEPEND="${RDEPEND}"