pkgsrc/fonts/harfbuzz/options.mk
nia adb3368547 Split out ICU integration library from the harfbuzz package.
Only a few pieces of software are using the ICU integration library,
these aren't the big harfbuzz users (i.e. gtk). this is intended to lessen
the impact of icu's frequent ABI breaks.
2020-11-06 15:06:49 +00:00

26 lines
675 B
Makefile

# $NetBSD: options.mk,v 1.10 2020/11/06 15:06:49 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.harfbuzz
PKG_SUPPORTED_OPTIONS+= doc introspection
PKG_SUGGESTED_OPTIONS= doc introspection
.include "../../mk/bsd.options.mk"
PLIST_VARS+= doc introspection
.if !empty(PKG_OPTIONS:Mdoc)
MESON_ARGS+= -Ddocs=enabled
.include "../../textproc/gtk-doc/buildlink3.mk"
PLIST.doc= yes
.else
MESON_ARGS+= -Ddocs=disabled
.endif
.if !empty(PKG_OPTIONS:Mintrospection)
BUILDLINK_DEPMETHOD.gobject-introspection+= build
.include "../../devel/gobject-introspection/buildlink3.mk"
MESON_ARGS+= -Dintrospection=enabled
PLIST.introspection= yes
.else
MESON_ARGS+= -Dintrospection=disabled
.endif