ports/www/qt6-webengine/files/patch-configure.cmake
Jason E. Hale 7e3e6797d2 Qt6: Update to 6.8.1
December 02, 2024

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

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

We (kde@) skipped shipping Qt 6.8.0 due to waiting for a compatible
version of PyQt to be released, but here are the announcements and
release notes from Qt 6.8.0.

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

PySide6: Update to 6.8.0.2

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

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

PyQt6: Update to 6.8.0

This release also introduces x11-toolkits/py-qt6-graphs, python bindings
for the Qt Graphs module. As with PySide6, older versions of PyQt6 will
not build with Qt 6.8.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.8.0_Released

Special thanks to Kenneth Raplee for testing and to SponiX for providing
access to build hardware!

PR:		283290
Exp-run by:	antoine (x2)
2025-01-05 01:28:11 -05:00

71 lines
2.6 KiB
CMake

--- configure.cmake.orig 2024-11-21 04:36:37 UTC
+++ configure.cmake
@@ -73,7 +73,7 @@ endif()
endif()
#### Tests
-if(LINUX)
+if(LINUX OR FREEBSD)
check_for_ulimit()
endif()
@@ -434,7 +434,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 X11_FOUND
@@ -474,12 +474,12 @@ add_check_for_support(
)
add_check_for_support(
MODULES QtWebEngine
- CONDITION LINUX OR (WIN32 AND NOT WIN_ARM_64) OR MACOS
+ CONDITION LINUX OR (WIN32 AND NOT WIN_ARM_64) OR MACOS OR FREEBSD
MESSAGE "Build can be done only on Linux, Windows or macOS."
)
add_check_for_support(
MODULES QtPdf
- CONDITION LINUX OR (WIN32 AND NOT WIN_ARM_64) OR MACOS OR IOS OR ANDROID
+ CONDITION LINUX OR (WIN32 AND NOT WIN_ARM_64) OR MACOS OR IOS OR ANDROID OR FREEBSD
MESSAGE "Build can be done only on Linux, Windows, macO, iOS and Android."
)
if(LINUX AND CMAKE_CROSSCOMPILING)
@@ -502,13 +502,6 @@ add_check_for_support(
MESSAGE "node.js version 14 or later is required."
)
add_check_for_support(
- MODULES QtWebEngine
- CONDITION NOT (Nodejs_ARCH STREQUAL "ia32") AND
- NOT (Nodejs_ARCH STREQUAL "x86") AND
- NOT (Nodejs_ARCH STREQUAL "arm")
- MESSAGE "32bit version of Nodejs is not supported."
-)
-add_check_for_support(
MODULES QtWebEngine QtPdf
CONDITION Python3_EXECUTABLE
MESSAGE "Python version 3.8 or later is required."
@@ -572,8 +565,8 @@ add_check_for_support(
add_check_for_support(
MODULES QtWebEngine
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."
@@ -582,8 +575,8 @@ add_check_for_support(
add_check_for_support(
MODULES QtPdf
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