public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Oliver Freyermuth" <o.freyermuth@googlemail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/jwt-cpp/
Date: Sat, 26 Feb 2022 18:06:31 +0000 (UTC)	[thread overview]
Message-ID: <1645898788.77fbcd6c6801d575129bf869681102776c72e280.freyermuth@gentoo> (raw)

commit:     77fbcd6c6801d575129bf869681102776c72e280
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Sat Feb 26 18:06:28 2022 +0000
Commit:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
CommitDate: Sat Feb 26 18:06:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=77fbcd6c

dev-cpp/jwt-cpp: Fix docs generation and installation.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>

 dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild b/dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild
index 5dfa4fd92..f877455f8 100644
--- a/dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild
+++ b/dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild
@@ -24,9 +24,10 @@ IUSE="doc +picojson test"
 DEPEND="${RDEPEND}
 	dev-cpp/nlohmann_json
 	dev-libs/openssl
-	picojson? ( dev-cpp/picojson )
-	doc? ( app-doc/doxygen[dot] )"
+	picojson? ( dev-cpp/picojson )"
+BDEPEND="doc? ( app-doc/doxygen[dot] )"
 RESTRICT="!picojson? ( test )"
+DOCS=( README.md docs/{faqs,ssl,traits}.md )
 
 src_prepare() {
 	# Unbundle dev-cpp/nlohmann_json.
@@ -53,6 +54,19 @@ src_configure() {
 	cmake_src_configure
 }
 
+src_compile() {
+	cmake_src_compile
+	if use doc; then
+		doxygen || die
+	fi
+}
+
+src_install() {
+	cmake_src_install
+	use doc && local HTML_DOCS=(doxy/html/.)
+	einstalldocs
+}
+
 src_test() {
 	"${BUILD_DIR}"/tests/jwt-cpp-test || die
 }


             reply	other threads:[~2022-02-26 18:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-26 18:06 Oliver Freyermuth [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-09  8:32 [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/jwt-cpp/ Oliver Freyermuth
2022-03-08  8:17 Oliver Freyermuth
2022-03-05 16:40 Oliver Freyermuth
2022-02-27 14:28 Oliver Freyermuth
2022-02-26 18:37 Oliver Freyermuth
2022-02-26 17:52 Oliver Freyermuth
2022-02-26 17:41 Oliver Freyermuth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1645898788.77fbcd6c6801d575129bf869681102776c72e280.freyermuth@gentoo \
    --to=o.freyermuth@googlemail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox