The attached patch applied over current ebuild cleans it up a little bit. It adds a xosd useflag to disable forced dependency on xosd library (uses autoconf cache trick to get it). It fixes the doc useflags, making the dependency on doxygen a buildtime dependency, not a runtime one, and also uses the autoconf cache trick to disable generation of documentation. It changes from ` ` to $( ), also if it's not a clean way to render it in a patch. It adds || die on make install which should be better It adds ogg/vorbis flag separations (also if -ogg +vorbis can't be done), and allow to disable (for example) oggflac support (but this could need more work, as it doesn't allow to disable it without disable vorbis, anyway, a little better than now where you can't disable it). It was done on an older revision of ebuild as you can see, as I forgot to submit the first change (xosd), but the only change (CPPFLAGS) shouldn't be necessary now, as /usr/X11R6 is now a link to /usr . HTH, Diego
Created attachment 51728 [details, diff] Patch over current ebuild.
patch applied tp a new revision, thanks.