This patch installs the API documentation for alsa-lib if USE=doc. Reproducible: Always Steps to Reproduce:
Grr, bugzilla's not letting me upload attachments atm . . . --- /usr/portage/media-libs/alsa-lib/alsa-lib-1.0.5.ebuild 2004-07-24 15:07:43.000000000 +0930 +++ /usr/local/portage/media-libs/alsa-lib/alsa-lib-1.0.5.ebuild 2004-11-12 08:38:19.000000000 +1030 @@ -11,12 +11,13 @@ KEYWORDS="x86 ppc ~alpha amd64 -sparc ~ia64 ppc64" LICENSE="GPL-2 LGPL-2.1" -IUSE="static jack" +IUSE="static jack doc" RDEPEND="virtual/libc" DEPEND=">=sys-devel/automake-1.7.2 - >=sys-devel/autoconf-2.57-r1" + >=sys-devel/autoconf-2.57-r1 + doc? ( >=app-doc/doxygen-1.2.6 )" PDEPEND="!ppc? ( jack? ( =media-plugins/alsa-jack-${PV}* ) )" @@ -45,6 +46,7 @@ econf --enable-static=no --enable-shared=yes || die emake || die + use doc && emake doc || die # Can't do both according to alsa docs and bug #48233 if use static; then @@ -65,6 +67,7 @@ #fixes the problem (fingers crossed) dosym /usr/lib/libasound.so.2 /usr/lib/libasound.so.1 dodoc ChangeLog COPYING TODO + use doc && dohtml -r doc/doxygen/html/* if use static; then cd ${S}.static
this is in 1.0.7 now... thanks...