I'm not sure why timidity-eawpatches depends on rar and downloads a rar file, but I'm guessing a tarball wasn't previously availible. On the page for the patches they provide 2 mirrors to get a tarball of them. Using these instead of the rar file would remove the need for rar as a dependency. http://madchat.org/music/eawpats12_full.tar.gz http://5hdumat.samizdat.net/music/eawpats12_full.tar.gz
Created attachment 9641 [details] an ebuild no diff file is needed in this ebuild as I use sed to edit the file. It has no dependency on unrar and downloads the tarball instead. The tarball has 2 timidity.cfg files. One in a directory named winconfig and one in linuxconfig. They're essentially the same except the winconfig one (the current ebuild uses one similar to this) has a bunch of commented stuff. This uses the linuxconfig timidity.cfg and installs it to the correct spot, then it removes the linuxconfig and winconfig directories.
Commited as r2 (~x86 masked) Let me know if there are any issues. Thanks for the submission.
I played a few midis and 2 games that use midi. One plays through the timidity alsaseq interface (duke3d through dosemu) and the other uses the patches through sdl (prboom.) All worked fine for me.