mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-24 17:18:51 +02:00
Qt, bump to version 6.10.3 (#13935)
This commit is contained in:
@@ -11,11 +11,11 @@ LICENSE="GNU LGPL v2.1
|
||||
REVISION="1"
|
||||
QT_MIRROR_URI="https://download.qt.io/official_releases"
|
||||
SOURCE_URI="$QT_MIRROR_URI/qt/${portVersion%.*}/$portVersion/submodules/qtscxml-everywhere-src-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="0f9c178db3f1b1b06d20172aaaa4d7f5513bcb99de01f880c29e23b5ffdd236a"
|
||||
CHECKSUM_SHA256="26d3e6ae104a762b4c957bf45a382efb1caec2e16333f8dfa88158a8f2620809"
|
||||
SOURCE_DIR="qtscxml-everywhere-src-$portVersion"
|
||||
|
||||
ARCHITECTURES="?all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
@@ -54,14 +54,14 @@ REQUIRES_devel="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcrypto$secondaryArchSuffix
|
||||
devel:libcrypto$secondaryArchSuffix >= 3
|
||||
devel:libGL$secondaryArchSuffix
|
||||
devel:libQt6Core$secondaryArchSuffix == $portVersion
|
||||
devel:libQt6Gui$secondaryArchSuffix == $portVersion
|
||||
devel:libQt6Qml$secondaryArchSuffix == $portVersion
|
||||
devel:libQt6QmlModels$secondaryArchSuffix == $portVersion
|
||||
devel:libQt6Quick$secondaryArchSuffix == $portVersion
|
||||
devel:libssl$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix >= 3
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
@@ -1,116 +0,0 @@
|
||||
SUMMARY="Static and runtime integration of SCXML models into Qt6 code"
|
||||
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-2024 The Qt Company Ltd."
|
||||
LICENSE="GNU LGPL v2.1
|
||||
GNU LGPL v3
|
||||
GNU FDL v1"
|
||||
REVISION="1"
|
||||
QT_MIRROR_URI="https://qt-mirror.dannhauer.de/archive"
|
||||
SOURCE_URI="$QT_MIRROR_URI/qt/${portVersion%.*}/$portVersion/submodules/qtscxml-everywhere-src-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="20ecf93506d48f27b492ad3dd9d88830e08d642faec3071ce53396a8ae05c86f"
|
||||
SOURCE_DIR="qtscxml-everywhere-src-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
qt6_scxml$secondaryArchSuffix = $portVersion compat >= 6
|
||||
lib:libQt6Scxml$secondaryArchSuffix = $portVersion compat >= 6
|
||||
lib:libQt6ScxmlQml$secondaryArchSuffix = $portVersion compat >= 6
|
||||
lib:libQt6StateMachine$secondaryArchSuffix = $portVersion compat >= 6
|
||||
lib:libQt6StateMachineQml$secondaryArchSuffix = $portVersion compat >= 6
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcrypto$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libQt6Core$secondaryArchSuffix
|
||||
lib:libQt6Gui$secondaryArchSuffix
|
||||
lib:libQt6Qml$secondaryArchSuffix
|
||||
lib:libQt6QmlModels$secondaryArchSuffix
|
||||
lib:libQt6Quick$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
qt6_scxml${secondaryArchSuffix}_devel = $portVersion compat >= 6
|
||||
devel:libQt6Scxml$secondaryArchSuffix = $portVersion compat >= 6
|
||||
devel:libQt6ScxmlQml$secondaryArchSuffix = $portVersion compat >= 6
|
||||
devel:libQt6StateMachine$secondaryArchSuffix = $portVersion compat >= 6
|
||||
devel:libQt6StateMachineQml$secondaryArchSuffix = $portVersion compat >= 6
|
||||
"
|
||||
REQUIRES_devel="
|
||||
qt6_scxml$secondaryArchSuffix == $portVersion base
|
||||
qt6_base${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcrypto$secondaryArchSuffix >= 3
|
||||
devel:libGL$secondaryArchSuffix
|
||||
devel:libQt6Core$secondaryArchSuffix == $portVersion
|
||||
devel:libQt6Gui$secondaryArchSuffix == $portVersion
|
||||
devel:libQt6Qml$secondaryArchSuffix == $portVersion
|
||||
devel:libQt6QmlModels$secondaryArchSuffix == $portVersion
|
||||
devel:libQt6Quick$secondaryArchSuffix == $portVersion
|
||||
devel:libssl$secondaryArchSuffix >= 3
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:cmake
|
||||
cmd:find
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:ninja
|
||||
cmd:perl
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python3
|
||||
cmd:sed
|
||||
cmd:xargs
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
export DISABLE_ASLR=1
|
||||
|
||||
cmake -B build -S $sourceDir -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_CXX_FLAGS=-fPIC
|
||||
|
||||
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 \
|
||||
libQt6Scxml \
|
||||
libQt6ScxmlQml \
|
||||
libQt6StateMachine \
|
||||
libQt6StateMachineQml
|
||||
|
||||
# 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 \
|
||||
$developDir \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt6/mkspecs
|
||||
}
|
||||
Reference in New Issue
Block a user