libquotient_qt6, revbump for required changes (NeoChat latest version) (#10256)

This commit is contained in:
Schrijvers Luc
2024-03-25 17:06:21 +01:00
committed by GitHub
parent 580dd6e198
commit 6d353cc5c3

View File

@@ -7,7 +7,7 @@ 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="3"
SOURCE_URI="https://github.com/quotient-im/libQuotient/archive/refs/tags/$portVersion.tar.gz"
CHECKSUM_SHA256="5e5539fe9616c9f63985b0aabfab1858f1626e3d71a14709eeedd85af0471c7c"
SOURCE_DIR="libQuotient-$portVersion"
@@ -24,7 +24,9 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libolm$secondaryArchSuffix
lib:libQt6Core$secondaryArchSuffix
lib:libQt6Gui$secondaryArchSuffix
lib:libQt6Keychain$secondaryArchSuffix
@@ -43,33 +45,31 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libolm$secondaryArchSuffix
devel:libQt6Core$secondaryArchSuffix
devel:libQt6Keychain$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:qdbuscpp2xml$secondaryArchSuffix >= 5
"
BUILD()
{
cmake -B build \
$cmakeDirArgs \
cmake -Bbuild -S. $cmakeDirArgs \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_WITH_QT6=ON \
-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON \
-DQuotient_INSTALL_TESTS=OFF \
-DQuotient_ENABLE_E2EE=OFF \
-DQuotient_ENABLE_E2EE=ON \
-DBUILD_SHARED_LIBS=ON
cmake --build build --target all $jobArgs
make -Cbuild $jobArgs
}
INSTALL()
{
cmake --install build
make -Cbuild install
# get rid of dataDir with Android.mk
rm -rf $dataDir