From 08cddc6361d89826001b9638e97fec85d5ea5357 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Wed, 28 Aug 2024 18:00:47 +0200 Subject: [PATCH] libquotient, bump version (#10960) --- ...0.8.1.2.recipe => libquotient_qt5-0.8.2.recipe} | 12 ++++++++---- ...0.8.1.2.recipe => libquotient_qt6-0.8.2.recipe} | 14 ++++++++++---- 2 files changed, 18 insertions(+), 8 deletions(-) rename net-libs/libquotient/{libquotient_qt5-0.8.1.2.recipe => libquotient_qt5-0.8.2.recipe} (92%) rename net-libs/libquotient/{libquotient_qt6-0.8.1.2.recipe => libquotient_qt6-0.8.2.recipe} (89%) diff --git a/net-libs/libquotient/libquotient_qt5-0.8.1.2.recipe b/net-libs/libquotient/libquotient_qt5-0.8.2.recipe similarity index 92% rename from net-libs/libquotient/libquotient_qt5-0.8.1.2.recipe rename to net-libs/libquotient/libquotient_qt5-0.8.2.recipe index 4c37a237f..768b7ffdd 100644 --- a/net-libs/libquotient/libquotient_qt5-0.8.1.2.recipe +++ b/net-libs/libquotient/libquotient_qt5-0.8.2.recipe @@ -7,9 +7,9 @@ Versions 0.5.x and older use the previous name - libQMatrixClient." HOMEPAGE="https://github.com/quotient-im/libQuotient" COPYRIGHT="Quotient contributors" LICENSE="GNU LGPL v2.1" -REVISION="2" +REVISION="1" SOURCE_URI="https://github.com/quotient-im/libQuotient/archive/refs/tags/$portVersion.tar.gz" -CHECKSUM_SHA256="5e5539fe9616c9f63985b0aabfab1858f1626e3d71a14709eeedd85af0471c7c" +CHECKSUM_SHA256="12ff2fa8b80a934b9dd88fa3416a4b88e94bc0e18a8df0dcebfc90614dd2f5c9" SOURCE_DIR="libQuotient-$portVersion" ARCHITECTURES="all !x86_gcc2" @@ -58,10 +58,9 @@ BUILD() $cmakeDirArgs \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_WITH_QT6=OFF \ - -DQuotient_INSTALL_TESTS=OFF \ + -DBUILD_TESTING=OFF \ -DQuotient_ENABLE_E2EE=OFF \ -DBUILD_SHARED_LIBS=ON - cmake --build build --target all $jobArgs } @@ -80,3 +79,8 @@ INSTALL() $developDir \ $libDir/cmake } + +TEST() +{ + ctest --test-dir build --output-on-failure +} diff --git a/net-libs/libquotient/libquotient_qt6-0.8.1.2.recipe b/net-libs/libquotient/libquotient_qt6-0.8.2.recipe similarity index 89% rename from net-libs/libquotient/libquotient_qt6-0.8.1.2.recipe rename to net-libs/libquotient/libquotient_qt6-0.8.2.recipe index 0c773eae9..ffabce9e9 100644 --- a/net-libs/libquotient/libquotient_qt6-0.8.1.2.recipe +++ b/net-libs/libquotient/libquotient_qt6-0.8.2.recipe @@ -7,9 +7,9 @@ Versions 0.5.x and older use the previous name - libQMatrixClient." HOMEPAGE="https://github.com/quotient-im/libQuotient" COPYRIGHT="Quotient contributors" LICENSE="GNU LGPL v2.1" -REVISION="4" +REVISION="1" SOURCE_URI="https://github.com/quotient-im/libQuotient/archive/refs/tags/$portVersion.tar.gz" -CHECKSUM_SHA256="5e5539fe9616c9f63985b0aabfab1858f1626e3d71a14709eeedd85af0471c7c" +CHECKSUM_SHA256="12ff2fa8b80a934b9dd88fa3416a4b88e94bc0e18a8df0dcebfc90614dd2f5c9" SOURCE_DIR="libQuotient-$portVersion" ARCHITECTURES="all !x86_gcc2" @@ -48,7 +48,7 @@ BUILD_REQUIRES=" devel:libolm$secondaryArchSuffix devel:libQt6Core$secondaryArchSuffix devel:libQt6Keychain$secondaryArchSuffix - devel:libssl$secondaryArchSuffix + devel:libssl$secondaryArchSuffix >= 3 " BUILD_PREREQUIRES=" cmd:cmake @@ -61,7 +61,7 @@ BUILD() cmake -Bbuild -S. $cmakeDirArgs \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_WITH_QT6=ON \ - -DQuotient_INSTALL_TESTS=OFF \ + -DBUILD_TESTING=OFF \ -DQuotient_ENABLE_E2EE=ON \ -DBUILD_SHARED_LIBS=ON make -Cbuild $jobArgs @@ -82,3 +82,9 @@ INSTALL() $developDir \ $libDir/cmake } + +TEST() +{ +# 88% tests passed, 1 tests failed out of 8 + ctest --test-dir build --output-on-failure +}