qt6_websockets: bump version

This commit is contained in:
Gerasim Troeglazov
2023-05-14 15:51:23 +10:00
parent 93a096d745
commit 545c738146

View File

@@ -4,13 +4,13 @@ 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-2022 The Qt Company Ltd."
COPYRIGHT="2015-2023 The Qt Company Ltd."
LICENSE="GNU LGPL v2.1
GNU LGPL v3
GNU FDL v1"
REVISION="1"
SOURCE_URI="https://download.qt.io/official_releases/qt/${portVersion%.*}/$portVersion/submodules/qtwebsockets-everywhere-src-$portVersion.tar.xz"
CHECKSUM_SHA256="ff3c6629cd6537266123c441709acdd67f231ff2a07216fc848448255bec9bca"
CHECKSUM_SHA256="bc087bd656bb34da120ccab6e927036a219f75fd88f1543744c426bfca616308"
SOURCE_DIR="qtwebsockets-everywhere-src-$portVersion"
ARCHITECTURES="all !x86_gcc2"
@@ -64,7 +64,7 @@ BUILD_PREREQUIRES="
cmd:ninja
cmd:perl
cmd:pkg_config$secondaryArchSuffix
cmd:python3.7
cmd:python3
cmd:sed
cmd:xargs
"
@@ -79,14 +79,20 @@ BUILD()
find -name cmake_install.cmake -exec sed -i "s|set(CMAKE_INSTALL_PREFIX.*|set(CMAKE_INSTALL_PREFIX \"$prefix\")|" {} \;
ninja -C build $jobArgs
ninja -v -C build $jobArgs
}
INSTALL()
{
ninja -C build install
prepareInstalledDevelLibs libQt6WebSockets
prepareInstalledDevelLibs \
libQt6WebSockets
# fix pkgconfig files
fixPkgconfig
sed -i "s|includedir=.*|includedir=$includeDir/Qt6|" \
$developLibDir/pkgconfig/*.pc
cd $libDir
for i in lib*.so.6.*;do