| @@ -1,27 +1,28 @@ | | | @@ -1,27 +1,28 @@ |
1 | # $NetBSD: options.mk,v 1.14 2024/01/27 02:09:19 riastradh Exp $ | | 1 | # $NetBSD: options.mk,v 1.15 2024/01/27 09:58:18 wiz Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.harfbuzz | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.harfbuzz |
4 | PKG_SUPPORTED_OPTIONS+= doc introspection | | 4 | PKG_SUPPORTED_OPTIONS+= doc introspection |
5 | PKG_SUGGESTED_OPTIONS= doc introspection | | 5 | PKG_SUGGESTED_OPTIONS= doc introspection |
6 | | | 6 | |
7 | .include "../../mk/bsd.options.mk" | | 7 | .include "../../mk/bsd.options.mk" |
8 | | | 8 | |
9 | PLIST_VARS+= doc introspection | | 9 | PLIST_VARS+= doc introspection |
10 | | | 10 | |
11 | .if !empty(PKG_OPTIONS:Mdoc) | | 11 | .if !empty(PKG_OPTIONS:Mdoc) |
12 | MESON_ARGS+= -Ddocs=enabled | | 12 | MESON_ARGS+= -Ddocs=enabled |
13 | TOOL_DEPENDS+= gtk-doc>=1.32nb9:../../textproc/gtk-doc | | 13 | TOOL_DEPENDS+= gtk-doc>=1.32nb9:../../textproc/gtk-doc |
14 | PLIST.doc= yes | | 14 | PLIST.doc= yes |
15 | .else | | 15 | .else |
16 | MESON_ARGS+= -Ddocs=disabled | | 16 | MESON_ARGS+= -Ddocs=disabled |
17 | .endif | | 17 | .endif |
18 | | | 18 | |
19 | .if !empty(PKG_OPTIONS:Mintrospection) | | 19 | .if !empty(PKG_OPTIONS:Mintrospection) |
20 | MESON_ARGS+= -Dintrospection=enabled | | 20 | MESON_ARGS+= -Dintrospection=enabled |
21 | .include "../../devel/glib2/buildlink3.mk" | | 21 | .include "../../devel/glib2/buildlink3.mk" |
22 | # XXX This should be TOOL_DEPENDS, no? | | 22 | # XXX This should be TOOL_DEPENDS, no? |
23 | BUILDLINK_DEPMETHOD.gobject-introspection+= build | | 23 | BUILDLINK_DEPMETHOD.gobject-introspection+= build |
24 | .include "../../devel/gobject-introspection/buildlink3.mk" | | 24 | .include "../../devel/gobject-introspection/buildlink3.mk" |
| | | 25 | PLIST.introspection= yes |
25 | .else | | 26 | .else |
26 | MESON_ARGS+= -Dintrospection=disabled | | 27 | MESON_ARGS+= -Dintrospection=disabled |
27 | .endif | | 28 | .endif |