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@gentoo.org>
This commit is contained in:
Florian Schmaus 2025-03-26 15:39:23 +01:00
parent 9f8dd8fde3
commit f84b09f5dd
No known key found for this signature in database
GPG Key ID: 2239A7E8F5852052

View File

@ -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