ports/www/qt6-webengine/files/patch-configure.cmake
Jason E. Hale 03b02222d6 Qt6: Update to 6.9.1
June 03, 2024 by Jani Heikkinen

We have released Qt 6.9.1 today. As a patch release, Qt 6.9.1 does not
introduce new features but contains more than 450 bug fixes, security
updates, and other improvements on top of Qt 6.9.0 release. See more
information about the most important changes and bug fixes from the Qt
6.9.1 release note.

Announcement: https://www.qt.io/blog/qt-6.9.1-released
Release note:
https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/6.9.1/release-note.md

We (kde@) skipped shipping Qt 6.9.0 due to unacceptable rendering bugs
in the WebEngine component, but here are the announcements and release
notes from Qt 6.9.0.

Announcement: https://www.qt.io/blog/qt-6.9-released
Release note:
https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/6.9.0/release-note.md

PySide6: Update to 6.9.1

PySide6 and its related components have been updated alongside the Qt
release for compatibility. Older versions will not build with Qt 6.9.x.

Announcement: https://www.qt.io/blog/qt-for-python-release-6.9

PyQt6: Update to 6.9.1

As with PySide6, older versions of PyQt6 will not build with Qt 6.9.x.

Support tools like py-sip and py-qtbuilder have also been updated to their
latest versions.

Announcement: https://www.riverbankcomputing.com/news/PyQt_v6.9.0_Released
              https://www.riverbankcomputing.com/news/PyQt_v6.9.1_Released

PR:		286051
Exp-run by:	antoine
2025-06-10 03:25:00 -04:00

60 lines
2.6 KiB
CMake

--- configure.cmake.orig 2025-02-21 12:29:33 UTC
+++ configure.cmake
@@ -292,12 +292,12 @@ qt_webengine_configure_check("supported-platform"
qt_webengine_configure_check("supported-platform"
MODULES QtWebEngine
- CONDITION LINUX OR (WIN32 AND NOT (WIN_ARM_64 AND DEFINED ENV{COIN_PLATFORM_ID})) OR MACOS
+ CONDITION LINUX OR (WIN32 AND NOT (WIN_ARM_64 AND DEFINED ENV{COIN_PLATFORM_ID})) OR MACOS OR FREEBSD
MESSAGE "Build can be done only on Linux, Windows or macOS."
)
qt_webengine_configure_check("supported-platform"
MODULES QtPdf
- CONDITION LINUX OR WIN32 OR MACOS OR IOS OR ANDROID
+ CONDITION LINUX OR WIN32 OR MACOS OR IOS OR ANDROID OR FREEBSD
MESSAGE "Build can be done only on Linux, Windows, macO, iOS and Android."
)
@@ -317,15 +317,6 @@ qt_webengine_configure_check("static-build"
MESSAGE "Static build is not supported."
)
-qt_webengine_configure_check("nodejs"
- MODULES QtWebEngine
- CONDITION TARGET Nodejs::Nodejs AND
- NOT (Nodejs_ARCH STREQUAL "ia32") AND
- NOT (Nodejs_ARCH STREQUAL "x86") AND
- NOT (Nodejs_ARCH STREQUAL "arm")
- MESSAGE "64-bit Node.js ${QT_CONFIGURE_CHECK_nodejs_version} version or later is required."
- DOCUMENTATION "64-bit Nodejs ${QT_CONFIGURE_CHECK_nodejs_version} version or later."
-)
qt_webengine_configure_check("python3"
MODULES QtWebEngine QtPdf
CONDITION Python3_FOUND
@@ -448,6 +439,8 @@ qt_webengine_configure_check("compiler"
CONDITION MSVC OR
(LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
(LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR
+ (FREEBSD AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
+ (FREEBSD AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR
(MACOS AND CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
MESSAGE
"${CMAKE_CXX_COMPILER_ID} compiler is not supported."
@@ -457,6 +450,8 @@ qt_webengine_configure_check("compiler"
CONDITION MSVC OR
(LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
(LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR
+ (FREEBSD AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
+ (FREEBSD AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR
(APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") OR
(ANDROID AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR
(MINGW AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
@@ -709,7 +704,7 @@ qt_feature("webengine-ozone-x11" PRIVATE
qt_feature("webengine-ozone-x11" PRIVATE
LABEL "Support X11 on qpa-xcb"
- CONDITION LINUX
+ CONDITION LINUX OR FREEBSD
AND TARGET Qt::Gui
AND QT_FEATURE_xcb
AND qpa_xcb_support_check