Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228881 - use sdl sound for games-fps/enemy-territory
Summary: use sdl sound for games-fps/enemy-territory
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-22 11:59 UTC by Malte E.
Modified: 2019-12-09 05:37 UTC (History)
2 users (show)

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


Attachments
media-libs/et-sdl-sound-29 (et-sdl-sound-29.ebuild,807 bytes, text/plain)
2008-08-04 12:21 UTC, Malte E.
Details
games-fps/enemy-territory-2.60b (enemy-territory-2.60b.ebuild,3.73 KB, text/plain)
2008-08-04 12:25 UTC, Malte E.
Details
files/et (et,388 bytes, text/plain)
2008-08-04 12:28 UTC, Malte E.
Details
media-libs/et-sdl-sound-29 (et-sdl-sound-29.ebuild,850 bytes, text/plain)
2008-08-04 13:49 UTC, Malte E.
Details
et-sdl-sound-29.ebuild (et-sdl-sound-29.ebuild,779 bytes, text/plain)
2010-12-12 23:21 UTC, James Le Cuirot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Malte E. 2008-06-22 11:59:58 UTC
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:
Comment 1 Malte E. 2008-08-04 12:21:35 UTC
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
Comment 2 Malte E. 2008-08-04 12:25:02 UTC
Created attachment 162187 [details]
games-fps/enemy-territory-2.60b

The changed ebuild of enemy territory
Comment 3 Malte E. 2008-08-04 12:28:36 UTC
Created attachment 162188 [details]
files/et

startscript for use with sdl sound
Comment 4 Malte E. 2008-08-04 13:21:20 UTC
oops, I got it working because I still had libSDL.so manually copied to my /opt/enemy-territory. I'm gonna fix it...
Comment 5 Malte E. 2008-08-04 13:49:16 UTC
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 :)
Comment 6 James Le Cuirot gentoo-dev 2010-12-12 23:21:37 UTC
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.
Comment 7 James Le Cuirot gentoo-dev 2010-12-12 23:22:31 UTC
Oh and I was going to mention that this hopefully won't be necessary for very much longer with iortcw in the works.
Comment 8 Arfrever Frehtes Taifersar Arahesis 2019-12-09 05:37:50 UTC
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>