| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.18 2019/08/29 10:40:14 nia Exp $ | | 1 | # $NetBSD: options.mk,v 1.19 2019/10/05 14:59:47 nia Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | PKG_OPTIONS_VAR= PKG_OPTIONS.webkit-gtk | | 4 | PKG_OPTIONS_VAR= PKG_OPTIONS.webkit-gtk |
5 | PKG_SUPPORTED_OPTIONS= debug enchant introspection opengl webkit-jit wayland | | 5 | PKG_SUPPORTED_OPTIONS= debug enchant introspection opengl webkit-jit wayland |
6 | PKG_SUGGESTED_OPTIONS= enchant introspection opengl | | 6 | PKG_SUGGESTED_OPTIONS= enchant introspection opengl |
7 | | | 7 | |
8 | PLIST_VARS= introspection | | 8 | PLIST_VARS= introspection |
9 | | | 9 | |
10 | .include "../../mk/bsd.prefs.mk" | | 10 | .include "../../mk/bsd.prefs.mk" |
11 | | | 11 | |
12 | # | | 12 | # |
13 | # Platforms that support the webkit-jit option | | 13 | # Platforms that support the webkit-jit option |
14 | # | | 14 | # |
| @@ -75,17 +75,18 @@ PLIST.introspection= yes | | | @@ -75,17 +75,18 @@ PLIST.introspection= yes |
75 | BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.9.5 | | 75 | BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.9.5 |
76 | BUILDLINK_DEPMETHOD.gobject-introspection+= build | | 76 | BUILDLINK_DEPMETHOD.gobject-introspection+= build |
77 | .include "../../devel/gobject-introspection/buildlink3.mk" | | 77 | .include "../../devel/gobject-introspection/buildlink3.mk" |
78 | CMAKE_ARGS+= -DENABLE_INTROSPECTION=ON | | 78 | CMAKE_ARGS+= -DENABLE_INTROSPECTION=ON |
79 | .else | | 79 | .else |
80 | CMAKE_ARGS+= -DENABLE_INTROSPECTION=OFF | | 80 | CMAKE_ARGS+= -DENABLE_INTROSPECTION=OFF |
81 | .endif | | 81 | .endif |
82 | | | 82 | |
83 | # | | 83 | # |
84 | # Wayland display server support | | 84 | # Wayland display server support |
85 | # | | 85 | # |
86 | .if !empty(PKG_OPTIONS:Mwayland) | | 86 | .if !empty(PKG_OPTIONS:Mwayland) |
87 | CMAKE_ARGS+= -DENABLE_WAYLAND_TARGET=ON | | 87 | CMAKE_ARGS+= -DENABLE_WAYLAND_TARGET=ON |
| | | 88 | CMAKE_ARGS+= -DUSE_WPE_RENDERER=OFF # TODO |
88 | .include "../../devel/wayland/buildlink3.mk" | | 89 | .include "../../devel/wayland/buildlink3.mk" |
89 | .else | | 90 | .else |
90 | CMAKE_ARGS+= -DENABLE_WAYLAND_TARGET=OFF | | 91 | CMAKE_ARGS+= -DENABLE_WAYLAND_TARGET=OFF |
91 | .endif | | 92 | .endif |