Improvements are: 1. RDEPEND="${DEPEND}" because default RDEPEND is deprecated 2. almost all use flags supported by upstream (opengl, net, sound) 3. pkg_postinst message fixed. It said "doom.wad is the full Doom 1 set of 3 episodes (or 4 in the Final Doom wad)." but this is wrong. Final Doom has two wads: tnt.wad(Final Doom: TNT Evilution) and plutonia.wad(Final Doom: Plutonia experiment) while the version of doom.wad with 4 episodes is called the Ultimate Doom. I did no tests but building prboom with various USE and playing. It seems to give out no errors. Reproducible: Always
Created attachment 238599 [details] Improved ebuild.
Sorry. Just now I discovered it requires SDL_net even if built without it and has sound even without sound use flag. So I revert canges to USE flags and leave just small fixes.
Created attachment 238861 [details] Previous ebuild without USE flags.
For some reason, building with i386-asm causes prboom to dump out after few seconds with I_SignalHandler: Exiting on signal: signal 8 so I would recommend that $(use_enable x86 i386-asm) be replaced with --disable-i386-asm in the ebuild, as this fixes the problem. Either that, or make a useflag to disable it; though it seems that on modern hardware that assembly is hardly needed to get good performance these days. The problem seems to be related to the bug posted here (and this comment has a backtrace & analysis): https://bugs.launchpad.net/ubuntu/+source/prboom/+bug/375498/comments/17 My system is a Pentium-M based laptop (a Thinkpad T42 to be exact); I can post my emerge --info if it will help. :-)
updated the comment. thanks for the bug report.