Gentoo Archives: gentoo-commits

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/clsync-docs/
Date: Wed, 06 May 2020 16:25:30
Message-Id: 1588782303.a57f0605c9455581021ef8b52bd8029c46802132.bircoph@gentoo
1 commit: a57f0605c9455581021ef8b52bd8029c46802132
2 Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 6 16:11:53 2020 +0000
4 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
5 CommitDate: Wed May 6 16:25:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a57f0605
7
8 app-doc/clsync-docs: require doxygen with dot support
9
10 Doxygen must be built with dot support, otherwise dependency graphs
11 will not be built and API documentation will be incomplete.
12
13 Package-Manager: Portage-2.3.82, Repoman-2.3.20
14 Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
15
16 app-doc/clsync-docs/clsync-docs-0.4.4-r1.ebuild | 39 +++++++++++++++++++++++++
17 1 file changed, 39 insertions(+)
18
19 diff --git a/app-doc/clsync-docs/clsync-docs-0.4.4-r1.ebuild b/app-doc/clsync-docs/clsync-docs-0.4.4-r1.ebuild
20 new file mode 100644
21 index 00000000000..f7465d6bf3b
22 --- /dev/null
23 +++ b/app-doc/clsync-docs/clsync-docs-0.4.4-r1.ebuild
24 @@ -0,0 +1,39 @@
25 +# Copyright 1999-2020 Gentoo Authors
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +EAPI=7
29 +
30 +MY_PN="${PN%-docs}"
31 +MY_P="${MY_PN}-${PV}"
32 +
33 +SRC_URI="https://github.com/clsync/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
34 +KEYWORDS="~amd64 ~x86"
35 +S="${WORKDIR}/${MY_P}"
36 +
37 +DESCRIPTION="Clsync and libclsync API documentation"
38 +HOMEPAGE="http://ut.mephi.ru/oss/clsync https://github.com/clsync/clsync"
39 +LICENSE="GPL-3+"
40 +SLOT="0"
41 +IUSE="api +examples"
42 +
43 +BDEPEND="api? ( app-doc/doxygen[dot] )"
44 +
45 +src_configure() {
46 + : # doxygen doesn't depend on configuration
47 +}
48 +
49 +src_compile() {
50 + if use api; then
51 + doxygen .doxygen || die "doxygen failed"
52 + fi
53 +}
54 +
55 +src_install() {
56 + dodoc CONTRIB DEVELOPING NOTES PROTOCOL README.md SHORTHANDS TODO
57 + if use api; then
58 + dodoc -r doc/doxygen/html doc/devel/*
59 + fi
60 + if use examples; then
61 + dodoc -r examples
62 + fi
63 +}