pkgsrc/www/webkit-gtk/options.mk
leot 7b97c6b8ad webkit-gtk: Update to 2.28.0
Changes:
WebKitGTK 2.28.0
================
  - Enable JIT in MIPS platform.
  - Do not limit the surrounding text for input methods to current paragraph.
  - Fix the build with OpenGL disabled.
  - Fix the build when Wayland target is disabled.
  - Fix the build on ppc64le if __unix is undefined.
  - Fix several crashes and rendering issues.
  - Translation updates: Polish.

WebKitGTK 2.27.91
=================
  - Update user agent quirks to fix the unsupported browser message in several google services.
  - Fix several compile warnings with GCC 10.
  - Fix the build with GCC 10.
  - Fix several crashes and rendering issues.
  - Translation updates: Chinese

WebKitGTK 2.27.90
=================
  - Add support for same-site cookies.
  - Add flatpak sandbox support.
  - Enable WebAudio and WebGL by default in WebKitSettings.
  - Add a setting to disallow top level navigation to a data URI.
  - Add support for the -webkit-font-smoothing CSS property.
  - Always use a light theme for rendering form controls.
  - Stop making the Web Inspector windows transient.
  - Ensure mouse cursor is hidden during fullscreen video playback.
  - Add support for inspecting service workers to the remote inspector.
  - Fix several crashes and rendering issues.

WebKitGTK 2.27.4
================
  - Add API for input methods.
  - Add API to serialize/deserialize a JSCValue to/from a JSON string.
  - Add support for strict secure cookies.
  - Add support for saving data from remote inspector.
  - Make ondemand hardware acceleration policy never leave accelerated compositing mode.
  - Fix rendering of conic gradients in high resolution displays.
  - Fix special combination characters not respecting the keystroke order when high CPU load.
  - Honor the IndexedDB directory set in WebsiteDataManager.
  - Fix rendering of text when there's an initial advance in the text run.
  - Fix web process crash when displaying a KaTeX formula.
  - Fix network process crash with PSON enabled.
  - Fix several crashes and rendering issues.

WebKitGTK 2.27.3
================
  - Add support for Pointer Lock API.
  - Improve performance when falling back to system fonts.
  - Stop using DBus for the remote inspector implementation to improve the performance of both
    WebDriver and remote inspector.
  - Implement support for new ARIA roles: code, strong, emphasis, generic.
  - Fix handling of content type with new custom protocols implementation.
  - Make image decoders fully thread safe.
  - Add support for get page source command in WebDriver.
  - Add support for network proxy capabilities in WebDriver.
  - Add support for new window command in WebDriver.
  - Fix several crashes and rendering issues.
  - Translation updates: Brazilian Portuguese, Ukrainian.

WebKitGTK 2.27.2
================
  - Add user messages API for the communication with the web extension.
  - Enable service workers by default.
  - Add support for saving data in Web Inspector.
  - More navigation gesture improvement.
  - Fix the build with WebDriver disabled.
  - Show also client EGL extensions in about:gpu.
  - Disable accelerated compositing when we fail to initialize the EGL dispaly under Wayland.
  - Fix several crashes and rendering issues.

WebKitGTK 2.27.1
================
  - Enable async scrolling when accelerating compositing policy is 'always'.
  - Add about:gpu to show information about the graphics stack.
  - Add API to enable Process Swap on (Cross-site) Navigation, that is now disabled by default.
  - Add WebKitWebView:page-id property.
  - Improve swipe navigation gesture style.
  - Fix several crashes and rendering issues.
2020-03-10 18:14:04 +00:00

96 lines
2.3 KiB
Makefile

# $NetBSD: options.mk,v 1.21 2020/03/10 18:14:04 leot Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.webkit-gtk
PKG_SUPPORTED_OPTIONS= debug enchant introspection opengl webkit-jit wayland
PKG_SUGGESTED_OPTIONS= enchant introspection opengl
.include "../../devel/wayland/platform.mk"
.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
PKG_SUGGESTED_OPTIONS+= wayland
.endif
PLIST_VARS= introspection
.include "../../mk/bsd.fast.prefs.mk"
#
# Platforms that support the webkit-jit option
#
# Please see:
# Source/cmake/WebKitFeatures.cmake
# Source/WTF/wtf/PlatformEnable.h
#
WEBKIT_JIT_MACHINE_PLATFORMS+= Darwin-*-*
WEBKIT_JIT_MACHINE_PLATFORMS+= DragonFly-*-*
WEBKIT_JIT_MACHINE_PLATFORMS+= FreeBSD-*-x86_64 FreeBSD-*-aarch64
WEBKIT_JIT_MACHINE_PLATFORMS+= Linux-*-x86_64 Linux-*-arm*
WEBKIT_JIT_MACHINE_PLATFORMS+= Linux-*-aarch64 Linux-*-mips*
WEBKIT_JIT_MACHINE_PLATFORMS+= NetBSD-*-x86_64 NetBSD-*-aarch64
.if !empty(WEBKIT_JIT_MACHINE_PLATFORMS:@.PLAT.@${MACHINE_PLATFORM:M${.PLAT.}}@)
PKG_SUGGESTED_OPTIONS+= webkit-jit
.endif
.include "../../mk/bsd.options.mk"
#
# JIT support
#
.if !empty(PKG_OPTIONS:Mwebkit-jit)
CMAKE_ARGS+= -DENABLE_JIT=ON
CMAKE_ARGS+= -DENABLE_C_LOOP=OFF
.else
CMAKE_ARGS+= -DENABLE_JIT=OFF
.endif
#
# OpenGL support: enable support for GLX, WebGL and accelerated compositing
#
.if !empty(PKG_OPTIONS:Mopengl)
CMAKE_ARGS+= -DENABLE_OPENGL=ON
.else
CMAKE_ARGS+= -DENABLE_OPENGL=OFF
.endif
#
# Spellcheck support using enchant
#
.if !empty(PKG_OPTIONS:Menchant)
CMAKE_ARGS+= -DENABLE_SPELLCHECK=ON
.include "../../textproc/enchant2/buildlink3.mk"
.else
CMAKE_ARGS+= -DENABLE_SPELLCHECK=OFF
.endif
#
# Debug build
#
.if !empty(PKG_OPTIONS:Mdebug)
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Debug
.else
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
.endif
#
# Introspection
#
.if !empty(PKG_OPTIONS:Mintrospection)
PLIST.introspection= yes
BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.9.5
BUILDLINK_DEPMETHOD.gobject-introspection+= build
.include "../../devel/gobject-introspection/buildlink3.mk"
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
CMAKE_ARGS+= -DUSE_WPE_RENDERER=OFF # TODO
.include "../../devel/wayland/buildlink3.mk"
.else
CMAKE_ARGS+= -DENABLE_WAYLAND_TARGET=OFF
.endif