public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/bibletime/
Date: Fri, 16 Sep 2022 10:30:50 +0000 (UTC)	[thread overview]
Message-ID: <1663324239.fcd2b1fd112eadb8125a624fa30e3d9b4e2ec2db.marecki@gentoo> (raw)

commit:     fcd2b1fd112eadb8125a624fa30e3d9b4e2ec2db
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 16 10:28:46 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Sep 16 10:30:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcd2b1fd

app-text/bibletime: add option to install offline documentation

All languages for now, with a discrepancy in language support between
the howto and the handbook making these selectable will need some effort
+ the generation overhead is fairly minimal.

Closes: https://bugs.gentoo.org/869875
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 ...bletime-3.0.3-r3.ebuild => bibletime-3.0.3-r4.ebuild} | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/app-text/bibletime/bibletime-3.0.3-r3.ebuild b/app-text/bibletime/bibletime-3.0.3-r4.ebuild
similarity index 72%
rename from app-text/bibletime/bibletime-3.0.3-r3.ebuild
rename to app-text/bibletime/bibletime-3.0.3-r4.ebuild
index 7c4cc4b09136..955de2fe3119 100644
--- a/app-text/bibletime/bibletime-3.0.3-r3.ebuild
+++ b/app-text/bibletime/bibletime-3.0.3-r4.ebuild
@@ -12,6 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+IUSE="doc"
 
 RDEPEND=">=app-text/sword-1.8.1[curl,icu]
 	dev-cpp/clucene
@@ -26,7 +27,13 @@ RDEPEND=">=app-text/sword-1.8.1[curl,icu]
 DEPEND="${RDEPEND}
 	dev-libs/boost
 	dev-qt/qttest:5"
-BDEPEND="dev-qt/linguist-tools:5"
+BDEPEND="dev-qt/linguist-tools:5
+	doc? (
+		app-text/docbook-xml-dtd
+		app-text/docbook-xsl-stylesheets
+		app-text/po4a
+		dev-libs/libxslt
+	)"
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-3.0.3-no_indirect_deps.patch
@@ -41,11 +48,14 @@ src_prepare() {
 		-i cmake/platforms/linux/bibletime.desktop.cmake || die "fixing .desktop file failed"
 }
 
+# TODO: FOO_HTML_LANGUAGES. Current lists for "all languages":
+# handbook: ar br cs de en es fi fr hu it ko lt nl pt_BR ru th uk
+# howto: ar bg br cs da de en es fi fr hu it ja ko lt nl pt_BR ru th uk
 src_configure() {
 	local mycmakeargs=(
-		-DBUILD_HANDBOOK_HTML=no
+		-DBUILD_HANDBOOK_HTML=$(usex doc)
 		-DBUILD_HANDBOOK_PDF=no
-		-DBUILD_HOWTO_HTML=no
+		-DBUILD_HOWTO_HTML=$(usex doc)
 		-DBUILD_HOWTO_PDF=no
 	)
 	cmake_src_configure


             reply	other threads:[~2022-09-16 10:30 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-16 10:30 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-10 22:40 [gentoo-commits] repo/gentoo:master commit in: app-text/bibletime/ Marek Szuba
2022-11-10 22:40 Marek Szuba
2022-09-02 10:58 Marek Szuba
2022-09-02 10:58 Marek Szuba
2022-07-26  8:50 Marek Szuba
2022-07-25 22:15 Marek Szuba
2022-06-30  9:02 Marek Szuba
2022-06-30  7:01 Agostino Sarubbo
2022-06-29 11:58 Sam James
2022-05-19  6:49 Marek Szuba
2021-11-20 10:37 Marek Szuba
2021-11-20  7:28 Agostino Sarubbo
2021-11-20  7:26 Agostino Sarubbo
2021-09-03 12:15 Marek Szuba
2021-09-03  6:40 Agostino Sarubbo
2021-09-01  0:08 Marek Szuba
2021-09-01  0:08 Marek Szuba
2021-08-03 11:11 Marek Szuba
2021-05-31  8:51 Marek Szuba
2021-05-31  8:51 Marek Szuba
2021-05-26 11:22 Marek Szuba
2021-05-26 11:22 Marek Szuba
2021-02-15 12:39 Marek Szuba
2020-11-13 14:30 Sam James
2020-09-05 19:44 Marek Szuba
2020-08-24 17:19 Marek Szuba
2020-07-31  8:44 Marek Szuba
2020-07-30 11:18 Marek Szuba
2018-06-20  1:21 Chris Reffett
2018-06-20  1:21 Chris Reffett
2017-06-05 11:05 Agostino Sarubbo
2017-03-22 19:38 Johannes Huber
2017-03-22 19:38 Johannes Huber
2017-01-10 23:14 Chris Reffett
2017-01-10 14:56 Agostino Sarubbo
2015-12-27 17:29 Michael Palimaka
2015-12-27 17:28 Michael Palimaka
2015-10-01 14:21 Michael Palimaka

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=1663324239.fcd2b1fd112eadb8125a624fa30e3d9b4e2ec2db.marecki@gentoo \
    --to=marecki@gentoo.org \
    --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