1.19.0 introduced that BDEP (allegedly missing) [1]. I think this is a mistake and would only apply to the binary (from the X USE flag?). Building the libs only should not require xorg-proto according to upstream.
[1] https://gitweb.gentoo.org/repo/gentoo.git/commit/app-text/mupdf?id=91ef587a7ceb00a595f31be3c22f42dea5a4b2cf
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc6a62cb2986ce596ab175392d1b73ba1894b3ef commit cc6a62cb2986ce596ab175392d1b73ba1894b3ef Author: Philipp Rösner <rndxelement@protonmail.com> AuthorDate: 2022-02-04 21:58:53 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2022-02-05 06:52:37 +0000 app-text/mupdf: fixed unconditional BDEPEND The x11-base/xorg-proto is only needed if the X use flag is enabled. Closes: https://bugs.gentoo.org/832628 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Philipp Rösner <rndxelement@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/24082 Signed-off-by: Joonas Niilola <juippis@gentoo.org> app-text/mupdf/mupdf-1.19.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)