qt6_serialport: bump version

This commit is contained in:
Gerasim Troeglazov
2023-05-14 16:31:22 +10:00
parent 92635eb905
commit 0d5f277a2d
2 changed files with 11 additions and 5 deletions

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="2"
REVISION="1"
SOURCE_URI="https://download.qt.io/official_releases/qt/${portVersion%.*}/$portVersion/submodules/qtserialport-everywhere-src-$portVersion.tar.xz"
CHECKSUM_SHA256="f148cc9e87ce2228e82bff7a64d9521339ece66c4c66aa43b91bac614f4a4483"
CHECKSUM_SHA256="9209a9f5978a4adf3a150582270432fe3b635d05513ad1a57bff5ca4954a4dff"
SOURCE_DIR="qtserialport-everywhere-src-$portVersion"
PATCHES="qt6_serialport-$portVersion.patchset"
@@ -65,14 +65,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 libQt6SerialPort
prepareInstalledDevelLibs \
libQt6SerialPort
# fix pkgconfig files
fixPkgconfig
sed -i "s|includedir=.*|includedir=$includeDir/Qt6|" \
$developLibDir/pkgconfig/*.pc
cd $libDir
for i in lib*.so.6.*;do