mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
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:
parent
9f8dd8fde3
commit
f84b09f5dd
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user