Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70918 - [PATCH] install alsa-lib API docs
Summary: [PATCH] install alsa-lib API docs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-11 21:50 UTC by John Steele Scott
Modified: 2004-11-12 15:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Steele Scott 2004-11-11 21:50:13 UTC
This patch installs the API documentation for alsa-lib if USE=doc.

Reproducible: Always
Steps to Reproduce:
Comment 1 John Steele Scott 2004-11-11 21:56:20 UTC
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
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-12 15:02:32 UTC
this is in 1.0.7 now... thanks...