The ALSA Project moved to git a while back. All the live ebuilds currently in portage still use the old mercurial tree which does not get updated anymore. I started hacking on the alsa-driver-9999 ebuild but the current git eclass is not well situated for the task. My patch is still ugly and buggy... and I am currently short on time, so I cannot work on it for some time. Sorry. I have set the severity of this bug to major because users wrongfully assume that they get the latest alsa stuff while they just get some outdated repository. Reproducible: Always Steps to Reproduce:
Created attachment 161768 [details] alsa-driver git crutch pretty ugly, but may have some use
I think the problem is "you can't do partial clones in git". That makes some of the live ebuilds insane. I edited alsa-headers-9999 ebuild to use git. It downloads 460mb whole alsa-kernel. Can't download only the 25mb includes dir. Someone smarter is needed. :)
Created attachment 186785 [details] Live git ebuild for alsa-headers Here is my version using the alsa-kmirror git repository (shared with the driver ebuild). Seems to work fine.
Created attachment 186787 [details] Live git ebuild for alsa-driver This one is different from Sergey's version in that it avoids moving the kernel directory back and forth and just asks git.eclass to checkout into the right place. This approach looks a bit cleaner to me.
*** Bug 271901 has been marked as a duplicate of this bug. ***
Thanks guys, they look good. In CVS