There has an sdl patch been written which allows you to use alsa for enemy territory. It should be made available by USE="sdl" http://nullkey.ath.cx/~stuff/et-sdl-sound/ unfortunately, I'm a horrible ebuild writer but if there is no ebuild uploaded until I get home, I'll try to write one myself. Reproducible: Always Steps to Reproduce:
Created attachment 162186 [details] media-libs/et-sdl-sound-29 I decided to use a seperate ebuild for et-sdl-sound for three reasons: 1. et-sdl-sound can be used for quake3-bin, enemy-territory and rtcw 2. a seperate ebuild makes upgrading to later Versions much easier 3. the change to the game's ebuild is smaller
Created attachment 162187 [details] games-fps/enemy-territory-2.60b The changed ebuild of enemy territory
Created attachment 162188 [details] files/et startscript for use with sdl sound
oops, I got it working because I still had libSDL.so manually copied to my /opt/enemy-territory. I'm gonna fix it...
Created attachment 162195 [details] media-libs/et-sdl-sound-29 Stupid mistake, I forgot to change to 32bit mode. The package itself is compiled for 32bit anyway but the libdir isn't changed to lib32. Sorry for insufficient testing. It's working properly on amd64 now, please test on x86 :)
Created attachment 256991 [details] et-sdl-sound-29.ebuild Here's a cleaner ebuild that makes repoman happier. I tried it with RTCW and it worked but I also had to specify SDL_AUDIODRIVER=pulse to make it go through PulseAudio, otherwise it was either far too loud or didn't work at all. PulseAudio is the only driver I have SDL built with but that's on the 64-bit side. For 32-bit stuff, you need to be specific.
Oh and I was going to mention that this hopefully won't be necessary for very much longer with iortcw in the works.
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4203956ca175dab36cde87b104806e09410f7fbd commit 4203956ca175dab36cde87b104806e09410f7fbd Author: Aaron Bauman <bman@gentoo.org> AuthorDate: 2019-12-08 21:26:36 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2019-12-08 21:27:54 +0000 games-fps/{enemy-territory,rtcw}: drop vulnerable pkgs Closes: https://bugs.gentoo.org/135645 Signed-off-by: Aaron Bauman <bman@gentoo.org>