# $NetBSD: buildlink3.mk,v 1.50 2019/07/21 22:24:06 wiz Exp $
BUILDLINK_TREE+= librsvg
.if !defined(LIBRSVG_BUILDLINK3_MK)
LIBRSVG_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.librsvg+= librsvg>=2.12.6nb1
BUILDLINK_ABI_DEPENDS.librsvg+= librsvg>=2.44.14nb2
.include "../../mk/bsd.fast.prefs.mk"
.include "../../graphics/librsvg/available.mk"
.if ${LIBRSVG_TYPE} == "rust"
BUILDLINK_PKGSRCDIR.librsvg?= ../../graphics/librsvg
BUILDLINK_API_DEPENDS.librsvg+= librsvg>=2.41
.elif ${LIBRSVG_TYPE} == "c"
BUILDLINK_PKGSRCDIR.librsvg?= ../../graphics/librsvg-c
BUILDLINK_API_DEPENDS.librsvg+= librsvg<2.41
.else
PKG_FAIL_REASON+= "[graphics/librsvg/buildlink3.mk] Invalid value ${LIBRSVG_TYPE} for LIBRSVG_TYPE."
.endif
.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.include "../../textproc/libcroco/buildlink3.mk"
.endif # LIBRSVG_BUILDLINK3_MK
BUILDLINK_TREE+= -librsvg
CVSweb <webmaster@jp.NetBSD.org>