Qt, bump to version 6.10.3 (#13935)

This commit is contained in:
Schrijvers Luc
2026-04-13 14:15:19 +02:00
committed by GitHub
parent 9aadbc5e80
commit 6ea379be33
80 changed files with 174 additions and 5625 deletions

View File

@@ -0,0 +1,68 @@
SUMMARY="An implementation of the Language Server Protocol"
DESCRIPTION="Qt is a cross-platform application framework that is widely \
used for developing software with a graphical user interface, and also used \
for developing non-GUI programs such as command-line tools and consoles for \
servers."
HOMEPAGE="https://qt.io/"
COPYRIGHT="2015-2026 The Qt Company Ltd."
LICENSE="GNU LGPL v2.1
GNU LGPL v3
GNU FDL v1"
REVISION="1"
QT_MIRROR_URI="https://download.qt.io/official_releases"
SOURCE_URI="$QT_MIRROR_URI/qt/${portVersion%.*}/$portVersion/submodules/qtlanguageserver-everywhere-src-$portVersion.tar.xz"
CHECKSUM_SHA256="94f90484be8e49d3eb3bfcf0ba6cb2d8a170fc831c78de138332feebdf193964"
SOURCE_DIR="qtlanguageserver-everywhere-src-$portVersion"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
qt6_languageserver$secondaryArchSuffix = $portVersion compat >= 6
devel:libQt6JsonRpc$secondaryArchSuffix
devel:libQt6LanguageServer$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libQt6Core$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libQt6Core$secondaryArchSuffix == $portVersion
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:ninja
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
export DISABLE_ASLR=1
cmake -B build -S $sourceDir -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS=-fPIC \
-DQT_GENERATE_SBOM=ON \
-Wno-dev
find -name cmake_install.cmake -exec sed -i "s|set(CMAKE_INSTALL_PREFIX.*|set(CMAKE_INSTALL_PREFIX \"$prefix\")|" {} \;
ninja -v -C build $jobArgs
}
INSTALL()
{
ninja -C build install
sed -i "s,\${_IMPORT_PREFIX}/$relativeLibDir,\${_IMPORT_PREFIX}/$relativeDevelopLibDir," \
$libDir/cmake/Qt6JsonRpcPrivate/Qt6JsonRpcPrivateTargets-release.cmake \
$libDir/cmake/Qt6LanguageServerPrivate/Qt6LanguageServerPrivateTargets-release.cmake
prepareInstalledDevelLibs \
libQt6LanguageServer \
libQt6JsonRpc
}