mirror of
https://git.freebsd.org/ports.git
synced 2025-07-01 17:40:40 -04:00
The Qt WebEngine module provides a web browser engine that makes it easy to embed content from the World Wide Web into your Qt application on platforms that do not have a native web engine. Qt WebEngine provides C++ classes and QML types for rendering HTML, XHTML, and SVG documents, styled using Cascading Style Sheets (CSS) and scripted with JavaScript. HTML documents can be made fully editable by the user through the use of the contenteditable attribute on HTML elements. Most of the patches were taken from Chromium 102.0.5005.115 (6fbdece63f
) and a small portion also from Chromium 105.0.5195.102 (96b9a69e70
) , which has been required since Qt 6.4.1. In contrast to www/qt5-webengine, some things have changed in the build process: * Python 3.x is used * CMake maintains the whole build process at the top. * devel/binutils is no longer required. At last but not least: Many thanks to madpilot for additional tests and hints and to tcberner for the moral support during the last mile! Reviewed by: madpilot, tcberner (kde) Approved by: fluffy (kde) Differential Revision: https://reviews.freebsd.org/D37859
34 lines
1.2 KiB
Python
34 lines
1.2 KiB
Python
--- src/3rdparty/gn/build/gen.py.orig 2022-09-26 10:05:50 UTC
|
|
+++ src/3rdparty/gn/build/gen.py
|
|
@@ -92,6 +92,12 @@ class Platform(object):
|
|
def is_solaris(self):
|
|
return self._platform == 'solaris'
|
|
|
|
+ def is_openbsd(self):
|
|
+ return self._platform == 'openbsd'
|
|
+
|
|
+ def is_freebsd(self):
|
|
+ return self._platform == 'freebsd'
|
|
+
|
|
def is_posix(self):
|
|
return self._platform in ['linux', 'freebsd', 'darwin', 'aix', 'openbsd', 'haiku', 'solaris', 'msys', 'netbsd']
|
|
|
|
@@ -291,7 +297,7 @@ def WriteGenericNinja(path, static_libraries, executab
|
|
'linux': 'build_linux.ninja.template',
|
|
'freebsd': 'build_linux.ninja.template',
|
|
'aix': 'build_aix.ninja.template',
|
|
- 'openbsd': 'build_openbsd.ninja.template',
|
|
+ 'openbsd': 'build_linux.ninja.template',
|
|
'haiku': 'build_haiku.ninja.template',
|
|
'solaris': 'build_linux.ninja.template',
|
|
'netbsd': 'build_linux.ninja.template',
|
|
@@ -514,6 +520,9 @@ def WriteGNNinja(path, platform, host, options, args_l
|
|
|
|
if platform.is_posix() and not platform.is_haiku():
|
|
ldflags.append('-pthread')
|
|
+
|
|
+ if platform.is_openbsd():
|
|
+ libs.append('-lkvm')
|
|
|
|
if platform.is_mingw() or platform.is_msys():
|
|
cflags.extend(['-DUNICODE',
|