ports/www/qt6-webengine/files/patch-cmake_QtToolchainHelpers.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

48 lines
1.7 KiB
CMake

--- cmake/QtToolchainHelpers.cmake.orig 2025-05-29 01:27:28 UTC
+++ cmake/QtToolchainHelpers.cmake
@@ -95,6 +95,8 @@ function(get_gn_os result)
set(${result} "mac" PARENT_SCOPE)
elseif(IOS)
set(${result} "ios" PARENT_SCOPE)
+ elseif(FREEBSD)
+ set(${result} "freebsd" PARENT_SCOPE)
else()
message(DEBUG "Unrecognized OS")
endif()
@@ -310,7 +312,7 @@ macro(append_build_type_setup)
extend_gn_list(gnArgArg
ARGS enable_precompiled_headers
- CONDITION BUILD_WITH_PCH AND NOT LINUX
+ CONDITION BUILD_WITH_PCH AND NOT LINUX AND NOT FREEBSD
)
extend_gn_list(gnArgArg
ARGS dcheck_always_on
@@ -402,7 +404,7 @@ macro(append_compiler_linker_sdk_setup)
use_libcxx=true
)
endif()
- if(DEFINED QT_FEATURE_stdlib_libcpp AND LINUX)
+ if(DEFINED QT_FEATURE_stdlib_libcpp AND (LINUX OR FREEBSD))
extend_gn_list(gnArgArg ARGS use_libcxx
CONDITION QT_FEATURE_stdlib_libcpp
)
@@ -443,7 +445,7 @@ macro(append_compiler_linker_sdk_setup)
)
endif()
get_gn_arch(cpu ${TEST_architecture_arch})
- if(LINUX AND CMAKE_CROSSCOMPILING AND cpu STREQUAL "arm")
+ if((LINUX OR FREEBSD) AND CMAKE_CROSSCOMPILING AND cpu STREQUAL "arm")
extend_gn_list_cflag(gnArgArg
ARG arm_tune
@@ -548,7 +550,7 @@ macro(append_toolchain_setup)
endif()
unset(host_cpu)
unset(target_cpu)
- elseif(LINUX)
+ elseif(LINUX OR FREEBSD)
get_gn_arch(cpu ${TEST_architecture_arch})
list(APPEND gnArgArg
custom_toolchain="${buildDir}/target_toolchain:target"