Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831041 - games-strategy/ufoai: no sound and music
Summary: games-strategy/ufoai: no sound and music
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-12 00:39 UTC by Vit
Modified: 2024-09-28 19:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
No sound and music at binary execution (emerge--info.txt,5.56 KB, text/plain)
2022-01-12 00:39 UTC, Vit
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)