Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 831041

Summary: games-strategy/ufoai: no sound and music
Product: Gentoo Linux Reporter: Vit <vitalij>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: No sound and music at binary execution

Description Vit 2022-01-12 00:39:08 UTC
Created attachment 761939 [details]
No sound and music at binary execution

The solution is to add vorbis USE flag to media-libs/sdl2-mixer.


Here is Error at STDERR after $ ufo

------- sound initialization -------
SDL_mixer version: 2.0.4
... requested audio rate: 48000
... available audio driver alsa
... available audio driver disk
... available audio driver dummy
... actual audio driver: alsa
... audio rate: 48000
... audio channels: 2
could not load ogg vorbis support - sound initialization failed


Pull request: 23748

https://github.com/gentoo/gentoo/pull/23748
Comment 1 Vit 2022-01-12 00:40:59 UTC
ALSA audio system
Comment 2 Larry the Git Cow gentoo-dev 2024-09-28 19:04:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4951b8f659e63b6607122d3461718897dd60d075

commit 4951b8f659e63b6607122d3461718897dd60d075
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2024-09-28 19:01:05 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2024-09-28 19:03:38 +0000

    games-strategy/ufoai: Fix music dependency with media-libs/sdl2-mixer[vorbis]
    
    Closes: https://bugs.gentoo.org/831041
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-strategy/ufoai/ufoai-2.5.0_p20180603-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)