Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/drogon/
Date: Tue, 24 Aug 2021 15:01:57
Message-Id: 1629817128.bf98b7423b58b2f9680f61cab219b0cc20d50304.tastytea@gentoo
1 commit: bf98b7423b58b2f9680f61cab219b0cc20d50304
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Tue Aug 24 14:57:56 2021 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Tue Aug 24 14:58:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf98b742
7
8 dev-cpp/drogon: Add doxygen to dependencies.
9
10 And remove Doxygen from CMake recipe if USE="-doc".
11
12 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
13
14 dev-cpp/drogon/drogon-1.7.2.ebuild | 3 ++-
15 1 file changed, 2 insertions(+), 1 deletion(-)
16
17 diff --git a/dev-cpp/drogon/drogon-1.7.2.ebuild b/dev-cpp/drogon/drogon-1.7.2.ebuild
18 index 0362fa03a..ec44aac1b 100644
19 --- a/dev-cpp/drogon/drogon-1.7.2.ebuild
20 +++ b/dev-cpp/drogon/drogon-1.7.2.ebuild
21 @@ -29,8 +29,8 @@ RDEPEND="
22 DEPEND="
23 ${RDEPEND}
24 test? ( dev-cpp/gtest )
25 -
26 "
27 +BDEPEND="doc? ( app-doc/doxygen )"
28
29 DOCS=( CONTRIBUTING.md ChangeLog.md README.md README.zh-CN.md README.zh-TW.md )
30
31 @@ -40,6 +40,7 @@ src_prepare() {
32 lib/tests/CMakeLists.txt || die
33 use brotli || sed -i '/find_package(Brotli)/d' CMakeLists.txt || die
34 use ssl || sed -i '/find_package(OpenSSL)/d' CMakeLists.txt || die
35 + use doc || sed -i '/find_package(Doxygen/d' CMakeLists.txt || die
36
37 use examples && DOCS+=( "${S}/examples" )