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,108 @@
SUMMARY="Qt Graphs module"
DESCRIPTION="The Qt Graphs module enables you to visualize data in 3D as bar, scatter, and \
surface graphs. It's especially useful for visualizing depth maps and large quantities of rapidly \
changing data, such as data received from multiple sensors. The look and feel of graphs can be \
customized by using themes or by adding custom items and labels.
Qt Graphs is built on Qt 6 and Qt Quick 3D to take advantage of hardware acceleration and Qt \
Quick."
HOMEPAGE="https://qt.io/"
COPYRIGHT="2015-2026 The Qt Company Ltd."
LICENSE="BSD (3-clause)
GNU FDL v1.3
GNU GPL v3"
REVISION="1"
QT_MIRROR_URI="https://download.qt.io/official_releases"
SOURCE_URI="$QT_MIRROR_URI/qt/${portVersion%.*}/$portVersion/submodules/qtgraphs-everywhere-src-$portVersion.tar.xz"
CHECKSUM_SHA256="8c573486d1dda961eae10d464d4a592a3b0e9a7ed8bbb8467abe2af8df00916a"
SOURCE_DIR="qtgraphs-everywhere-src-$portVersion"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
libVersion="$portVersion"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
PROVIDES="
qt6_graphs$secondaryArchSuffix = $portVersion compat >= 6
lib:libQt6Graphs$secondaryArchSuffix = $libVersionCompat
lib:libQt6GraphsWidgets$secondaryArchSuffix = $libVersionCompat
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libQt6Core$secondaryArchSuffix
lib:libQt6Gui$secondaryArchSuffix
lib:libQt6Qml$secondaryArchSuffix
lib:libQt6Network$secondaryArchSuffix
lib:libQt6OpenGL$secondaryArchSuffix
lib:libQt6Quick$secondaryArchSuffix
lib:libQt6Quick3D$secondaryArchSuffix
lib:libQt6ShaderTools$secondaryArchSuffix
"
PROVIDES_devel="
qt6_graphs${secondaryArchSuffix}_devel = $portVersion compat >= 6
devel:libQt6Graphs$secondaryArchSuffix = $libVersionCompat
devel:libQt6GraphsWidgets$secondaryArchSuffix = $libVersionCompat
"
REQUIRES_devel="
qt6_graphs$secondaryArchSuffix == $portVersion base
qt6_base${secondaryArchSuffix}_devel
devel:libQt6Quick$secondaryArchSuffix
devel:libQt6Quick3D$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libQt6Core$secondaryArchSuffix == $portVersion
devel:libQt6Quick$secondaryArchSuffix == $portVersion
devel:libQt6Quick3D$secondaryArchSuffix == $portVersion
devel:libQt6ShaderTools$secondaryArchSuffix == $portVersion
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:ld$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
prepareInstalledDevelLibs \
libQt6Graphs \
libQt6GraphsWidgets
# fix pkgconfig files
fixPkgconfig
sed -i "s|includedir=.*|includedir=$includeDir/Qt6|" \
$developLibDir/pkgconfig/*.pc
cd $libDir
for i in lib*.so.6.*;do
ln -fs $i $(echo $i | cut -f1,2 -d.)
done
packageEntries devel \
$dataDir/Qt6/mkspecs \
$developDir \
$libDir/cmake
}