mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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 <ionen@gentoo.org>
This commit is contained in:
@@ -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}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user