I didn't want any sound support in gaim, so I checked the configure script and found that the --disable-audio option was fitting my needs. Then I added a local flag called libao because it's the name of the sound library. I don't know how local flags are supposed to be managed, so it's more a draft than a release version of the ebuild. Reproducible: Always Steps to Reproduce:
Created attachment 31964 [details] gaim-0.77-r3.ebuild
I think I'll just use the already local flag 'noaudio' that libsdl is using. I'll get to this in the afternoon.
Committed to portage as part of 0.77-r2. Not bumping revision for this.