commit:     a848b646f698961cd14c8528e13b4f2d1ca0c00f
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat May 13 08:59:38 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat May 13 09:12:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a848b646

media-libs/vips: add xorg-proto dep for USE=pango/svg/pdf

Not really used directly but results in meson error'ing out if
missing when checking for pango, cairo (also done with USE=svg),
or poppler -- or at least if pango/cairo were built with USE=X.

Unless a new EAPI adds a way for e.g. cairo to tell revdeps to pull
xorg-proto if it was built with USE=X, then not much else to do than
depend on it either way. Ultimately it's just a header-only package
and feel it's not worth risking errors over missing it.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/vips/vips-8.14.2.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/media-libs/vips/vips-8.14.2.ebuild 
b/media-libs/vips/vips-8.14.2.ebuild
index b0592777c293..31c28938b040 100644
--- a/media-libs/vips/vips-8.14.2.ebuild
+++ b/media-libs/vips/vips-8.14.2.ebuild
@@ -70,6 +70,9 @@ RDEPEND="
        webp? ( media-libs/libwebp:= )"
 DEPEND="
        ${RDEPEND}
+       pango? ( x11-base/xorg-proto )
+       pdf? ( x11-base/xorg-proto )
+       svg? ( x11-base/xorg-proto )
        test? (
                tiff? ( media-libs/tiff[jpeg] )
        )"

Reply via email to