commit:     f84b09f5dd30d2e41d33afd6c284cc99cd9e22fa
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 26 14:39:23 2025 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Mar 26 14:42:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f84b09f5

dev-tex/biblatex: add media-fonts/corefonts as USE 'doc' conditional dep

The biblatex documentation at doc/latex/biblatex/biblatex.tex uses
"Courier New" as mono font. Therefore, we add media-libs/corefonts as
conditional BDEPEND.

We also mark two bugs now closed, that are related to biblatex.pdf not
being installed if USE=doc. Technically, this was fixed with the when
biblatex-3.20-r1 was first added but was forgotten back then. Hence we
do it now.

Closes: https://bugs.gentoo.org/938927
Closes: https://bugs.gentoo.org/945334
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-tex/biblatex/biblatex-3.20-r1.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dev-tex/biblatex/biblatex-3.20-r1.ebuild 
b/dev-tex/biblatex/biblatex-3.20-r1.ebuild
index f54c74d195d6..7999c00560a6 100644
--- a/dev-tex/biblatex/biblatex-3.20-r1.ebuild
+++ b/dev-tex/biblatex/biblatex-3.20-r1.ebuild
@@ -25,14 +25,20 @@ DEPEND="
 RDEPEND="${DEPEND}"
 # biblatex and biber must always have compatible versions
 PDEPEND="biber? ( ~dev-tex/biber-2.$(ver_cut 2) )"
+# corefonts for "Courier New"
 BDEPEND="
        doc? (
+               media-fonts/corefonts
                virtual/latex-base
        )
 "
 
 TEXMF=/usr/share/texmf-site
 
+src_prepare() {
+       default
+}
+
 src_install() {
        insinto "${TEXMF}"
        doins -r bibtex tex

Reply via email to