diff options
author | nia <nia@pkgsrc.org> | 2019-08-29 10:40:14 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-08-29 10:40:14 +0000 |
commit | 621cc690733a590db2858adef00c69f1c42c2cb7 (patch) | |
tree | d3263354e4489c548e885040678de7112d074add /www | |
parent | d21282ce8cf29f6634a3a0ae9872bceecd375c02 (diff) | |
download | pkgsrc-621cc690733a590db2858adef00c69f1c42c2cb7.tar.gz |
webkit-gtk: Wayland support.
Build tested by leot, thanks.
Diffstat (limited to 'www')
-rw-r--r-- | www/webkit-gtk/options.mk | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/www/webkit-gtk/options.mk b/www/webkit-gtk/options.mk index b9e45dfafed..81cd4201358 100644 --- a/www/webkit-gtk/options.mk +++ b/www/webkit-gtk/options.mk @@ -1,8 +1,8 @@ -# $NetBSD: options.mk,v 1.17 2019/04/20 16:39:13 leot Exp $ +# $NetBSD: options.mk,v 1.18 2019/08/29 10:40:14 nia Exp $ # PKG_OPTIONS_VAR= PKG_OPTIONS.webkit-gtk -PKG_SUPPORTED_OPTIONS= debug enchant introspection opengl webkit-jit +PKG_SUPPORTED_OPTIONS= debug enchant introspection opengl webkit-jit wayland PKG_SUGGESTED_OPTIONS= enchant introspection opengl PLIST_VARS= introspection @@ -79,3 +79,13 @@ CMAKE_ARGS+= -DENABLE_INTROSPECTION=ON .else CMAKE_ARGS+= -DENABLE_INTROSPECTION=OFF .endif + +# +# Wayland display server support +# +.if !empty(PKG_OPTIONS:Mwayland) +CMAKE_ARGS+= -DENABLE_WAYLAND_TARGET=ON +.include "../../devel/wayland/buildlink3.mk" +.else +CMAKE_ARGS+= -DENABLE_WAYLAND_TARGET=OFF +.endif |